Skip to content

Commit 80f6397

Browse files
authored
chore: change warning rules to error (#1625)
1 parent 6659a79 commit 80f6397

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
@@ -29,7 +29,7 @@ module.exports = {
2929
rules: {
3030
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
3131
'@typescript-eslint/no-require-imports': 'error',
32-
'@typescript-eslint/ban-ts-comment': 'warn',
32+
'@typescript-eslint/ban-ts-comment': 'error',
3333
'@typescript-eslint/ban-types': 'error',
3434
'@typescript-eslint/consistent-type-imports': [
3535
'error',
@@ -47,8 +47,12 @@ module.exports = {
4747
'no-negated-condition': 'error',
4848
eqeqeq: ['error', 'smart'],
4949
strict: 'error',
50-
'prefer-template': 'warn',
51-
'object-shorthand': ['warn', 'always', { avoidExplicitReturnArrows: true }],
50+
'prefer-template': 'error',
51+
'object-shorthand': [
52+
'error',
53+
'always',
54+
{ avoidExplicitReturnArrows: true },
55+
],
5256
'prefer-destructuring': [
5357
'error',
5458
{ VariableDeclarator: { array: true, object: true } },

0 commit comments

Comments
 (0)