eslint-config-angular-strict 22.0.15 → 22.0.17
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/README.md +1 -1
- package/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ Make sure your `tsconfig.json` is properly configured:
|
|
|
100
100
|
}
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
> **ℹ️ Note**: `target: "esnext"` auto-includes the latest standard
|
|
103
|
+
> **ℹ️ Note**: `target: "esnext"` auto-includes the latest standard lib, which several Unicorn rules require. Without it, some rules may suggest APIs that TypeScript doesn't recognize as built-in.
|
|
104
104
|
|
|
105
105
|
## Prettier
|
|
106
106
|
|
package/index.js
CHANGED
|
@@ -285,6 +285,8 @@ 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',
|
|
288
290
|
'unicorn/switch-case-braces': ['error', 'avoid'],
|
|
289
291
|
'unicorn/try-complexity': ['error', { max: 5 }],
|
|
290
292
|
},
|