chore: update ESLint and Stylelint configurations

Refine ESLint and Stylelint commands for better specificity.
This commit is contained in:
Jérémy Munsch 2026-07-23 15:59:51 +02:00
parent 0e0854ff3f
commit d489fa29f8
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4

View file

@ -7,10 +7,10 @@
"prod": "vite build --mode production", "prod": "vite build --mode production",
"dev": "NODE_ENV=development vite build -d --mode development", "dev": "NODE_ENV=development vite build -d --mode development",
"watch": "NODE_ENV=development vite build --mode development --watch", "watch": "NODE_ENV=development vite build --mode development --watch",
"eslint": "eslint --max-warnings 0 ./resources", "eslint": "eslint --max-warnings 0 ./resources/ts ./resources/theme/mounted/ts",
"eslint-fix": "eslint --fix --max-warnings 0 ./resources", "eslint-fix": "eslint --fix --max-warnings 0 ./resources/ts ./resources/theme/mounted/ts",
"stylelint": "stylelint --config './.stylelintrc.json' --max-warnings 0 '**/resources/**/*.scss'", "stylelint": "stylelint --config './.stylelintrc.json' --max-warnings 0 'resources/sass/**/*.scss' 'resources/theme/mounted/**/*.scss'",
"stylelint-fix": "stylelint --config './.stylelintrc.json' --fix --max-warnings 0 '**/resources/**/*.scss'" "stylelint-fix": "stylelint --config './.stylelintrc.json' --fix --max-warnings 0 'resources/sass/**/*.scss' 'resources/theme/mounted/**/*.scss'"
}, },
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-svg-core": "^7.3.1", "@fortawesome/fontawesome-svg-core": "^7.3.1",