eslint-config-angular-strict 22.0.14 → 22.0.15

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 (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +0 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -88,6 +88,7 @@ Make sure your `tsconfig.json` is properly configured:
88
88
  "noUncheckedIndexedAccess": true,
89
89
  "noUnusedLocals": true,
90
90
  "noUnusedParameters": true,
91
+ "target": "esnext",
91
92
  },
92
93
  "angularCompilerOptions": {
93
94
  // ...
@@ -99,6 +100,8 @@ Make sure your `tsconfig.json` is properly configured:
99
100
  }
100
101
  ```
101
102
 
103
+ > **ℹ️ Note**: `target: "esnext"` auto-includes the latest standard libs, which several Unicorn rules require. Without it, some rules may suggest APIs that TypeScript doesn't recognize as built-in.
104
+
102
105
  ## Prettier
103
106
 
104
107
  This config handles **TypeScript formatting via ESLint**. Prettier should only be used for **HTML templates**.
package/index.js CHANGED
@@ -285,8 +285,6 @@ export default [
285
285
  'unicorn/prefer-await': 'off',
286
286
  'unicorn/prefer-includes-over-repeated-comparisons': ['error', { minimumComparisons: 6 }],
287
287
  'unicorn/prefer-split-limit': 'off',
288
- 'unicorn/prefer-temporal': 'off',
289
- 'unicorn/prefer-top-level-await': 'off',
290
288
  'unicorn/switch-case-braces': ['error', 'avoid'],
291
289
  'unicorn/try-complexity': ['error', { max: 5 }],
292
290
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "22.0.14",
3
+ "version": "22.0.15",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",