chore: 🔧 linting config
This commit is contained in:
parent
c0dbf1d8da
commit
aa03d38cc0
3 changed files with 5 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -75,3 +75,6 @@ yarn*
|
|||
# Cargo cache for Docker
|
||||
/.cargo-cache
|
||||
/.cargo-target
|
||||
|
||||
# ESLint cache
|
||||
.eslintcache
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"unused-imports",
|
||||
"eslint-plugin-unused-imports"
|
||||
],
|
||||
"ignorePatterns": ["**/*.json5"],
|
||||
"rules": {
|
||||
"file-progress/activate": 1,
|
||||
"no-unused-vars": "off",
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"build": "pnpm vite build",
|
||||
"build:debug": "pnpm run build",
|
||||
"lint": "pnpm rome check **/*.ts --apply && pnpm run lint:vue",
|
||||
"lint:vue": "pnpm eslint --fix '**/*' --cache",
|
||||
"lint:vue": "pnpm eslint --fix '**/*' --cache && pnpm run format",
|
||||
"format": "pnpm rome format * --write && pnpm prettier --write '**/*.{scss,vue}' --cache --cache-strategy metadata"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Reference in a new issue