mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 19:13:38 +08:00
DEV: eslint rules should be defined in eslint-config-discourse (#11812)
This commit is contained in:
parent
f2fcc3d21a
commit
436c8e9bcd
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user