fix: allow void as statement in ts file (#142)
This commit is contained in:
@@ -147,6 +147,12 @@ module.exports = {
|
||||
'@typescript-eslint/no-var-requires': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['*.ts', '*.tsx', '*.mts', '*.cts'],
|
||||
rules: {
|
||||
'no-void': ['error', { allowAsStatement: true }],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['scripts/**/*.*', 'cli.*'],
|
||||
rules: {
|
||||
|
Reference in New Issue
Block a user