eslint-config-angular-strict 22.3.4 → 22.3.5

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 (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -297,6 +297,7 @@ export default [
297
297
  'unicorn/no-null': 'off',
298
298
  'unicorn/no-this-outside-of-class': 'off',
299
299
  'unicorn/prefer-await': 'off',
300
+ 'unicorn/prefer-combined-guards': ['error', { checkCompoundConditions: true }], // the base rule already merges simple consecutive guards, stay consistent
300
301
  'unicorn/prefer-continue': ['error', { maximumStatements: 2 }], // two coupled statements read better wrapped than behind an inverted guard
301
302
  'unicorn/prefer-early-return': ['error', { maximumStatements: 2 }], // same threshold as prefer-continue, so loops and functions follow one rule
302
303
  'unicorn/prefer-includes-over-repeated-comparisons': ['error', { minimumComparisons: 6 }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "22.3.4",
3
+ "version": "22.3.5",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -46,7 +46,7 @@
46
46
  "eslint-config-airbnb-extended": "3.2.0",
47
47
  "eslint-plugin-import-x": "4.17.1",
48
48
  "eslint-plugin-perfectionist": "5.11.1",
49
- "eslint-plugin-unicorn": "75.0.0"
49
+ "eslint-plugin-unicorn": "76.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "typescript": "6.0.3"