0ad/package.json
Ralph Sennhauser 0ce889ca6d
Use stylistic for deprecated eslint rules
During the eslint 8 cycle the formatting rules were split out [1],
deprecating the corresponding rules in core.

This replaces all rules that where moved to @stylistic/eslint-plugin [2]
and accounts for the difference in the indenting rule behaviour.

To allow the pre-commit import hack to continue to work with the
stylisitc plugin for a recent nodejs version to be used.

[1] https://eslint.org/blog/2023/10/deprecating-formatting-rules/
[2] https://eslint.style/packages/default

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-06-10 21:23:23 +02:00

15 lines
257 B
JSON

{
"type": "module",
"devDependencies": {
"@stylistic/eslint-plugin": "^4.4.0",
"eslint": "^9.27.0",
"eslint-plugin-brace-rules": "^0.1.6"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"lint": "eslint",
"lint:fix": "eslint --fix"
}
}