Skip to content

Commit

Permalink
Merge pull request #1647 from mightyiam/no-var
Browse files Browse the repository at this point in the history
feat!: no-var: warn -> error
  • Loading branch information
mightyiam committed Jul 13, 2024
2 parents 7177038 + ad63c39 commit 19ea997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ const rules = {
'no-useless-escape': ['error'],
'no-useless-rename': ['error'],
'no-useless-return': ['error'],
'no-var': ['warn'],
'no-var': ['error'],
'no-void': ['error', { allowAsStatement: true }],
'no-with': ['error'],
'object-shorthand': ['warn', 'properties'],
Expand Down
2 changes: 1 addition & 1 deletion src/test/_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const expectedExportedValue: TSESLint.FlatConfig.Config = {
promise: promisePlugin,
},
rules: {
'no-var': ['warn'],
'no-var': ['error'],
'object-shorthand': ['warn', 'properties'],

'accessor-pairs': [
Expand Down

0 comments on commit 19ea997

Please sign in to comment.