mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 21:34:23 +08:00
1c2358ba16
Only allow one import definition per file and add a new eslint rule to enforce it.
19 lines
365 B
Plaintext
19 lines
365 B
Plaintext
{
|
|
"extends": "eslint-config-discourse",
|
|
"rules": {
|
|
"discourse-ember/global-ember": 2,
|
|
"no-duplicate-imports": 2
|
|
},
|
|
"globals": {
|
|
"moduleFor": "off",
|
|
"moduleForComponent": "off",
|
|
"testStart": "off",
|
|
"testDone": "off",
|
|
"sinon": "off",
|
|
"currentURL": "off",
|
|
"invisible": "off",
|
|
"visible": "off",
|
|
"count": "off",
|
|
}
|
|
}
|