@open-turo/eslint-config-react 1.3.0 → 1.3.1

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,6 @@
1
+ {
2
+ "extends": [
3
+ "github>open-turo/renovate-config#v1",
4
+ "github>open-turo/renovate-config:npm#v1"
5
+ ]
6
+ }
@@ -0,0 +1,23 @@
1
+ name: Update dependencies
2
+ concurrency: update-dependencies
3
+
4
+ on:
5
+ schedule:
6
+ # Every day at midnight
7
+ - cron: "0 0 * * *"
8
+ workflow_dispatch:
9
+ issue_comment:
10
+ types:
11
+ - edited
12
+ pull_request:
13
+ types:
14
+ - edited
15
+
16
+ jobs:
17
+ update-dependencies:
18
+ runs-on: ubuntu-latest
19
+ name: Update dependencies
20
+ steps:
21
+ - uses: open-turo/action-renovate@v1
22
+ with:
23
+ github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
package/README.md CHANGED
@@ -3,6 +3,15 @@
3
3
  Turo eslint configuration for react. The config expects that Typescript is being used as it extends
4
4
  `eslint-config-typescript`.
5
5
 
6
+ [![Release](https://img.shields.io/github/v/release/open-turo/eslint-config-react)](https://github.com/open-turo/eslint-config-react/releases/)
7
+ [![Tests pass/fail](https://img.shields.io/github/actions/workflow/status/open-turo/eslint-config-react/ci.yaml)](https://github.com/open-turo/eslint-config-react/actions/)
8
+ [![License](https://img.shields.io/github/license/open-turo/eslint-config-react)](./LICENSE)
9
+ [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://github.com/dwyl/esta/issues)
10
+ ![CI](https://github.com/open-turo/eslint-config-react/actions/workflows/release.yaml/badge.svg)
11
+ [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
12
+ [![Conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.2-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
13
+ [![Join us!](https://img.shields.io/badge/Turo-Join%20us%21-593CFB.svg)](https://turo.com/jobs)
14
+
6
15
  ## Relevant notes
7
16
 
8
17
  The `eslint` configurations in this repo extend `@open-turo/eslint-config-typescript/legacy`; as it is the base TS
@@ -13,15 +22,6 @@ repository extend the default `@open-turo/eslint-config-typescript` config inste
13
22
  free to create a PR to add a new default that extends it, and rename the current configurations to `legacy` and
14
23
  `legacy-extended` respectively. We are not doing that for now to reduce maintenance burden, as it would be unused.
15
24
 
16
- [![Release](https://img.shields.io/github/v/release/open-turo/eslint-config-react)](https://github.com/open-turo/eslint-config-react/releases/)
17
- [![Tests pass/fail](https://img.shields.io/github/workflow/status/open-turo/eslint-config-react/CI)](https://github.com/open-turo/eslint-config-react/actions/)
18
- [![License](https://img.shields.io/github/license/open-turo/eslint-config-react)](./LICENSE)
19
- [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://github.com/dwyl/esta/issues)
20
- ![CI](https://github.com/open-turo/eslint-config-react/actions/workflows/release.yaml/badge.svg)
21
- [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
22
- [![Conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.2-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
23
- [![Join us!](https://img.shields.io/badge/Turo-Join%20us%21-593CFB.svg)](https://turo.com/jobs)
24
-
25
25
  ## Usage
26
26
 
27
27
  Install the package and all of its peer dependencies:
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "devDependencies": {
5
5
  "@commitlint/cli": "^17.0.0",
6
6
  "@open-turo/commitlint-config-conventional": "^1.0.2",
7
- "@open-turo/eslint-config-typescript": "^2.1.0",
7
+ "@open-turo/eslint-config-typescript": "^2.3.0",
8
8
  "@semantic-release/git": "^10.0.1",
9
9
  "@typescript-eslint/eslint-plugin": "^5.46.0",
10
10
  "@typescript-eslint/parser": "^5.46.0",
@@ -19,7 +19,7 @@
19
19
  "eslint-plugin-react": "^7.29.4",
20
20
  "eslint-plugin-react-hooks": "^4.4.0",
21
21
  "eslint-plugin-simple-import-sort": "^8.0.0",
22
- "eslint-plugin-sonarjs": "^0.16.0",
22
+ "eslint-plugin-sonarjs": "^0.17.0",
23
23
  "eslint-plugin-sort-destructure-keys": "^1.4.0",
24
24
  "eslint-plugin-typescript-sort-keys": "^2.1.0",
25
25
  "prettier": "^2.5.1",
@@ -34,7 +34,7 @@
34
34
  "main": "index.js",
35
35
  "name": "@open-turo/eslint-config-react",
36
36
  "peerDependencies": {
37
- "@open-turo/eslint-config-typescript": "^2.1.0",
37
+ "@open-turo/eslint-config-typescript": "^2.3.0",
38
38
  "@typescript-eslint/eslint-plugin": "^5.46.0",
39
39
  "@typescript-eslint/parser": "^5.46.0",
40
40
  "eslint": ">=8.18.0",
@@ -45,17 +45,17 @@
45
45
  "eslint-plugin-jsx-a11y": "^6.5.1",
46
46
  "eslint-plugin-node": "^11.1.0",
47
47
  "eslint-plugin-prettier": "^4.2.1",
48
+ "eslint-plugin-react": "^7.29.4",
49
+ "eslint-plugin-react-hooks": "^4.4.0",
48
50
  "eslint-plugin-simple-import-sort": "^8.0.0",
49
51
  "eslint-plugin-sonarjs": "^0.16.0",
50
52
  "eslint-plugin-sort-destructure-keys": "^1.4.0",
51
53
  "eslint-plugin-typescript-sort-keys": "^2.1.0",
52
- "eslint-plugin-react": "^7.29.4",
53
- "eslint-plugin-react-hooks": "^4.4.0",
54
54
  "prettier": "^2.5.1"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
59
  "repository": "https://github.com/open-turo/eslint-config-react",
60
- "version": "1.3.0"
60
+ "version": "1.3.1"
61
61
  }
@@ -1,12 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: npm
4
- directory: /
5
- reviewers:
6
- - "open-turo/node"
7
- schedule:
8
- interval: weekly
9
- commit-message:
10
- prefix: build(deps)
11
- prefix-development: build(dev-deps)
12
- include: scope