@open-turo/eslint-config 7.0.0 → 8.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.
@@ -0,0 +1,10 @@
1
+ # Breaking changes in v8
2
+
3
+ We are replacing `eslint-plugin-node` with `eslint-plugin-n`. See https://github.com/eslint-community/eslint-plugin-n
4
+
5
+ If you were reconfiguring some of the node rules in your eslint config you will have to update them:
6
+
7
+ ```diff
8
+ - "node/no-missing-import": "off",
9
+ + "n/no-missing-import": "off",
10
+ ```
package/index.js CHANGED
@@ -6,7 +6,7 @@ module.exports = {
6
6
  "plugin:import/warnings",
7
7
  "plugin:jest/recommended",
8
8
  "plugin:json/recommended-legacy",
9
- "plugin:node/recommended",
9
+ "plugin:n/recommended",
10
10
  "plugin:sonarjs/recommended-legacy",
11
11
  "plugin:unicorn/recommended",
12
12
  "prettier",
@@ -22,7 +22,7 @@ module.exports = {
22
22
  "import",
23
23
  "jest",
24
24
  "json",
25
- "node",
25
+ "n",
26
26
  "prettier",
27
27
  "simple-import-sort",
28
28
  "sonarjs",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "eslint-plugin-import": "2.31.0",
8
8
  "eslint-plugin-jest": "28.9.0",
9
9
  "eslint-plugin-json": "4.0.1",
10
- "eslint-plugin-node": "11.1.0",
10
+ "eslint-plugin-n": "14.0.0",
11
11
  "eslint-plugin-prettier": "5.2.1",
12
12
  "eslint-plugin-simple-import-sort": "12.1.1",
13
13
  "eslint-plugin-sonarjs": "3.0.1",
@@ -39,5 +39,5 @@
39
39
  "lint": "echo noop",
40
40
  "test": "jest test.js"
41
41
  },
42
- "version": "7.0.0"
42
+ "version": "8.0.0"
43
43
  }