Skip to content

Commit

Permalink
Fix eslint glob path
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed Oct 15, 2024
1 parent b742504 commit 44dce81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
19 changes: 4 additions & 15 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default [
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
},
{
ignores: ['build', 'src/convert.ts'],
},
];
export default tseslint.config(eslint.configs.recommended, ...tseslint.configs.recommended, {
ignores: ['build'],
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prebuild": "npm run lint",
"build": "npm run clean && tsc && npm run copy",
"dev": "tsx ./src/index.ts",
"lint": "eslint './**/*.ts'",
"lint": "eslint .",
"test": "vitest run ./tests --hook-timeout=60000 --test-timeout=60000 --no-file-parallelism",
"format": "prettier . --write",
"test:watch": "vitest ./tests",
Expand Down

0 comments on commit 44dce81

Please sign in to comment.