Skip to content

Commit

Permalink
chore: change warning rules to error (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Jul 6, 2024
1 parent 6659a79 commit 80f6397
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = {
rules: {
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/ban-ts-comment': 'error',
'@typescript-eslint/ban-types': 'error',
'@typescript-eslint/consistent-type-imports': [
'error',
Expand All @@ -47,8 +47,12 @@ module.exports = {
'no-negated-condition': 'error',
eqeqeq: ['error', 'smart'],
strict: 'error',
'prefer-template': 'warn',
'object-shorthand': ['warn', 'always', { avoidExplicitReturnArrows: true }],
'prefer-template': 'error',
'object-shorthand': [
'error',
'always',
{ avoidExplicitReturnArrows: true },
],
'prefer-destructuring': [
'error',
{ VariableDeclarator: { array: true, object: true } },
Expand Down

0 comments on commit 80f6397

Please sign in to comment.