@open-turo/eslint-config-react 1.2.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.
- package/.github/renovate.json +6 -0
- package/.github/workflows/update-dependencies.yaml +23 -0
- package/README.md +16 -9
- package/pack/open-turo-eslint-config-react-1.3.1.tgz +0 -0
- package/package.json +32 -10
- package/.github/dependabot.yaml +0 -12
- package/pack/open-turo-eslint-config-react-1.2.0.tgz +0 -0
|
@@ -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
|
+
[](https://github.com/open-turo/eslint-config-react/releases/)
|
|
7
|
+
[](https://github.com/open-turo/eslint-config-react/actions/)
|
|
8
|
+
[](./LICENSE)
|
|
9
|
+
[](https://github.com/dwyl/esta/issues)
|
|
10
|
+

|
|
11
|
+
[](https://github.com/semantic-release/semantic-release)
|
|
12
|
+
[](https://conventionalcommits.org)
|
|
13
|
+
[](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
|
-
[](https://github.com/open-turo/eslint-config-react/releases/)
|
|
17
|
-
[](https://github.com/open-turo/eslint-config-react/actions/)
|
|
18
|
-
[](./LICENSE)
|
|
19
|
-
[](https://github.com/dwyl/esta/issues)
|
|
20
|
-

|
|
21
|
-
[](https://github.com/semantic-release/semantic-release)
|
|
22
|
-
[](https://conventionalcommits.org)
|
|
23
|
-
[](https://turo.com/jobs)
|
|
24
|
-
|
|
25
25
|
## Usage
|
|
26
26
|
|
|
27
27
|
Install the package and all of its peer dependencies:
|
|
@@ -44,6 +44,8 @@ has been integrated into the default preset.
|
|
|
44
44
|
|
|
45
45
|
## Development
|
|
46
46
|
|
|
47
|
+
### Pre-commit
|
|
48
|
+
|
|
47
49
|
Install [pre-commit](https://pre-commit.com/) and the commit hooks:
|
|
48
50
|
|
|
49
51
|
```shell
|
|
@@ -51,6 +53,11 @@ pre-commit install
|
|
|
51
53
|
pre-commit install --hook-type commit-msg
|
|
52
54
|
```
|
|
53
55
|
|
|
56
|
+
### Keeping peerDependencies up-to-date
|
|
57
|
+
|
|
58
|
+
Transitive `peerDependencies` should be added, and kept up to date. A useful tool for that task is
|
|
59
|
+
`npx check-peer-dependencies`, which shows us our missing (or outdated) peerDependencies.
|
|
60
|
+
|
|
54
61
|
## Get Help
|
|
55
62
|
|
|
56
63
|
Please review Issues, post new Issues against this repository as needed.
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -4,14 +4,25 @@
|
|
|
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.
|
|
7
|
+
"@open-turo/eslint-config-typescript": "^2.3.0",
|
|
8
8
|
"@semantic-release/git": "^10.0.1",
|
|
9
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
10
|
-
"@typescript-eslint/parser": "^5.
|
|
11
|
-
"eslint": "
|
|
9
|
+
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
|
10
|
+
"@typescript-eslint/parser": "^5.46.0",
|
|
11
|
+
"eslint": ">=8.18.0",
|
|
12
|
+
"eslint-config-prettier": "^8.5.0",
|
|
13
|
+
"eslint-import-resolver-typescript": "^3.5.2",
|
|
14
|
+
"eslint-plugin-import": "^2.26.0",
|
|
15
|
+
"eslint-plugin-jest": "^27.1.6",
|
|
12
16
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
17
|
+
"eslint-plugin-node": "^11.1.0",
|
|
18
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
13
19
|
"eslint-plugin-react": "^7.29.4",
|
|
14
20
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
21
|
+
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
22
|
+
"eslint-plugin-sonarjs": "^0.17.0",
|
|
23
|
+
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
24
|
+
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
25
|
+
"prettier": "^2.5.1",
|
|
15
26
|
"semantic-release": "^19.0.2",
|
|
16
27
|
"semantic-release-github-pullrequest": "^1.3.0"
|
|
17
28
|
},
|
|
@@ -23,17 +34,28 @@
|
|
|
23
34
|
"main": "index.js",
|
|
24
35
|
"name": "@open-turo/eslint-config-react",
|
|
25
36
|
"peerDependencies": {
|
|
26
|
-
"@open-turo/eslint-config-typescript": "2.
|
|
27
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
28
|
-
"@typescript-eslint/parser": "^5.
|
|
29
|
-
"eslint": ">=8.
|
|
37
|
+
"@open-turo/eslint-config-typescript": "^2.3.0",
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
|
39
|
+
"@typescript-eslint/parser": "^5.46.0",
|
|
40
|
+
"eslint": ">=8.18.0",
|
|
41
|
+
"eslint-config-prettier": "^8.5.0",
|
|
42
|
+
"eslint-import-resolver-typescript": "^3.5.2",
|
|
43
|
+
"eslint-plugin-import": "^2.26.0",
|
|
44
|
+
"eslint-plugin-jest": "^27.1.6",
|
|
30
45
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
46
|
+
"eslint-plugin-node": "^11.1.0",
|
|
47
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
31
48
|
"eslint-plugin-react": "^7.29.4",
|
|
32
|
-
"eslint-plugin-react-hooks": "^4.4.0"
|
|
49
|
+
"eslint-plugin-react-hooks": "^4.4.0",
|
|
50
|
+
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
51
|
+
"eslint-plugin-sonarjs": "^0.16.0",
|
|
52
|
+
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
53
|
+
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
54
|
+
"prettier": "^2.5.1"
|
|
33
55
|
},
|
|
34
56
|
"publishConfig": {
|
|
35
57
|
"access": "public"
|
|
36
58
|
},
|
|
37
59
|
"repository": "https://github.com/open-turo/eslint-config-react",
|
|
38
|
-
"version": "1.
|
|
60
|
+
"version": "1.3.1"
|
|
39
61
|
}
|
package/.github/dependabot.yaml
DELETED
|
Binary file
|