Skip to content

Commit

Permalink
Merge pull request #140 from eslint-kit/fix/void-statement
Browse files Browse the repository at this point in the history
Fix void statement
  • Loading branch information
Evgeny Zakharov committed Apr 30, 2023
2 parents 502e5b9 + 188fce8 commit 966f886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presets/base/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const base = createPreset<Options>({
'no-useless-call': 'warn',
'no-useless-escape': 'warn',
'no-useless-return': 'warn',
'no-void': 'warn',
'no-void': ['warn', { allowAsStatement: true }],
'no-with': 'error',
'radix': 'error',
'yoda': 'warn',
Expand Down

0 comments on commit 966f886

Please sign in to comment.