@open-turo/eslint-config 4.0.1 → 5.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.10.0
15
+ rev: v9.11.0
16
16
  hooks:
17
17
  - id: commitlint
18
18
  stages: [commit-msg]
@@ -0,0 +1,8 @@
1
+ # Breaking changes in v5
2
+
3
+ ESLint plugins are now dependencies
4
+
5
+ ## Upgrade instructions
6
+
7
+ You no longer need to provide peer dependencies for the plugins, so you can review your ESLint configuration
8
+ and remove unnecessary dependencies.
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "author": "Turo engineering",
3
3
  "description": "Eslint configuration for Turo",
4
- "devDependencies": {
5
- "@commitlint/cli": "18.4.3",
6
- "@open-turo/commitlint-config-conventional": "1.1.0",
7
- "eslint": "8.56.0",
4
+ "dependencies": {
8
5
  "eslint-config-airbnb-base": "15.0.0",
9
6
  "eslint-config-prettier": "9.1.0",
10
7
  "eslint-plugin-import": "2.29.1",
11
- "eslint-plugin-jest": "27.6.0",
8
+ "eslint-plugin-jest": "27.6.3",
12
9
  "eslint-plugin-json": "3.1.0",
13
10
  "eslint-plugin-node": "11.1.0",
14
- "eslint-plugin-prettier": "5.1.0",
11
+ "eslint-plugin-prettier": "5.1.3",
15
12
  "eslint-plugin-simple-import-sort": "10.0.0",
16
13
  "eslint-plugin-sonarjs": "0.23.0",
17
14
  "eslint-plugin-sort-destructure-keys": "1.5.0",
18
- "eslint-plugin-unicorn": "50.0.1",
15
+ "eslint-plugin-unicorn": "50.0.1"
16
+ },
17
+ "devDependencies": {
18
+ "eslint": "8.56.0",
19
19
  "jest": "29.7.0",
20
- "prettier": "3.1.1"
20
+ "prettier": "3.2.5"
21
21
  },
22
22
  "engines": {
23
23
  "node": ">= 16"
@@ -27,18 +27,8 @@
27
27
  "main": "index.js",
28
28
  "name": "@open-turo/eslint-config",
29
29
  "peerDependencies": {
30
- "eslint": "^8.10.0",
31
- "eslint-config-airbnb-base": "^15.0.0",
32
- "eslint-config-prettier": "^8.5.0 || ^9.0.0",
33
- "eslint-plugin-import": "^2.25.4",
34
- "eslint-plugin-jest": "^27.0.1",
35
- "eslint-plugin-json": "^3.1.0",
36
- "eslint-plugin-node": "^11.1.0",
37
- "eslint-plugin-prettier": "^5.0.0",
38
- "eslint-plugin-simple-import-sort": "^10.0.0",
39
- "eslint-plugin-sonarjs": "^0.23.0",
40
- "eslint-plugin-sort-destructure-keys": "^1.4.0",
41
- "eslint-plugin-unicorn": "^49.0.0 || ^50.0.0"
30
+ "eslint": "^8.50.0",
31
+ "prettier": "^3.0.0"
42
32
  },
43
33
  "publishConfig": {
44
34
  "access": "public"
@@ -49,5 +39,5 @@
49
39
  "lint": "echo noop",
50
40
  "test": "jest test.js"
51
41
  },
52
- "version": "4.0.1"
42
+ "version": "5.0.0"
53
43
  }