0ad/package.json
Ralph Sennhauser 02e15da51b
Add eslint pre-commit hook
This replaces the old arclint eslint setup 1:1 rule wise, only porting
the configuration to a format recent eslint can read.

Further remove the arclint setup as it is no longer of use.

Thanks to Stan for reviewing all needed fixes to Javascript code to
allow for adding this without compromises.

Fixes: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-05-30 17:30:25 +02:00

11 lines
178 B
JSON

{
"type": "module",
"devDependencies": {
"eslint": "^9.27.0",
"eslint-plugin-brace-rules": "^0.1.6"
},
"scripts": {
"lint": "eslint",
"lint:fix": "eslint --fix"
}
}