@@ -12,10 +12,10 @@ rules:
12
12
# `eslint-plugin-flowtype` rule list based on `v4.4.x`
13
13
# https://github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype
14
14
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
17
17
flowtype/define-flow-type : error
18
- flowtype/newline-after-flow-annotation : [ error, always]
18
+ flowtype/newline-after-flow-annotation : error
19
19
flowtype/no-dupe-keys : error
20
20
flowtype/no-existential-type : off # checked by Flow
21
21
flowtype/no-flow-fix-me-comments : off
44
44
45
45
# Bellow rules are disabled because coflicts with Prettier, see:
46
46
# https://github.com/prettier/eslint-config-prettier/blob/master/flowtype.js
47
+ flowtype/arrow-parens : off
47
48
flowtype/boolean-style : off
48
49
flowtype/delimiter-dangle : off
49
50
flowtype/generic-spacing : off
@@ -102,12 +103,12 @@ rules:
102
103
# https://eslint.org/docs/rules/#best-practices
103
104
104
105
accessor-pairs : error
105
- array-callback-return : [ error, { allowImplicit: true }]
106
+ array-callback-return : error
106
107
block-scoped-var : error
107
108
class-methods-use-this : off
108
109
complexity : off
109
110
consistent-return : off
110
- curly : [ error, all]
111
+ curly : error
111
112
default-case : off
112
113
default-param-last : off # TODO
113
114
dot-notation : off
@@ -135,7 +136,7 @@ rules:
135
136
no-implied-eval : error
136
137
no-invalid-this : off
137
138
no-iterator : error
138
- no-labels : [ error, { allowLoop: true }]
139
+ no-labels : error
139
140
no-lone-blocks : error
140
141
no-loop-func : error
141
142
no-magic-numbers : off
@@ -203,7 +204,7 @@ rules:
203
204
global-require : error
204
205
handle-callback-err : [error, error]
205
206
no-buffer-constructor : error
206
- no-mixed-requires : [ error, true]
207
+ no-mixed-requires : error
207
208
no-new-require : error
208
209
no-path-concat : error
209
210
no-process-env : off
@@ -214,7 +215,7 @@ rules:
214
215
# Stylistic Issues
215
216
# https://eslint.org/docs/rules/#stylistic-issues
216
217
217
- camelcase : [ error, { properties: always }]
218
+ camelcase : error
218
219
capitalized-comments : off # maybe
219
220
consistent-this : off
220
221
func-name-matching : off
@@ -257,14 +258,14 @@ rules:
257
258
no-underscore-dangle : off
258
259
no-unneeded-ternary : error
259
260
one-var : [error, never]
260
- operator-assignment : [ error, always]
261
+ operator-assignment : error
261
262
padding-line-between-statements : off
262
263
prefer-exponentiation-operator : error
263
264
prefer-object-spread : error
264
- quotes : [error, single, { avoidEscape: true, allowTemplateLiterals: false }]
265
+ quotes : [error, single, { avoidEscape: true }]
265
266
sort-keys : off
266
267
sort-vars : off
267
- spaced-comment : [ error, always]
268
+ spaced-comment : error
268
269
269
270
# ECMAScript 6
270
271
# https://eslint.org/docs/rules/#ecmascript-6
@@ -282,7 +283,7 @@ rules:
282
283
no-useless-constructor : error
283
284
no-useless-rename : error
284
285
no-var : error
285
- object-shorthand : [ error, always]
286
+ object-shorthand : error
286
287
prefer-arrow-callback : error
287
288
prefer-const : error
288
289
prefer-destructuring : off
@@ -331,7 +332,6 @@ rules:
331
332
no-mixed-spaces-and-tabs : off
332
333
no-multi-spaces : off
333
334
no-multiple-empty-lines : off
334
- no-spaced-func : off
335
335
no-trailing-spaces : off
336
336
no-unexpected-multiline : off
337
337
no-whitespace-before-property : off
0 commit comments