lint: clean and update some rules
This commit is contained in:
parent
aae051684d
commit
34a71540d8
15 changed files with 49 additions and 61 deletions
|
|
@ -27,13 +27,6 @@
|
|||
"args": "none"
|
||||
}
|
||||
],
|
||||
"arrow-spacing": [
|
||||
"error",
|
||||
{
|
||||
"before": false,
|
||||
"after": false
|
||||
}
|
||||
],
|
||||
"space-before-function-paren": [
|
||||
"error",
|
||||
"never"
|
||||
|
|
@ -45,7 +38,8 @@
|
|||
"SwitchCase": 1,
|
||||
"ObjectExpression": 1,
|
||||
"ArrayExpression": 1,
|
||||
"MemberExpression": 1
|
||||
"MemberExpression": "off",
|
||||
"ignoredNodes": ["ConditionalExpression"]
|
||||
}
|
||||
],
|
||||
"linebreak-style": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue