packages/eslint-config/index.js in decidim-0.28.0 vs packages/eslint-config/index.js in decidim-0.28.1
- old
+ new
@@ -11,11 +11,12 @@
"jsx": true
},
"sourceType": "module"
},
"plugins": [
- "react"
+ "react",
+ "no-relative-import-paths"
],
"globals": {
"$": false,
"jQuery": false,
"React": false,
@@ -173,9 +174,13 @@
"no-plusplus": "error",
"no-process-env": "error",
"no-process-exit": "error",
"no-proto": "error",
"no-prototype-builtins": "error",
+ "no-relative-import-paths/no-relative-import-paths": [
+ "warn",
+ { "allowSameFolder": false, "rootDir": "decidim-core/app/packs/" }
+ ],
"no-restricted-globals": "error",
"no-restricted-imports": "error",
"no-restricted-modules": "error",
"no-restricted-properties": "error",
"no-restricted-syntax": "error",