mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 17:18:52 +00:00
Remove some rules which double up on Prettier
This commit is contained in:
parent
25a59a3a1e
commit
7ca214707f
1 changed files with 0 additions and 29 deletions
29
.eslintrc
29
.eslintrc
|
|
@ -29,13 +29,8 @@
|
|||
"maxBOF": 0
|
||||
}
|
||||
],
|
||||
"arrow-body-style": ["error", "as-needed"],
|
||||
"arrow-spacing": "error",
|
||||
"block-scoped-var": "warn",
|
||||
"brace-style": ["warn", "1tbs"],
|
||||
"camelcase": "error",
|
||||
"comma-dangle": ["error", "never"],
|
||||
"comma-spacing": "error",
|
||||
"consistent-return": "warn",
|
||||
"constructor-super": "error",
|
||||
"dot-notation": [
|
||||
|
|
@ -44,13 +39,8 @@
|
|||
"allowKeywords": false
|
||||
}
|
||||
],
|
||||
"eol-last": "error",
|
||||
"eqeqeq": ["error", "smart"],
|
||||
"guard-for-in": "error",
|
||||
"jsx-quotes": ["error", "prefer-double"],
|
||||
"key-spacing": "warn",
|
||||
"keyword-spacing": "error",
|
||||
"linebreak-style": "error",
|
||||
"max-depth": ["warn", 4],
|
||||
"max-params": ["warn", 5],
|
||||
"new-cap": "error",
|
||||
|
|
@ -111,12 +101,10 @@
|
|||
"no-useless-rename": "error",
|
||||
"no-var": "error",
|
||||
"no-with": "error",
|
||||
"object-curly-spacing": ["error", "always"],
|
||||
"prefer-arrow-callback": "warn",
|
||||
"prefer-const": "error",
|
||||
"prefer-spread": "error",
|
||||
"prefer-template": "warn",
|
||||
"quotes": ["error", "double", "avoid-escape"],
|
||||
"radix": "error",
|
||||
"no-return-await": "error",
|
||||
"react/no-string-refs": "error",
|
||||
|
|
@ -129,23 +117,6 @@
|
|||
"react/require-render-return": "error",
|
||||
"react/self-closing-comp": "error",
|
||||
"react/no-unescaped-entities": "error",
|
||||
"semi": "error",
|
||||
"space-before-function-paren": [
|
||||
"error",
|
||||
{
|
||||
"anonymous": "never",
|
||||
"named": "never"
|
||||
}
|
||||
],
|
||||
"space-infix-ops": "error",
|
||||
"space-unary-ops": [
|
||||
"error",
|
||||
{
|
||||
"words": true,
|
||||
"nonwords": false
|
||||
}
|
||||
],
|
||||
"template-curly-spacing": "error",
|
||||
"use-isnan": "error",
|
||||
"valid-typeof": "error",
|
||||
"prettier/prettier": "error",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue