@open-turo/eslint-config 6.0.1 → 7.0.0

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.
@@ -12,7 +12,7 @@ repos:
12
12
  - id: prettier
13
13
  stages: [commit]
14
14
  - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
15
- rev: v9.18.0
15
+ rev: v9.19.0
16
16
  hooks:
17
17
  - id: commitlint
18
18
  stages: [commit-msg]
@@ -0,0 +1,27 @@
1
+ # Breaking changes in v7
2
+
3
+ Several rules from `eslint-plugin-sonarjs` have changed their name. If you were reconfiguring some of them in your eslint
4
+ config you might have to update them to their new name.
5
+
6
+ The affected rules are the following:
7
+
8
+ - `sonarjs/sonar-block-scoped-var`
9
+ - `sonarjs/sonar-jsx-no-leaked-render`
10
+ - `sonarjs/sonar-max-lines`
11
+ - `sonarjs/sonar-max-lines-per-function`
12
+ - `sonarjs/sonar-max-params`
13
+ - `sonarjs/sonar-no-control-regex`
14
+ - `sonarjs/sonar-no-dupe-keys`
15
+ - `sonarjs/sonar-no-empty-character-class`
16
+ - `sonarjs/sonar-no-fallthrough`
17
+ - `sonarjs/sonar-no-invalid-regexp`
18
+ - `sonarjs/sonar-no-magic-numbers`
19
+ - `sonarjs/sonar-no-misleading-character-class`
20
+ - `sonarjs/sonar-no-regex-spaces`
21
+ - `sonarjs/sonar-no-unused-class-component-methods`
22
+ - `sonarjs/sonar-no-unused-vars`
23
+ - `sonarjs/sonar-prefer-optional-chain`
24
+ - `sonarjs/sonar-prefer-read-only-props`
25
+
26
+ See more details in https://community.sonarsource.com/t/eslint-plugin-sonarjs-prepending-rules-with-sonar-is-redundant-and-inconsistant/127330
27
+ and https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/CHANGELOG.md#2024-12-02-version-300.
package/package.json CHANGED
@@ -10,14 +10,14 @@
10
10
  "eslint-plugin-node": "11.1.0",
11
11
  "eslint-plugin-prettier": "5.2.1",
12
12
  "eslint-plugin-simple-import-sort": "12.1.1",
13
- "eslint-plugin-sonarjs": "2.0.4",
13
+ "eslint-plugin-sonarjs": "3.0.1",
14
14
  "eslint-plugin-sort-destructure-keys": "2.0.0",
15
- "eslint-plugin-unicorn": "56.0.0"
15
+ "eslint-plugin-unicorn": "56.0.1"
16
16
  },
17
17
  "devDependencies": {
18
18
  "eslint": "8.57.1",
19
19
  "jest": "29.7.0",
20
- "prettier": "3.3.3"
20
+ "prettier": "3.4.2"
21
21
  },
22
22
  "engines": {
23
23
  "node": ">= 16"
@@ -39,5 +39,5 @@
39
39
  "lint": "echo noop",
40
40
  "test": "jest test.js"
41
41
  },
42
- "version": "6.0.1"
42
+ "version": "7.0.0"
43
43
  }