We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f95596b + 9896eab commit 6a49cdbCopy full SHA for 6a49cdb
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
],
@@ -303,10 +302,13 @@
303
302
"*.json5"
304
305
"extends": [
306
- "plugin:jsonc/recommended-with-jsonc"
+ "plugin:jsonc/recommended-with-json5"
307
308
"rules": {
309
- "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
310
+ "no-irregular-whitespace": "off",
311
+ "jsonc/no-irregular-whitespace": "error",
312
"no-trailing-spaces": "error",
313
"jsonc/comma-dangle": [
314
"error",
0 commit comments