chore(eslint): move src/tests scoping into config via negated ignores
This commit is contained in:
@@ -5,12 +5,9 @@ import vuePrettierConfig from '@vue/eslint-config-prettier';
|
|||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
ignores: [
|
ignores: [
|
||||||
'node_modules/**',
|
'**',
|
||||||
'dist/**',
|
'!src/**',
|
||||||
'coverage/**',
|
'!tests/**',
|
||||||
'public/**',
|
|
||||||
'p2pix-smart-contracts/**',
|
|
||||||
'vendor/**',
|
|
||||||
'src/generated.ts',
|
'src/generated.ts',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"type-check": "vue-tsc --skipLibCheck --noEmit",
|
"type-check": "vue-tsc --skipLibCheck --noEmit",
|
||||||
"lint": "eslint src tests --no-error-on-unmatched-pattern",
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint src tests --fix --no-error-on-unmatched-pattern",
|
"lint:fix": "eslint . --fix",
|
||||||
"format": "prettier --write \"src/**/*.{ts,vue,json}\"",
|
"format": "prettier --write \"src/**/*.{ts,vue,json}\"",
|
||||||
"format:check": "prettier --check \"src/**/*.{ts,vue,json}\"",
|
"format:check": "prettier --check \"src/**/*.{ts,vue,json}\"",
|
||||||
"wagmi:gen": "wagmi generate"
|
"wagmi:gen": "wagmi generate"
|
||||||
|
|||||||
Reference in New Issue
Block a user