@open-turo/eslint-config 2.0.0 → 3.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.
@@ -4,6 +4,17 @@ on:
4
4
  push:
5
5
 
6
6
  jobs:
7
+ release-notes:
8
+ name: Release notes preview
9
+ runs-on: ubuntu-latest
10
+ if: github.ref != 'refs/heads/main'
11
+ steps:
12
+ - uses: open-turo/actions-release/release-notes-preview@v2
13
+ with:
14
+ github-token: ${{ secrets.GITHUB_TOKEN }}
15
+ env:
16
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
17
+
7
18
  lint:
8
19
  name: Lint
9
20
  runs-on: ubuntu-latest
@@ -14,12 +14,13 @@ jobs:
14
14
  with:
15
15
  fetch-depth: 0
16
16
  persist-credentials: false
17
+ - name: Setup tools
18
+ uses: open-turo/action-setup-tools@v1
19
+ - name: Install dependencies
20
+ run: npm ci
17
21
  - name: Semantic release
18
22
  id: release
19
- uses: cycjimmy/semantic-release-action@v3
20
- with:
21
- extra_plugins: |
22
- @open-turo/semantic-release-config
23
+ run: npm run release
23
24
  env:
24
25
  GITHUB_TOKEN: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
25
26
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- lts/gallium
1
+ lts/hydrogen
@@ -7,17 +7,17 @@ repos:
7
7
  - id: end-of-file-fixer
8
8
  - id: trailing-whitespace
9
9
  - repo: https://github.com/pre-commit/mirrors-prettier
10
- rev: v2.7.1
10
+ rev: v3.0.2
11
11
  hooks:
12
12
  - id: prettier
13
13
  stages: [commit]
14
14
  - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
15
- rev: v9.4.0
15
+ rev: v9.5.0
16
16
  hooks:
17
17
  - id: commitlint
18
18
  stages: [commit-msg]
19
19
  additional_dependencies: ["@open-turo/commitlint-config-conventional"]
20
20
  - repo: https://github.com/rhysd/actionlint
21
- rev: v1.6.23
21
+ rev: v1.6.25
22
22
  hooks:
23
23
  - id: actionlint
package/package.json CHANGED
@@ -2,24 +2,24 @@
2
2
  "author": "Turo engineering",
3
3
  "description": "Eslint configuration for Turo",
4
4
  "devDependencies": {
5
- "@commitlint/cli": "17.4.2",
6
- "@open-turo/commitlint-config-conventional": "1.0.4",
7
- "@open-turo/semantic-release-config": "1.1.1",
8
- "eslint": "8.32.0",
5
+ "@commitlint/cli": "17.7.1",
6
+ "@open-turo/commitlint-config-conventional": "1.1.0",
7
+ "@open-turo/semantic-release-config": "4.0.3",
8
+ "eslint": "8.49.0",
9
9
  "eslint-config-airbnb-base": "15.0.0",
10
- "eslint-config-prettier": "8.6.0",
11
- "eslint-plugin-import": "2.27.5",
12
- "eslint-plugin-jest": "27.2.1",
10
+ "eslint-config-prettier": "9.0.0",
11
+ "eslint-plugin-import": "2.28.1",
12
+ "eslint-plugin-jest": "27.4.0",
13
13
  "eslint-plugin-json": "3.1.0",
14
14
  "eslint-plugin-node": "11.1.0",
15
- "eslint-plugin-prettier": "4.2.1",
15
+ "eslint-plugin-prettier": "5.0.0",
16
16
  "eslint-plugin-simple-import-sort": "10.0.0",
17
- "eslint-plugin-sonarjs": "0.18.0",
18
- "eslint-plugin-sort-destructure-keys": "1.4.0",
19
- "eslint-plugin-unicorn": "45.0.2",
20
- "jest": "29.4.1",
21
- "prettier": "2.8.3",
22
- "semantic-release": "19.0.5"
17
+ "eslint-plugin-sonarjs": "0.21.0",
18
+ "eslint-plugin-sort-destructure-keys": "1.5.0",
19
+ "eslint-plugin-unicorn": "48.0.1",
20
+ "jest": "29.7.0",
21
+ "prettier": "3.0.3",
22
+ "semantic-release": "21.1.2"
23
23
  },
24
24
  "engines": {
25
25
  "node": ">= 16"
@@ -31,23 +31,24 @@
31
31
  "peerDependencies": {
32
32
  "eslint": "^8.10.0",
33
33
  "eslint-config-airbnb-base": "^15.0.0",
34
- "eslint-config-prettier": "^8.5.0",
34
+ "eslint-config-prettier": "^8.5.0 || ^9.0.0",
35
35
  "eslint-plugin-import": "^2.25.4",
36
36
  "eslint-plugin-jest": "^27.0.1",
37
37
  "eslint-plugin-json": "^3.1.0",
38
38
  "eslint-plugin-node": "^11.1.0",
39
- "eslint-plugin-prettier": "^4.0.0",
39
+ "eslint-plugin-prettier": "^5.0.0",
40
40
  "eslint-plugin-simple-import-sort": "^10.0.0",
41
- "eslint-plugin-sonarjs": "^0.18.0",
41
+ "eslint-plugin-sonarjs": "^0.21.0",
42
42
  "eslint-plugin-sort-destructure-keys": "^1.4.0",
43
- "eslint-plugin-unicorn": "^45.0.2"
43
+ "eslint-plugin-unicorn": "^48.0.0"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
48
  "repository": "https://github.com/open-turo/eslint-config",
49
49
  "scripts": {
50
+ "release": "semantic-release",
50
51
  "test": "jest test.js"
51
52
  },
52
- "version": "2.0.0"
53
+ "version": "3.0.0"
53
54
  }