mirror of
https://github.com/zen-browser/desktop
synced 2026-04-25 17:15:00 +02:00
chore: Implemented static linting for JS modules, p=#9673, c=common
This commit is contained in:
12
package.json
12
package.json
@@ -20,7 +20,8 @@
|
||||
"update-ff:rc": "python3 scripts/update_ff.py --rc",
|
||||
"update-ff:l10n": "python3 scripts/update_ff.py --just-l10n",
|
||||
"pretty": "prettier . --write && autopep8 -r --in-place scripts/ src/",
|
||||
"lint": "npx prettier . --check && autopep8 --diff scripts/ src/",
|
||||
"lint": "npx eslint src/ && prettier . --check && autopep8 --diff scripts/ src/",
|
||||
"lint:fix": "npx eslint src/ --fix && npm run pretty",
|
||||
"prepare": "husky",
|
||||
"reset-ff": "surfer reset",
|
||||
"surfer": "surfer",
|
||||
@@ -49,7 +50,16 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-typescript": "^7.27.0",
|
||||
"@eslint/js": "^9.32.0",
|
||||
"@microsoft/eslint-plugin-sdl": "^1.1.0",
|
||||
"eslint": "^9.32.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-html": "^8.1.3",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"eslint-plugin-json": "^4.0.1",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"formal-git": "^1.1.5",
|
||||
"globals": "^16.3.0",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^15.3.0",
|
||||
"prettier": "^3.4.2",
|
||||
|
||||
Reference in New Issue
Block a user