@2digits/eslint-config 2.15.0 → 2.15.1

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/dist/index.d.cts CHANGED
@@ -4273,6 +4273,7 @@ Backward pagination arguments
4273
4273
  /**
4274
4274
  * Disabling Certificate Transparency monitoring is security-sensitive
4275
4275
  * @see https://sonarsource.github.io/rspec/#/rspec/S5742/javascript
4276
+ * @deprecated
4276
4277
  */
4277
4278
  'sonar/certificate-transparency'?: Linter.RuleEntry<SonarCertificateTransparency>
4278
4279
  /**
@@ -10356,7 +10357,7 @@ type SonarClassName = []|[{
10356
10357
  format?: string
10357
10358
  }]
10358
10359
  // ----- sonar/cognitive-complexity -----
10359
- type SonarCognitiveComplexity = []|[number]|[number, ("sonar-runtime" | "metric")]
10360
+ type SonarCognitiveComplexity = []|[(number | string)]|[(number | string), string]
10360
10361
  // ----- sonar/comment-regex -----
10361
10362
  type SonarCommentRegex = []|[{
10362
10363
  regularExpression?: string
package/dist/index.d.ts CHANGED
@@ -4273,6 +4273,7 @@ Backward pagination arguments
4273
4273
  /**
4274
4274
  * Disabling Certificate Transparency monitoring is security-sensitive
4275
4275
  * @see https://sonarsource.github.io/rspec/#/rspec/S5742/javascript
4276
+ * @deprecated
4276
4277
  */
4277
4278
  'sonar/certificate-transparency'?: Linter.RuleEntry<SonarCertificateTransparency>
4278
4279
  /**
@@ -10356,7 +10357,7 @@ type SonarClassName = []|[{
10356
10357
  format?: string
10357
10358
  }]
10358
10359
  // ----- sonar/cognitive-complexity -----
10359
- type SonarCognitiveComplexity = []|[number]|[number, ("sonar-runtime" | "metric")]
10360
+ type SonarCognitiveComplexity = []|[(number | string)]|[(number | string), string]
10360
10361
  // ----- sonar/comment-regex -----
10361
10362
  type SonarCommentRegex = []|[{
10362
10363
  regularExpression?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "2.15.0",
3
+ "version": "2.15.1",
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
  "homepage": "https://2d-configs.vercel.app/",
6
6
  "type": "module",
@@ -41,7 +41,7 @@
41
41
  "eslint-config-prettier": "10.0.1",
42
42
  "eslint-flat-config-utils": "2.0.1",
43
43
  "eslint-plugin-antfu": "3.0.0",
44
- "eslint-plugin-de-morgan": "1.0.0",
44
+ "eslint-plugin-de-morgan": "1.0.1",
45
45
  "eslint-plugin-drizzle": "0.2.3",
46
46
  "eslint-plugin-jsdoc": "50.6.3",
47
47
  "eslint-plugin-jsonc": "2.19.1",
@@ -50,7 +50,7 @@
50
50
  "eslint-plugin-react-compiler": "19.0.0-beta-e552027-20250112",
51
51
  "eslint-plugin-react-hooks": "5.1.0",
52
52
  "eslint-plugin-regexp": "2.7.0",
53
- "eslint-plugin-sonarjs": "3.0.1",
53
+ "eslint-plugin-sonarjs": "3.0.2",
54
54
  "eslint-plugin-storybook": "0.11.2",
55
55
  "eslint-plugin-tailwindcss": "3.18.0",
56
56
  "eslint-plugin-turbo": "2.4.2",
@@ -67,7 +67,7 @@
67
67
  "devDependencies": {
68
68
  "@eslint/config-inspector": "1.0.0",
69
69
  "@types/eslint__js": "8.42.3",
70
- "@types/node": "22.13.1",
70
+ "@types/node": "22.13.4",
71
71
  "@typescript-eslint/utils": "8.24.0",
72
72
  "eslint": "9.20.1",
73
73
  "eslint-typegen": "1.0.0",