mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
add linter for checking license headers (and eslint --fix target to match, and fix missing license headers while we're here) (#62)
This commit is contained in:
parent
305ed41b88
commit
d55168f51f
8 changed files with 72 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
"test": "npm run test --workspaces",
|
||||
"start": "scripts/start.sh",
|
||||
"debug": "scripts/debug.sh",
|
||||
"fix": "eslint . --fix",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
"typecheck": "tsc --noEmit --jsx react",
|
||||
"format": "prettier --write .",
|
||||
|
|
@ -22,6 +23,7 @@
|
|||
"eslint": "^9.24.0",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-license-header": "^0.8.0",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"globals": "^16.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue