@discourse/lint-configs 2.3.0 → 2.4.0

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/eslint.mjs CHANGED
@@ -284,15 +284,12 @@ export default [
284
284
  ],
285
285
  },
286
286
  ],
287
- // TODO: enable by default once this commit is available widely
288
- // https://github.com/discourse/discourse/commit/d606ac3d8e
289
- // "discourse/i18n-import-location": ["error"],
290
- // "discourse/i18n-t": ["error"],
287
+ "discourse/i18n-import-location": ["error"],
288
+ "discourse/i18n-t": ["error"],
291
289
  "discourse/service-inject-import": ["error"],
292
290
  "discourse/no-simple-queryselector": ["error"],
293
291
  "discourse/deprecated-lookups": ["error"],
294
- // TODO: enable by default once 98fa42f2 is widely available
295
- // "discourse/discourse-common-imports": ["error"],
292
+ "discourse/discourse-common-imports": ["error"],
296
293
  },
297
294
  },
298
295
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@discourse/lint-configs",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Shareable lint configs for Discourse core, plugins, and themes",
5
5
  "author": "Discourse",
6
6
  "license": "MIT",
@@ -29,25 +29,25 @@
29
29
  "test": "cd ../test && node test.js"
30
30
  },
31
31
  "dependencies": {
32
- "@babel/core": "^7.26.0",
33
- "@babel/eslint-parser": "^7.25.9",
32
+ "@babel/core": "^7.26.7",
33
+ "@babel/eslint-parser": "^7.26.5",
34
34
  "@babel/plugin-proposal-decorators": "^7.25.9",
35
- "@stylistic/eslint-plugin-js": "^2.11.0",
36
- "ember-template-lint": "^6.0.0",
37
- "eslint": "^9.15.0",
35
+ "@stylistic/eslint-plugin-js": "^3.0.1",
36
+ "ember-template-lint": "^6.1.0",
37
+ "eslint": "^9.19.0",
38
38
  "eslint-plugin-decorator-position": "^6.0.0",
39
39
  "eslint-plugin-ember": "^12.3.3",
40
40
  "eslint-plugin-qunit": "^8.1.2",
41
41
  "eslint-plugin-simple-import-sort": "^12.1.1",
42
42
  "eslint-plugin-sort-class-members": "^1.21.0",
43
- "globals": "^15.12.0",
43
+ "globals": "^15.14.0",
44
44
  "prettier": "^2.8.8",
45
45
  "prettier-plugin-ember-template-tag": "^0.3.2",
46
- "typescript": "^5.7.2"
46
+ "typescript": "^5.7.3"
47
47
  },
48
48
  "peerDependencies": {
49
- "ember-template-lint": "6.0.0",
50
- "eslint": "^9.15.0",
49
+ "ember-template-lint": "6.1.0",
50
+ "eslint": "9.19.0",
51
51
  "prettier": "2.8.8"
52
52
  }
53
53
  }
@@ -63,7 +63,7 @@ const ARGLESS_DEFAULT_BLUEPRINT = [
63
63
 
64
64
  export default class NoImplicitThis extends Rule {
65
65
  parseConfig(config) {
66
- if (config === false || config === undefined || !this.isStrictMode) {
66
+ if (config === false || config === undefined || this.isStrictMode) {
67
67
  return false;
68
68
  }
69
69