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