Eslintrc obj shorthand

This commit is contained in:
mrfry 2020-12-19 10:45:12 +01:00
parent 4681ea3791
commit 56fcb77623

View file

@ -20,7 +20,7 @@ module.exports = {
eqeqeq: ['warn', 'smart'], eqeqeq: ['warn', 'smart'],
'@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': [ '@typescript-eslint/explicit-module-boundary-types': [
'error', 'warn',
{ allowArgumentsExplicitlyTypedAsAny: true }, { allowArgumentsExplicitlyTypedAsAny: true },
], ],
'no-unused-vars': 'warn', 'no-unused-vars': 'warn',
@ -30,6 +30,7 @@ module.exports = {
'warn', 'warn',
{ exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q', 'a', 'b', 'x'] }, { exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q', 'a', 'b', 'x'] },
], ],
'object-shorthand': ['warn', 'never'],
}, },
root: true root: true,
} }