mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-08-28 05:25:25 +00:00
* feat: configure eslint with unused import removal Add ESLint v9 (flat config) for code quality: - eslint-plugin-unused-imports for auto-removing dead imports - @typescript-eslint for TypeScript-aware linting - eslint-plugin-react-hooks for React hooks rules - eslint-config-prettier to avoid formatting conflicts - lint-staged runs eslint --fix before prettier on .ts/.tsx - CI lint job added to ci-quality.yml * refactor: remove unused imports via eslint --fix Auto-fixed by eslint-plugin-unused-imports. No logic changes. * chore: add eslint fix commit to .git-blame-ignore-revs
30 lines
790 B
JSON
30 lines
790 B
JSON
{
|
|
"name": "gitnexus-monorepo",
|
|
"private": true,
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint --fix ."
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^8.57.2",
|
|
"@typescript-eslint/parser": "^8.57.2",
|
|
"eslint": "^9.39.4",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^15.5.0",
|
|
"prettier": "^3.8.0",
|
|
"prettier-plugin-tailwindcss": "^0.7.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{js,jsx,mjs,json,css,yml,yaml}": "prettier --write"
|
|
}
|
|
}
|