diff --git a/eslint.config.js b/eslint.config.js index e87bbd9..fbef6b3 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -5,12 +5,9 @@ import vuePrettierConfig from '@vue/eslint-config-prettier'; export default [ { ignores: [ - 'node_modules/**', - 'dist/**', - 'coverage/**', - 'public/**', - 'p2pix-smart-contracts/**', - 'vendor/**', + '**', + '!src/**', + '!tests/**', 'src/generated.ts', ], }, diff --git a/package.json b/package.json index e3d9b81..81da212 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "build-only": "vite build", "preview": "vite preview", "type-check": "vue-tsc --skipLibCheck --noEmit", - "lint": "eslint src tests --no-error-on-unmatched-pattern", - "lint:fix": "eslint src tests --fix --no-error-on-unmatched-pattern", + "lint": "eslint .", + "lint:fix": "eslint . --fix", "format": "prettier --write \"src/**/*.{ts,vue,json}\"", "format:check": "prettier --check \"src/**/*.{ts,vue,json}\"", "wagmi:gen": "wagmi generate"