fix
This commit is contained in:
parent
9c83f73be0
commit
8382c4d5cc
8
index.js
8
index.js
@ -144,7 +144,7 @@ module.exports = {
|
||||
afterColon: true,
|
||||
mode: 'minimum'
|
||||
},
|
||||
multiline: {
|
||||
multiLine: {
|
||||
beforeColon: false,
|
||||
afterColon: true,
|
||||
mode: 'strict'
|
||||
@ -164,7 +164,7 @@ module.exports = {
|
||||
'lines-between-class-members': [
|
||||
'error',
|
||||
'always',
|
||||
{ exceptAftersingleLine: true }
|
||||
{ exceptAfterSingleLine: true }
|
||||
],
|
||||
'max-depth': ['error', 4],
|
||||
'max-len': ['error', { code: 80, tabWidth: 4 }],
|
||||
@ -173,7 +173,7 @@ module.exports = {
|
||||
{
|
||||
max: 300,
|
||||
skipBlankLines: true,
|
||||
ignoreComments: true
|
||||
skipComments: true
|
||||
}
|
||||
],
|
||||
'max-lines-per-function': [
|
||||
@ -209,7 +209,7 @@ module.exports = {
|
||||
'no-unneeded-ternary': 'error',
|
||||
'no-whitespace-before-property': 'error',
|
||||
'nonblock-statement-body-position': ['error', 'below'],
|
||||
'object-curly-newline': ['error', 'multiline'],
|
||||
'object-curly-newline': ['error', { multiline: true }],
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
'object-property-newline': ['error', { allowAllPropertiesOnSameLine: true }],
|
||||
'one-var': ['error', 'never'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user