Skip to content

Commit

Permalink
style: move prettier rules to root level
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermerodz committed Feb 22, 2024
1 parent f52614d commit 4b9f8f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
"lint": "turbo run lint",
"format": "prettier --write ."
},
"prettier": {
"tabWidth": 2,
"printWidth": 80,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"endOfLine": "lf"
},
"trustedDependencies": [
"npm-run-all"
],
Expand Down
10 changes: 0 additions & 10 deletions packages/input-otp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@
"lint:tsc": "tsc --project tsconfig.json --noEmit",
"format": "prettier --write ."
},
"prettier": {
"tabWidth": 2,
"printWidth": 80,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"endOfLine": "lf"
},
"eslintConfig": {
"root": true,
"reportUnusedDisableDirectives": true,
Expand Down

0 comments on commit 4b9f8f7

Please sign in to comment.