@discourse/lint-configs 1.3.2 → 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.
Files changed (2) hide show
  1. package/eslintrc.cjs +4 -2
  2. package/package.json +6 -6
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": "error",
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",
@@ -207,6 +208,7 @@ module.exports = {
207
208
  ],
208
209
  "injected-services": [
209
210
  { groupByDecorator: "service", type: "property" },
211
+ { groupByDecorator: "optionalService", type: "property" },
210
212
  ],
211
213
  "injected-controllers": [
212
214
  { groupByDecorator: "controller", type: "property" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@discourse/lint-configs",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Shareable lint configs for Discourse core, plugins, and themes",
5
5
  "author": "Discourse",
6
6
  "license": "MIT",
@@ -32,13 +32,13 @@
32
32
  "test": "cd ../test && node test.js"
33
33
  },
34
34
  "dependencies": {
35
- "@babel/core": "^7.23.6",
35
+ "@babel/core": "^7.23.7",
36
36
  "@babel/eslint-parser": "^7.23.3",
37
- "@babel/plugin-proposal-decorators": "^7.23.6",
37
+ "@babel/plugin-proposal-decorators": "^7.23.7",
38
38
  "ember-template-lint": "^5.13.0",
39
- "eslint": "^8.55.0",
39
+ "eslint": "^8.56.0",
40
40
  "eslint-plugin-decorator-position": "^5.0.2",
41
- "eslint-plugin-ember": "^11.11.1",
41
+ "eslint-plugin-ember": "^11.12.0",
42
42
  "eslint-plugin-qunit": "^8.0.1",
43
43
  "eslint-plugin-simple-import-sort": "^10.0.0",
44
44
  "eslint-plugin-sort-class-members": "^1.19.0",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "peerDependencies": {
50
50
  "ember-template-lint": "^5.13.0",
51
- "eslint": "^8.55.0",
51
+ "eslint": "^8.56.0",
52
52
  "prettier": "^2.8.8"
53
53
  }
54
54
  }