Skip to content

Commit

Permalink
chore: separate prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
tianenpang committed Nov 5, 2022
1 parent 75049e3 commit d0d0f55
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"env": {
"browser": false,
"es2021": true,
Expand Down Expand Up @@ -32,19 +33,7 @@
"react-hooks/exhaustive-deps": "off",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/interactive-supports-focus": "warn",
"prettier/prettier": [
"warn",
{
"printWidth": 100,
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"bracketSpacing": false,
"arrowParens": "always",
"endOfLine": "auto"
}
],
"prettier/prettier": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
Expand Down Expand Up @@ -88,8 +77,8 @@
],
"padding-line-between-statements": [
"warn",
{ "blankLine": "always", "prev": "*", "next": "return" },
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
{"blankLine": "always", "prev": "*", "next": "return"},
{"blankLine": "always", "prev": ["const", "let", "var"], "next": "*"},
{
"blankLine": "any",
"prev": ["const", "let", "var"],
Expand Down

0 comments on commit d0d0f55

Please sign in to comment.