eslint-config-beslogic 3.3.0 → 3.3.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/.dprint.jsonc CHANGED
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MIT
2
- // Copyright 2024 Beslogic Inc.
2
+ // Copyright 2025 Beslogic Inc.
3
3
 
4
4
  {
5
5
  // https://dprint.dev/config/#extending-a-different-configuration-file
package/.eslintrc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MIT
2
- // Copyright 2024 Beslogic Inc.
2
+ // Copyright 2025 Beslogic Inc.
3
3
 
4
4
  /** @type {import("eslint").Linter.Config} */
5
5
  module.exports = {
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.3.2
4
+
5
+ Fixed `eslint-plugin-unicorn` semver range
6
+
7
+ ## 3.3.1
8
+
9
+ (backport of 4.3.1)
10
+
11
+ - 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>
12
+ - Allowed `0n` as a magic value by default
13
+
3
14
  ## 3.3.0
4
15
 
5
16
  (backport of 4.3.0)
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright 2024 Beslogic Inc.
3
+ Copyright 2025 Beslogic Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
package/angular.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MIT
2
- // Copyright 2024 Beslogic Inc.
2
+ // Copyright 2025 Beslogic Inc.
3
3
 
4
4
  const { getModuleVersion, jestNoRestrictedSyntax, jestFilePatterns } = require("./lib/utils")
5
5
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MIT
2
- // Copyright 2024 Beslogic Inc.
2
+ // Copyright 2025 Beslogic Inc.
3
3
 
4
4
  const restrictedGlobals = require("confusing-browser-globals")
5
5
  const {
@@ -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-style `@/foo`.
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.0",
3
+ "version": "3.3.2",
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",
@@ -64,7 +64,7 @@
64
64
  "eslint-plugin-simple-import-sort": ">=12.0",
65
65
  "eslint-plugin-sonarjs": "2.0.4",
66
66
  "eslint-plugin-testing-library": "^6.0",
67
- "eslint-plugin-unicorn": ">=49.0 && <57"
67
+ "eslint-plugin-unicorn": ">=49.0 <57"
68
68
  },
69
69
  "optionalDependencies": {
70
70
  "@angular-eslint/eslint-plugin": ">=16.2",
package/tsconfig.4.3.json CHANGED
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MIT
2
- // Copyright 2024 Beslogic Inc.
2
+ // Copyright 2025 Beslogic Inc.
3
3
 
4
4
  {
5
5
  "compilerOptions": {
package/tsconfig.5.0.json CHANGED
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MIT
2
- // Copyright 2024 Beslogic Inc.
2
+ // Copyright 2025 Beslogic Inc.
3
3
 
4
4
  {
5
5
  "extends": "./tsconfig.4.3.json",