Skip to content

Commit

Permalink
Chore: Adding mocha types to the eslint env
Browse files Browse the repository at this point in the history
  • Loading branch information
ogarciarevett committed Oct 5, 2024
1 parent 6d3ebbf commit 1c800f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
browser: true,
es6: true,
node: true,
mocha: true,
},
extends: [
'plugin:import/errors',
Expand All @@ -39,7 +40,10 @@ module.exports = {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'unused-imports/no-unused-imports-ts': 'warn',
'unused-imports/no-unused-vars-ts': ['error', { vars: 'all', varsIgnorePattern: '^_', args: 'after-used', argsIgnorePattern: '^_' }],
'unused-imports/no-unused-vars-ts': [
'error',
{ vars: 'all', varsIgnorePattern: '^_', args: 'after-used', argsIgnorePattern: '^_' },
],
'@typescript-eslint/no-use-before-define': ['error'],
'@typescript-eslint/no-unsafe-member-access': 0,
'@typescript-eslint/no-unsafe-assignment': 0,
Expand Down

0 comments on commit 1c800f3

Please sign in to comment.