eslint-config-beslogic 3.3.0 → 3.3.1
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/CHANGELOG.md +7 -0
- package/angular.js +4 -0
- package/javascript.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.3.1
|
|
4
|
+
|
|
5
|
+
(backport of 4.3.1)
|
|
6
|
+
|
|
7
|
+
- Disabled `@angular-eslint/no-host-metadata-property` as it is now the recommendation for signals. See <https://github.com/angular-eslint/angular-eslint/discussions/2303>
|
|
8
|
+
- Allowed `0n` as a magic value by default
|
|
9
|
+
|
|
3
10
|
## 3.3.0
|
|
4
11
|
|
|
5
12
|
(backport of 4.3.0)
|
package/angular.js
CHANGED
|
@@ -217,6 +217,10 @@ module.exports = {
|
|
|
217
217
|
"style": "camelCase"
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
|
+
// Deprecated in v18, removed in v19.
|
|
221
|
+
// TODO: Adopt inverse rule once it's been created. This is the recommendation for signals
|
|
222
|
+
// See https://github.com/angular-eslint/angular-eslint/discussions/2303
|
|
223
|
+
"@angular-eslint/no-host-metadata-property": "off",
|
|
220
224
|
"@angular-eslint/prefer-on-push-component-change-detection": "off",
|
|
221
225
|
// We need to disable the autofix because some of the "new" standalone components
|
|
222
226
|
// would still be declared in their module. This breaks Angular and requires manual changes.
|
package/javascript.js
CHANGED
|
@@ -577,7 +577,7 @@ module.exports = {
|
|
|
577
577
|
// Packages.
|
|
578
578
|
// Things that start with a letter (or digit or underscore), or `@` followed by a letter.
|
|
579
579
|
["^@?\\w"],
|
|
580
|
-
// Absolute imports and other imports such as Vue
|
|
580
|
+
// Absolute imports and other imports such as Vue or Next style `@/foo`.
|
|
581
581
|
// Anything not matched in another group.
|
|
582
582
|
["^"],
|
|
583
583
|
// Relative imports.
|
|
@@ -896,6 +896,8 @@ module.exports = {
|
|
|
896
896
|
// "detectObjects": true,
|
|
897
897
|
"enforceConst": true,
|
|
898
898
|
"ignore": [
|
|
899
|
+
// Used in Falsy type definition
|
|
900
|
+
"0n",
|
|
899
901
|
// Access first element
|
|
900
902
|
0,
|
|
901
903
|
// Off by one indexes & comparisons
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-beslogic",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "ESLint rules, plugins and configs used at Beslogic",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"// dependencies": "Run for ourselves when we install dependencies w/o running npm i afterward",
|