chore(eslint): move src/tests scoping into config via negated ignores

This commit is contained in:
2026-05-04 23:51:05 -03:00
committed by hueso
parent 0cdc69d4da
commit 918e6fecde
2 changed files with 5 additions and 8 deletions

View File

@@ -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',
],
},

View File

@@ -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"