Add more rules
This commit is contained in:
parent
25cb0d14f7
commit
67678c0f3a
1 changed files with 3 additions and 0 deletions
|
@ -31,9 +31,12 @@ module.exports = {
|
||||||
'prefer-arrow-callback': 'error',
|
'prefer-arrow-callback': 'error',
|
||||||
'func-style': ['error', 'declaration'],
|
'func-style': ['error', 'declaration'],
|
||||||
'space-before-function-paren': ['error', 'never'],
|
'space-before-function-paren': ['error', 'never'],
|
||||||
|
'max-len': ['error', { 'code': 120 }],
|
||||||
|
'max-depth': ['error', 4],
|
||||||
|
|
||||||
// Import/export
|
// Import/export
|
||||||
'import/no-default-export': 'error',
|
'import/no-default-export': 'error',
|
||||||
|
'import/no-duplicates': 'error',
|
||||||
|
|
||||||
// Typescript overload
|
// Typescript overload
|
||||||
indent: 'off',
|
indent: 'off',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue