added more eslint rules
This commit is contained in:
parent
ffd76dbdce
commit
1de9492ef8
|
@ -121,6 +121,26 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"padding-line-between-statements": [
|
||||
"error",
|
||||
{ "blankLine": "always", "prev": "const", "next": "*" },
|
||||
{ "blankLine": "always", "prev": "let", "next": "*" },
|
||||
{ "blankLine": "always", "prev": "var", "next": "*" },
|
||||
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"] }
|
||||
],
|
||||
"@typescript-eslint/typedef": [
|
||||
"error",
|
||||
{
|
||||
"arrayDestructuring": true,
|
||||
"arrowParameter": true,
|
||||
"memberVariableDeclaration": true,
|
||||
"objectDestructuring": true,
|
||||
"parameter": true,
|
||||
"propertyDeclaration": true,
|
||||
"variableDeclaration": false,
|
||||
"variableDeclarationIgnoreFunction": true
|
||||
}
|
||||
],
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue