Skip to content

Commit 130acc0

Browse files
authored
chore: set all eslint rules to error (#244)
1 parent 7e1a80d commit 130acc0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.eslintrc.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = {
4646
rules: {
4747
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
4848
'@typescript-eslint/no-require-imports': 'error',
49-
'@typescript-eslint/ban-ts-comment': 'warn',
49+
'@typescript-eslint/ban-ts-comment': 'error',
5050
...typescriptBanTypesRules(),
5151
'@typescript-eslint/consistent-type-imports': [
5252
'error',
@@ -64,8 +64,12 @@ module.exports = {
6464
'no-negated-condition': 'error',
6565
eqeqeq: ['error', 'smart'],
6666
strict: 'error',
67-
'prefer-template': 'warn',
68-
'object-shorthand': ['warn', 'always', { avoidExplicitReturnArrows: true }],
67+
'prefer-template': 'error',
68+
'object-shorthand': [
69+
'error',
70+
'always',
71+
{ avoidExplicitReturnArrows: true },
72+
],
6973
'prefer-destructuring': [
7074
'error',
7175
{ VariableDeclarator: { array: true, object: true } },

0 commit comments

Comments
 (0)