mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
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>
15 lines
257 B
JSON
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"
|
|
}
|
|
}
|