Skip to content

Commit 74a4a71

Browse files
committed
add indent and trailing spaces
1 parent cd5099a commit 74a4a71

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ module.exports = defineConfig([
2222

2323
rules: {
2424
"global-require": "error",
25+
"indent": ["error", 2],
2526
"no-console": "error",
26-
"no-param-reassign": "error",
27+
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["acc"] }],
2728
"no-plusplus": "error",
2829
"no-underscore-dangle": "error",
2930
"no-unused-vars": "error",
@@ -39,6 +40,7 @@ module.exports = defineConfig([
3940
ignoreTemplateLiterals: true,
4041
},
4142
],
43+
"no-trailing-spaces": "error",
4244
},
4345
},
4446
globalIgnores(["**/public", "lib/About.js", "lib/FieldDB.js"]),

0 commit comments

Comments
 (0)