File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
packages/eslint-config-airbnb-base/rules Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ module.exports = {
28
28
// require default case in switch statements
29
29
'default-case' : [ 'error' , { commentPattern : '^no default$' } ] ,
30
30
31
+ // https://eslint.org/docs/rules/default-param-last
32
+ // TODO: enable, semver-minor, when eslint v6.4 is required (which is a major)
33
+ 'default-param-last' : 'off' ,
34
+
31
35
// encourages use of dot notation whenever possible
32
36
'dot-notation' : [ 'error' , { allowKeywords : true } ] ,
33
37
@@ -313,6 +317,10 @@ module.exports = {
313
317
// https://eslint.org/docs/rules/prefer-named-capture-group
314
318
'prefer-named-capture-group' : 'off' ,
315
319
320
+ // https://eslint.org/docs/rules/prefer-regex-literals
321
+ // TODO; enable, semver-minor, once eslint v6.4 is required (which is a major)
322
+ 'prefer-regex-literals' : 'off' ,
323
+
316
324
// require use of the second argument for parseInt()
317
325
radix : 'error' ,
318
326
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ module.exports = {
73
73
// disallow overwriting functions written as function declarations
74
74
'no-func-assign' : 'error' ,
75
75
76
+ // https://eslint.org/docs/rules/no-import-assign
77
+ // TODO: enable, semver-minor, once eslint v6.4 is required (which is a major)
78
+ 'no-import-assign' : 'off' ,
79
+
76
80
// disallow function or variable declarations in nested blocks
77
81
'no-inner-declarations' : 'error' ,
78
82
Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ module.exports = {
76
76
// enforce newline at the end of file, with no multiple empty lines
77
77
'eol-last' : [ 'error' , 'always' ] ,
78
78
79
+ // https://eslint.org/docs/rules/function-call-argument-newline
80
+ // TODO: enable, semver-minor, once eslint v6.2 is required (which is a major)
81
+ 'function-call-argument-newline' : [ 'off' , 'consistent' ] ,
82
+
79
83
// enforce spacing between functions and their invocations
80
84
// https://eslint.org/docs/rules/func-call-spacing
81
85
'func-call-spacing' : [ 'error' , 'never' ] ,
You can’t perform that action at this time.
0 commit comments