diff --git a/eslint.config.mjs b/eslint.config.mjs index 26fd9c1..0f7dfa8 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -11,7 +11,7 @@ export default [ } }, { - files: ["tests/**/*.test.js"], + files: ["tests/*.test.js", "tests/**/*.test.js"], ...jest.configs['flat/recommended'], rules: { ...jest.configs['flat/recommended'].rules, diff --git a/package.json b/package.json index 51e78f9..ee3397e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "node esbuild.config.js", "dev": "npm run build && npm run start", - "lint": "eslint src/**/*.js tests/**/*.test.js", + "lint": "eslint --no-error-on-unmatched-pattern src/**/*.js src/*.js tests/**/*.test.js tests/**/*.js", "lint:fix": "npm run lint -- --fix", "start": "node dist/svr.js", "test": "jest"