We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 005655a + a07b7b1 commit 5382315Copy full SHA for 5382315
1 file changed
.eslintrc.json
@@ -12,7 +12,6 @@
12
"eslint-plugin-rxjs",
13
"eslint-plugin-simple-import-sort",
14
"eslint-plugin-import-newlines",
15
- "eslint-plugin-jsonc",
16
"dspace-angular-ts",
17
"dspace-angular-html"
18
],
@@ -302,10 +301,13 @@
302
301
"*.json5"
303
304
"extends": [
305
- "plugin:jsonc/recommended-with-jsonc"
+ "plugin:jsonc/recommended-with-json5"
306
307
"rules": {
308
- "no-irregular-whitespace": "error",
+ // The ESLint core no-irregular-whitespace rule doesn't work well in JSON
+ // See: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-irregular-whitespace.html
309
+ "no-irregular-whitespace": "off",
310
+ "jsonc/no-irregular-whitespace": "error",
311
"no-trailing-spaces": "error",
312
"jsonc/comma-dangle": [
313
"error",
0 commit comments