@open-turo/eslint-config 1.0.0 → 1.0.3

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
- - "@commitlint/config-conventional"
3
- rules:
4
- body-max-line-length: [2, always, 500]
2
+ - "@open-turo/commitlint-config-conventional"
@@ -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]
@@ -16,7 +16,7 @@ repos:
16
16
  hooks:
17
17
  - id: commitlint
18
18
  stages: [commit-msg]
19
- additional_dependencies: ["@commitlint/config-conventional"]
19
+ additional_dependencies: ["@open-turo/commitlint-config-conventional"]
20
20
  - repo: https://github.com/rhysd/actionlint
21
21
  rev: v1.6.8
22
22
  hooks:
package/README.md CHANGED
@@ -15,3 +15,11 @@ Then in your `.eslintrc` file add:
15
15
  ```
16
16
  "extends": "@open-turo/eslint-config"
17
17
  ```
18
+
19
+ ## Get Help
20
+
21
+ Please review Issues, post new Issues against this repository as needed.
22
+
23
+ ## Contributions
24
+
25
+ Please see [here](https://github.com/open-turo/contributions) for guidelines on how to contribute to this project.
package/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "author": "Turo engineering",
3
3
  "description": "Eslint configuration for Turo",
4
4
  "devDependencies": {
5
- "@commitlint/cli": "^16.2.1",
6
- "@commitlint/config-conventional": "^16.2.1",
5
+ "@commitlint/cli": "^17.0.3",
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",
@@ -13,7 +13,7 @@
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",
@@ -35,12 +35,12 @@
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.0"
45
+ "version": "1.0.3"
46
46
  }