@2digits/eslint-config 5.8.1 → 5.8.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +5 -1
  2. package/package.json +7 -7
package/dist/index.d.mts CHANGED
@@ -180,7 +180,7 @@ interface RuleOptions {
180
180
  * Transforms the negation of a disjunction !(A || B) into the equivalent !A && !B according to De Morgan’s law
181
181
  * @see https://github.com/azat-io/eslint-plugin-de-morgan/blob/main/docs/no-negated-disjunction.md
182
182
  */
183
- 'boolean/no-negated-disjunction'?: Linter.RuleEntry<[]>;
183
+ 'boolean/no-negated-disjunction'?: Linter.RuleEntry<BooleanNoNegatedDisjunction>;
184
184
  /**
185
185
  * Enforce consistent brace style for blocks
186
186
  * @see https://eslint.org/docs/latest/rules/brace-style
@@ -10170,6 +10170,10 @@ type ArrowSpacing = [] | [{
10170
10170
  }];
10171
10171
  // ----- block-spacing -----
10172
10172
  type BlockSpacing = [] | [("always" | "never")];
10173
+ // ----- boolean/no-negated-disjunction -----
10174
+ type BooleanNoNegatedDisjunction = [] | [{
10175
+ enforceForMixedOperators?: boolean;
10176
+ }];
10173
10177
  // ----- brace-style -----
10174
10178
  type BraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [("1tbs" | "stroustrup" | "allman"), {
10175
10179
  allowSingleLine?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "5.8.1",
3
+ "version": "5.8.2",
4
4
  "description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
5
5
  "keywords": [
6
6
  "eslint-config"
@@ -29,8 +29,8 @@
29
29
  "@2digits/constants": "1.1.20",
30
30
  "@2digits/eslint-plugin": "4.0.31",
31
31
  "@eslint-community/eslint-plugin-eslint-comments": "4.8.1",
32
- "@eslint-react/eslint-plugin": "5.20.0",
33
- "@eslint-react/kit": "5.20.0",
32
+ "@eslint-react/eslint-plugin": "5.20.5",
33
+ "@eslint-react/kit": "5.20.5",
34
34
  "@eslint/compat": "2.1.1",
35
35
  "@eslint/css": "2.0.0",
36
36
  "@eslint/js": "10.0.1",
@@ -38,7 +38,7 @@
38
38
  "@graphql-eslint/eslint-plugin": "4.4.1",
39
39
  "@next/eslint-plugin-next": "16.3.5",
40
40
  "@stylistic/eslint-plugin": "5.10.0",
41
- "@tanstack/eslint-plugin-query": "5.103.1",
41
+ "@tanstack/eslint-plugin-query": "5.103.2",
42
42
  "@tanstack/eslint-plugin-router": "1.162.0",
43
43
  "@typescript-eslint/parser": "8.70.0",
44
44
  "@typescript-eslint/utils": "8.70.0",
@@ -49,7 +49,7 @@
49
49
  "eslint-flat-config-utils": "3.2.0",
50
50
  "eslint-merge-processors": "2.0.0",
51
51
  "eslint-plugin-antfu": "3.2.3",
52
- "eslint-plugin-de-morgan": "2.1.3",
52
+ "eslint-plugin-de-morgan": "2.2.0",
53
53
  "eslint-plugin-depend": "1.5.0",
54
54
  "eslint-plugin-drizzle": "0.2.3",
55
55
  "eslint-plugin-github-action": "0.4.0",
@@ -58,7 +58,7 @@
58
58
  "eslint-plugin-n": "18.3.0",
59
59
  "eslint-plugin-pnpm": "1.9.1",
60
60
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
61
- "eslint-plugin-regexp": "3.3.0",
61
+ "eslint-plugin-regexp": "3.3.1",
62
62
  "eslint-plugin-sonarjs": "4.2.1",
63
63
  "eslint-plugin-storybook": "10.6.0",
64
64
  "eslint-plugin-tailwindcss": "3.18.2",
@@ -66,7 +66,7 @@
66
66
  "eslint-plugin-turbo": "2.11.2",
67
67
  "eslint-plugin-unicorn": "76.0.0",
68
68
  "eslint-plugin-yml": "3.8.1",
69
- "eslint-plugin-zod": "4.14.1",
69
+ "eslint-plugin-zod": "4.14.2",
70
70
  "globals": "17.12.0",
71
71
  "graphql-config": "5.1.7",
72
72
  "jsonc-eslint-parser": "3.3.0",