Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Dec 4, 2022
1 parent 8e6a4e2 commit 7da4322
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1641,6 +1641,10 @@ overrides:
'@typescript-eslint/no-useless-constructor': 0
'@typescript-eslint/no-empty-function': 0

# Allow testing callbacks
n/handle-callback-err: 0
promise/prefer-await-to-callbacks: 0

# `test-d` is dasherized, but rest must use underscores
filenames/match-regex:
- 2
Expand All @@ -1655,9 +1659,8 @@ overrides:
# TypeScript, which can be tested
unicorn/no-useless-undefined: 0

# Allow testing callbacks
promise/prefer-await-to-callbacks: 0
n/handle-callback-err: 0
# Often tested as an invalid input
unicorn/no-null: 0

# Files that are sibling to a `*.js` or `*.ts`
- files: ['**/*.{test.{js,cjs,mjs,ts,cts,mts},d.ts,test-d.ts}']
Expand Down

0 comments on commit 7da4322

Please sign in to comment.