chore: 🔧 linting config

This commit is contained in:
ThatOneCalculator 2023-08-11 20:24:56 -07:00
parent c0dbf1d8da
commit aa03d38cc0
No known key found for this signature in database
GPG key ID: 8703CACD01000000
3 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View file

@ -75,3 +75,6 @@ yarn*
# Cargo cache for Docker
/.cargo-cache
/.cargo-target
# ESLint cache
.eslintcache

View file

@ -10,6 +10,7 @@
"unused-imports",
"eslint-plugin-unused-imports"
],
"ignorePatterns": ["**/*.json5"],
"rules": {
"file-progress/activate": 1,
"no-unused-vars": "off",

View file

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