@discourse/lint-configs 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/eslintrc.cjs +3 -2
- package/package.json +1 -1
package/eslintrc.cjs
CHANGED
|
@@ -136,7 +136,7 @@ module.exports = {
|
|
|
136
136
|
"ember/require-return-from-computed": "off",
|
|
137
137
|
"ember/avoid-using-needs-in-controllers": "error",
|
|
138
138
|
"ember/new-module-imports": "error",
|
|
139
|
-
"ember/no-deprecated-router-transition-methods": "
|
|
139
|
+
"ember/no-deprecated-router-transition-methods": "off", // this rule is broken
|
|
140
140
|
"ember/no-function-prototype-extensions": "error",
|
|
141
141
|
"ember/no-string-prototype-extensions": "error",
|
|
142
142
|
"ember/avoid-leaking-state-in-ember-objects": "off",
|
|
@@ -144,7 +144,7 @@ module.exports = {
|
|
|
144
144
|
"ember/no-observers": "off",
|
|
145
145
|
"ember/no-mixins": "off",
|
|
146
146
|
"ember/no-new-mixins": "off",
|
|
147
|
-
"ember/no-implicit-injections": "off",
|
|
147
|
+
"ember/no-implicit-injections": "off", // this rule is broken
|
|
148
148
|
"ember/no-array-prototype-extensions": "off",
|
|
149
149
|
"ember/no-try-invoke": "error",
|
|
150
150
|
"ember/require-super-in-lifecycle-hooks": "error",
|
|
@@ -163,6 +163,7 @@ module.exports = {
|
|
|
163
163
|
"ember/no-shadow-route-definition": "off",
|
|
164
164
|
"ember/no-unnecessary-index-route": "off",
|
|
165
165
|
"ember/no-unnecessary-route-path-option": "error",
|
|
166
|
+
"ember/no-unnecessary-service-injection-argument": "error",
|
|
166
167
|
"ember/route-path-style": "off",
|
|
167
168
|
"ember/routes-segments-snake-case": "off",
|
|
168
169
|
"ember/no-pause-test": "error",
|