Skip to content

Commit

Permalink
fix: allow void as statement in ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
byyuurin committed Feb 28, 2023
1 parent 5ab647f commit 6876b06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/basic/index.js
Expand Up @@ -214,6 +214,12 @@ module.exports = {
'@typescript-eslint/no-var-requires': 'off',
},
},
{
files: ['*.ts', '*.tsx', '*.mts', '*.cts'],
rules: {
'no-void': ['error', { allowAsStatement: true }],
},
},
{
files: ['scripts/**/*.*', 'cli.*'],
rules: {
Expand Down

0 comments on commit 6876b06

Please sign in to comment.