Fix eslint and lint the codebase
This commit is contained in:
parent
23a402f11a
commit
761f0b6563
6 changed files with 22 additions and 12 deletions
|
|
@ -29,7 +29,7 @@ export default [
|
|||
|
||||
// v14 Additions:
|
||||
_loc: `readonly`,
|
||||
_del: `reaonly`,
|
||||
_del: `readonly`,
|
||||
_replace: `readonly`,
|
||||
},
|
||||
},
|
||||
|
|
@ -72,7 +72,16 @@ export default [
|
|||
"@stylistic/space-infix-ops": `warn`,
|
||||
"@stylistic/eol-last": `warn`,
|
||||
"@stylistic/operator-linebreak": [`warn`, `before`],
|
||||
"@stylistic/indent": [`warn`, `tab`],
|
||||
"@stylistic/indent": [
|
||||
`warn`,
|
||||
`tab`,
|
||||
{
|
||||
SwitchCase: 1,
|
||||
ignoredNodes: [
|
||||
`.superClass CallExpression`,
|
||||
],
|
||||
},
|
||||
],
|
||||
"@stylistic/brace-style": [`off`],
|
||||
"@stylistic/quotes": [`warn`, `backtick`, { "avoidEscape": true }],
|
||||
"@stylistic/comma-dangle": [`warn`, { arrays: `always-multiline`, objects: `always-multiline`, imports: `always-multiline`, exports: `always-multiline`, functions: `always-multiline` }],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue