fix switch case indent
This commit is contained in:
parent
8900dd242b
commit
3d99ea4745
2
index.js
2
index.js
@ -148,7 +148,7 @@ module.exports = {
|
|||||||
'function-call-argument-newline': ['error', 'consistent'],
|
'function-call-argument-newline': ['error', 'consistent'],
|
||||||
'function-paren-newline': ['error', 'multiline-arguments'],
|
'function-paren-newline': ['error', 'multiline-arguments'],
|
||||||
'implicit-arrow-linebreak': ['error', 'beside'],
|
'implicit-arrow-linebreak': ['error', 'beside'],
|
||||||
indent: ['error', 2],
|
indent: ['error', 2, { SwitchCase: 1 }],
|
||||||
'jsx-quotes': 'error',
|
'jsx-quotes': 'error',
|
||||||
'key-spacing': [
|
'key-spacing': [
|
||||||
'error',
|
'error',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user