Apply eslint rules to js files

This commit is contained in:
Brandon Presley 2022-11-01 19:59:33 +13:00
parent 6a4d167e08
commit 83852b3216
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module.exports = {
plugins: ['@typescript-eslint'],
overrides: [
{
files: ['*.ts', '*.tsx'],
files: ['*.ts', '*.tsx', '*.js'],
rules: {
'@typescript-eslint/no-shadow': ['error'],
'no-shadow': 'off',