@discourse/lint-configs 1.4.1 → 1.4.2
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 -1
- package/package.json +3 -3
package/eslintrc.cjs
CHANGED
|
@@ -163,7 +163,6 @@ module.exports = {
|
|
|
163
163
|
"ember/route-path-style": "off",
|
|
164
164
|
"ember/routes-segments-snake-case": "off",
|
|
165
165
|
"ember/no-replace-test-comments": "error",
|
|
166
|
-
"ember/template-no-let-reference": "off", // we have valid cases of using let variables in templates
|
|
167
166
|
|
|
168
167
|
"qunit/no-assert-equal-boolean": "off",
|
|
169
168
|
"qunit/no-assert-equal": "off",
|
|
@@ -255,6 +254,9 @@ module.exports = {
|
|
|
255
254
|
files: ["**/*.gjs"],
|
|
256
255
|
parser: "ember-eslint-parser",
|
|
257
256
|
extends: ["plugin:ember/recommended-gjs"],
|
|
257
|
+
rules: {
|
|
258
|
+
"ember/template-no-let-reference": "off", // we have valid cases of using let variables in templates
|
|
259
|
+
},
|
|
258
260
|
},
|
|
259
261
|
],
|
|
260
262
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@discourse/lint-configs",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Shareable lint configs for Discourse core, plugins, and themes",
|
|
5
5
|
"author": "Discourse",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@babel/eslint-parser": "^7.25.8",
|
|
37
37
|
"@babel/plugin-proposal-decorators": "^7.25.7",
|
|
38
38
|
"ember-template-lint": "^6.0.0",
|
|
39
|
-
"eslint": "
|
|
39
|
+
"eslint": "8.57.1",
|
|
40
40
|
"eslint-plugin-decorator-position": "^5.0.2",
|
|
41
41
|
"eslint-plugin-ember": "^12.2.1",
|
|
42
42
|
"eslint-plugin-qunit": "^8.1.2",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"ember-template-lint": "6.0.0",
|
|
52
|
-
"eslint": "8.57.
|
|
52
|
+
"eslint": "8.57.1",
|
|
53
53
|
"prettier": "2.8.8"
|
|
54
54
|
}
|
|
55
55
|
}
|