Skip to content

Commit

Permalink
prettier tailwind plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Girish21 committed Jun 11, 2022
1 parent 75469e3 commit d02665e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

22 changes: 21 additions & 1 deletion package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"devDependencies": {
"prettier": "latest",
"prettier-plugin-tailwindcss": "^0.1.11",
"turbo": "latest"
},
"engines": {
Expand Down
9 changes: 9 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
semi: false,
singleQuote: true,
jsxSingleQuote: true,
arrowParens: 'avoid',
trailingComma: 'all',
plugins: [require('prettier-plugin-tailwindcss')],
tailwindConfig: './packages/remix-app/tailwind.config.js',
}

0 comments on commit d02665e

Please sign in to comment.