mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-31 03:01:47 +08:00
a bit of lint-relaxing (#44)
This commit is contained in:
committed by
Dan Abramov
parent
c11b5c2659
commit
ff73f16b47
@@ -136,7 +136,7 @@ module.exports = {
|
||||
'no-native-reassign': ERROR,
|
||||
'no-negated-in-lhs': ERROR,
|
||||
'no-nested-ternary': WARNING,
|
||||
'no-new': ERROR,
|
||||
'no-new': WARNING,
|
||||
'no-new-func': ERROR,
|
||||
'no-new-object': ERROR,
|
||||
'no-new-symbol': ERROR,
|
||||
@@ -171,7 +171,7 @@ module.exports = {
|
||||
'no-unsafe-finally': WARNING,
|
||||
'no-unused-expressions': ERROR,
|
||||
'no-unused-labels': ERROR,
|
||||
'no-unused-vars': [ERROR, { vars: 'local', args: 'after-used' }],
|
||||
'no-unused-vars': [ERROR, { vars: 'local', args: 'none' }],
|
||||
'no-use-before-define': [ERROR, 'nofunc'],
|
||||
'no-useless-computed-key': ERROR,
|
||||
'no-useless-concat': ERROR,
|
||||
|
||||
Reference in New Issue
Block a user