Skip to content

Commit

Permalink
feat(sticky-prettier): include prettier-plugin-tailwindcss (#11)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it:

Include `prettier-plugin-tailwindcss` to prettier as a standardized adoption as it's widely required for most projects, and it won't cause issues with projects that don't require it.
  • Loading branch information
fuxingloh committed Sep 1, 2022
1 parent d8efacf commit fcda0f1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/sticky-prettier/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ module.exports = {
printWidth: 120,
trailingComma: 'all',
singleQuote: true,
plugins: [require('prettier-plugin-tailwindcss')],
};
3 changes: 2 additions & 1 deletion packages/sticky-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"dependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1"
"prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.13"
}
}
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fcda0f1

Please sign in to comment.