mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Eslintrc obj shorthand
This commit is contained in:
parent
4681ea3791
commit
56fcb77623
1 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
eqeqeq: ['warn', 'smart'],
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/explicit-module-boundary-types': [
|
||||
'error',
|
||||
'warn',
|
||||
{ allowArgumentsExplicitlyTypedAsAny: true },
|
||||
],
|
||||
'no-unused-vars': 'warn',
|
||||
|
@ -30,6 +30,7 @@ module.exports = {
|
|||
'warn',
|
||||
{ exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q', 'a', 'b', 'x'] },
|
||||
],
|
||||
'object-shorthand': ['warn', 'never'],
|
||||
},
|
||||
root: true
|
||||
root: true,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue