@open-turo/eslint-config 1.0.1 → 1.0.4

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.
@@ -1,4 +1,2 @@
1
1
  extends:
2
2
  - "@open-turo/commitlint-config-conventional"
3
- rules:
4
- body-max-line-length: [2, always, 500]
@@ -0,0 +1 @@
1
+ * @open-turo/node
@@ -2,6 +2,8 @@ version: 2
2
2
  updates:
3
3
  - package-ecosystem: npm
4
4
  directory: /
5
+ reviewers:
6
+ - "open-turo/node"
5
7
  schedule:
6
8
  interval: weekly
7
9
  commit-message:
@@ -8,12 +8,12 @@ jobs:
8
8
  name: Lint
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
- - uses: actions/checkout@v2
11
+ - uses: actions/checkout@v3
12
12
  with:
13
13
  fetch-depth: 0
14
- - uses: wagoid/commitlint-github-action@v4
15
- - uses: actions/setup-python@v2
16
- - uses: KeisukeYamashita/setup-release@v1.0.2
17
- with:
18
- repository: rhysd/actionlint
19
- - uses: pre-commit/action@v2.0.0
14
+ - name: Download actionlint
15
+ run: |
16
+ mkdir -p "$HOME/bin"
17
+ bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) latest "$HOME/bin"
18
+ echo "${HOME}/bin" >> "$GITHUB_PATH"
19
+ - uses: open-turo/action-pre-commit@v1
@@ -7,7 +7,7 @@ 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.5.1
10
+ rev: v2.7.1
11
11
  hooks:
12
12
  - id: prettier
13
13
  stages: [commit]
package/package.json CHANGED
@@ -2,18 +2,18 @@
2
2
  "author": "Turo engineering",
3
3
  "description": "Eslint configuration for Turo",
4
4
  "devDependencies": {
5
- "@commitlint/cli": "^16.2.1",
5
+ "@commitlint/cli": "^17.0.3",
6
6
  "@open-turo/commitlint-config-conventional": "^1.0.2",
7
7
  "@semantic-release/git": "^10.0.1",
8
8
  "eslint": "^8.10.0",
9
9
  "eslint-config-airbnb-base": "^15.0.0",
10
10
  "eslint-config-prettier": "^8.5.0",
11
11
  "eslint-plugin-import": "^2.25.4",
12
- "eslint-plugin-jest": "^26.1.1",
12
+ "eslint-plugin-jest": "^27.0.1",
13
13
  "eslint-plugin-json": "^3.1.0",
14
14
  "eslint-plugin-prettier": "^4.0.0",
15
15
  "eslint-plugin-simple-import-sort": "^7.0.0",
16
- "eslint-plugin-sonarjs": "^0.12.0",
16
+ "eslint-plugin-sonarjs": "^0.15.0",
17
17
  "eslint-plugin-sort-destructure-keys": "^1.4.0",
18
18
  "prettier": "^2.5.1",
19
19
  "semantic-release": "^19.0.2",
@@ -31,16 +31,16 @@
31
31
  "eslint-config-airbnb-base": "^15.0.0",
32
32
  "eslint-config-prettier": "^8.5.0",
33
33
  "eslint-plugin-import": "^2.25.4",
34
- "eslint-plugin-jest": "^26.1.1",
34
+ "eslint-plugin-jest": "^27.0.1",
35
35
  "eslint-plugin-json": "^3.1.0",
36
36
  "eslint-plugin-prettier": "^4.0.0",
37
37
  "eslint-plugin-simple-import-sort": "^7.0.0",
38
- "eslint-plugin-sonarjs": "^0.12.0",
38
+ "eslint-plugin-sonarjs": "^0.15.0",
39
39
  "eslint-plugin-sort-destructure-keys": "^1.4.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
44
  "repository": "https://github.com/open-turo/eslint-config",
45
- "version": "1.0.1"
45
+ "version": "1.0.4"
46
46
  }