chore: eslint校验忽略文件更改

This commit is contained in:
RubyLiu 2023-10-10 20:25:57 +08:00 committed by Craftsman
parent d9cfcec39d
commit 8532f38a4e
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"report": "cross-env REPORT=true npm run build", "report": "cross-env REPORT=true npm run build",
"preview": "npm run build && vite preview --host", "preview": "npm run build && vite preview --host",
"type:check": "vue-tsc --noEmit --skipLibCheck", "type:check": "vue-tsc --noEmit --skipLibCheck",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .eslintignore",
"lint:styles": "stylelint 'src/**/*.{vue,html,css,scss,less}' --fix", "lint:styles": "stylelint 'src/**/*.{vue,html,css,scss,less}' --fix",
"lint-staged": "npx lint-staged", "lint-staged": "npx lint-staged",
"prepare": "cd .. && husky install frontend/.husky", "prepare": "cd .. && husky install frontend/.husky",
@ -145,4 +145,4 @@
"rollup": "^2.79.1", "rollup": "^2.79.1",
"gifsicle": "5.2.0" "gifsicle": "5.2.0"
} }
} }