DEV: eslint rules should be defined in eslint-config-discourse (#11812)

This commit is contained in:
Joffrey JAFFEUX 2021-01-22 15:48:23 +01:00 committed by GitHub
parent f2fcc3d21a
commit 436c8e9bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,7 @@
{ {
"extends": "eslint-config-discourse", "extends": "eslint-config-discourse",
"rules": { "rules": {
"discourse-ember/global-ember": 2, "discourse-ember/global-ember": 2
"no-duplicate-imports": 2,
"sort-imports": 2
}, },
"globals": { "globals": {
"moduleFor": "off", "moduleFor": "off",
@ -14,6 +12,6 @@
"currentURL": "off", "currentURL": "off",
"invisible": "off", "invisible": "off",
"visible": "off", "visible": "off",
"count": "off", "count": "off"
} }
} }