Skip to content

Commit cadf66a

Browse files
ESLint: remove options that match default ones (#2267)
1 parent fc327c5 commit cadf66a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.eslintrc.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ rules:
1212
# `eslint-plugin-flowtype` rule list based on `v4.4.x`
1313
# https://github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype
1414

15-
flowtype/array-style-complex-type: [error, verbose]
16-
flowtype/array-style-simple-type: [error, verbose]
15+
flowtype/array-style-complex-type: error
16+
flowtype/array-style-simple-type: error
1717
flowtype/define-flow-type: error
18-
flowtype/newline-after-flow-annotation: [error, always]
18+
flowtype/newline-after-flow-annotation: error
1919
flowtype/no-dupe-keys: error
2020
flowtype/no-existential-type: off # checked by Flow
2121
flowtype/no-flow-fix-me-comments: off
@@ -44,6 +44,7 @@ rules:
4444

4545
# Bellow rules are disabled because coflicts with Prettier, see:
4646
# https://github.com/prettier/eslint-config-prettier/blob/master/flowtype.js
47+
flowtype/arrow-parens: off
4748
flowtype/boolean-style: off
4849
flowtype/delimiter-dangle: off
4950
flowtype/generic-spacing: off
@@ -102,12 +103,12 @@ rules:
102103
# https://eslint.org/docs/rules/#best-practices
103104

104105
accessor-pairs: error
105-
array-callback-return: [error, { allowImplicit: true }]
106+
array-callback-return: error
106107
block-scoped-var: error
107108
class-methods-use-this: off
108109
complexity: off
109110
consistent-return: off
110-
curly: [error, all]
111+
curly: error
111112
default-case: off
112113
default-param-last: off # TODO
113114
dot-notation: off
@@ -135,7 +136,7 @@ rules:
135136
no-implied-eval: error
136137
no-invalid-this: off
137138
no-iterator: error
138-
no-labels: [error, { allowLoop: true }]
139+
no-labels: error
139140
no-lone-blocks: error
140141
no-loop-func: error
141142
no-magic-numbers: off
@@ -203,7 +204,7 @@ rules:
203204
global-require: error
204205
handle-callback-err: [error, error]
205206
no-buffer-constructor: error
206-
no-mixed-requires: [error, true]
207+
no-mixed-requires: error
207208
no-new-require: error
208209
no-path-concat: error
209210
no-process-env: off
@@ -214,7 +215,7 @@ rules:
214215
# Stylistic Issues
215216
# https://eslint.org/docs/rules/#stylistic-issues
216217

217-
camelcase: [error, { properties: always }]
218+
camelcase: error
218219
capitalized-comments: off # maybe
219220
consistent-this: off
220221
func-name-matching: off
@@ -257,14 +258,14 @@ rules:
257258
no-underscore-dangle: off
258259
no-unneeded-ternary: error
259260
one-var: [error, never]
260-
operator-assignment: [error, always]
261+
operator-assignment: error
261262
padding-line-between-statements: off
262263
prefer-exponentiation-operator: error
263264
prefer-object-spread: error
264-
quotes: [error, single, { avoidEscape: true, allowTemplateLiterals: false }]
265+
quotes: [error, single, { avoidEscape: true }]
265266
sort-keys: off
266267
sort-vars: off
267-
spaced-comment: [error, always]
268+
spaced-comment: error
268269

269270
# ECMAScript 6
270271
# https://eslint.org/docs/rules/#ecmascript-6
@@ -282,7 +283,7 @@ rules:
282283
no-useless-constructor: error
283284
no-useless-rename: error
284285
no-var: error
285-
object-shorthand: [error, always]
286+
object-shorthand: error
286287
prefer-arrow-callback: error
287288
prefer-const: error
288289
prefer-destructuring: off
@@ -331,7 +332,6 @@ rules:
331332
no-mixed-spaces-and-tabs: off
332333
no-multi-spaces: off
333334
no-multiple-empty-lines: off
334-
no-spaced-func: off
335335
no-trailing-spaces: off
336336
no-unexpected-multiline: off
337337
no-whitespace-before-property: off

0 commit comments

Comments
 (0)