@open-turo/eslint-config-typescript 2.3.0 → 2.5.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.
- package/.github/renovate.json +6 -0
- package/.github/workflows/release.yaml +3 -2
- package/.github/workflows/update-dependencies.yaml +23 -0
- package/.pre-commit-config.yaml +1 -1
- package/.releaserc.json +1 -24
- package/README.md +1 -1
- package/index.js +2 -1
- package/legacy.js +1 -0
- package/pack/open-turo-eslint-config-typescript-2.5.0.tgz +0 -0
- package/package.json +3 -4
- package/.github/dependabot.yaml +0 -12
- package/pack/open-turo-eslint-config-typescript-2.3.0.tgz +0 -0
|
@@ -13,12 +13,13 @@ jobs:
|
|
|
13
13
|
uses: actions/checkout@v3
|
|
14
14
|
with:
|
|
15
15
|
fetch-depth: 0
|
|
16
|
+
persist-credentials: false
|
|
16
17
|
- name: Semantic release
|
|
17
18
|
id: release
|
|
18
|
-
uses: cycjimmy/semantic-release-action@
|
|
19
|
+
uses: cycjimmy/semantic-release-action@v3
|
|
19
20
|
with:
|
|
20
21
|
extra_plugins: |
|
|
21
|
-
semantic-release-
|
|
22
|
+
@open-turo/semantic-release-config
|
|
22
23
|
env:
|
|
23
24
|
GITHUB_TOKEN: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
|
|
24
25
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -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/.pre-commit-config.yaml
CHANGED
package/.releaserc.json
CHANGED
|
@@ -1,26 +1,3 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"plugins": [
|
|
4
|
-
"@semantic-release/commit-analyzer",
|
|
5
|
-
"@semantic-release/release-notes-generator",
|
|
6
|
-
[
|
|
7
|
-
"@semantic-release/npm",
|
|
8
|
-
{
|
|
9
|
-
"tarballDir": "pack"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"@semantic-release/github",
|
|
14
|
-
{
|
|
15
|
-
"assets": "pack/*.tgz"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"semantic-release-github-pullrequest",
|
|
20
|
-
{
|
|
21
|
-
"assets": ["package.json", "README.md", "package-lock.json"],
|
|
22
|
-
"baseRef": "main"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
]
|
|
2
|
+
"extends": "@open-turo/semantic-release-config/lib/npm"
|
|
26
3
|
}
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Turo eslint configuration for typescript.
|
|
4
4
|
|
|
5
5
|
[](https://github.com/open-turo/eslint-config-typescript/releases/)
|
|
6
|
-
[](https://github.com/open-turo/eslint-config-typescript/actions/)
|
|
7
7
|
[](./LICENSE)
|
|
8
8
|
[](https://github.com/dwyl/esta/issues)
|
|
9
9
|

|
package/index.js
CHANGED
|
@@ -64,7 +64,7 @@ module.exports = {
|
|
|
64
64
|
"node/no-unpublished-import": [
|
|
65
65
|
"error",
|
|
66
66
|
{
|
|
67
|
-
allowModules: ["@jest/globals"],
|
|
67
|
+
allowModules: ["@jest/globals", "nock"],
|
|
68
68
|
},
|
|
69
69
|
],
|
|
70
70
|
"node/no-unsupported-features/es-syntax": "off",
|
|
@@ -79,6 +79,7 @@ module.exports = {
|
|
|
79
79
|
argsIgnorePattern: "^_",
|
|
80
80
|
},
|
|
81
81
|
],
|
|
82
|
+
"@typescript-eslint/prefer-ts-expect-error": "error",
|
|
82
83
|
"@typescript-eslint/unbound-method": "error",
|
|
83
84
|
},
|
|
84
85
|
settings: {
|
package/legacy.js
CHANGED
|
@@ -88,6 +88,7 @@ module.exports = {
|
|
|
88
88
|
],
|
|
89
89
|
"@typescript-eslint/unbound-method": "error",
|
|
90
90
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
91
|
+
"@typescript-eslint/prefer-ts-expect-error": "error",
|
|
91
92
|
// Any-related TS rules are turned to warn to allow building "non-TS-native" packages w/ many occurrences of them
|
|
92
93
|
"@typescript-eslint/no-unsafe-argument": ["warn"],
|
|
93
94
|
"@typescript-eslint/no-unsafe-return": ["warn"],
|
|
Binary file
|
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
|
-
"@semantic-release
|
|
7
|
+
"@open-turo/semantic-release-config": "^1.0.1",
|
|
8
8
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
9
9
|
"@typescript-eslint/parser": "^5.20.0",
|
|
10
10
|
"eslint": "^8.18.0",
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
21
21
|
"eslint-plugin-unicorn": "^45.0.0",
|
|
22
22
|
"prettier": "^2.5.1",
|
|
23
|
-
"semantic-release": "^19.0.2"
|
|
24
|
-
"semantic-release-github-pullrequest": "^1.3.0"
|
|
23
|
+
"semantic-release": "^19.0.2"
|
|
25
24
|
},
|
|
26
25
|
"engines": {
|
|
27
26
|
"node": ">= 14"
|
|
@@ -54,5 +53,5 @@
|
|
|
54
53
|
"access": "public"
|
|
55
54
|
},
|
|
56
55
|
"repository": "https://github.com/open-turo/eslint-config-typescript",
|
|
57
|
-
"version": "2.
|
|
56
|
+
"version": "2.5.0"
|
|
58
57
|
}
|
package/.github/dependabot.yaml
DELETED
|
Binary file
|