@open-turo/eslint-config-typescript 1.1.6 → 1.1.9
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/CODEOWNERS +1 -0
- package/.github/dependabot.yaml +2 -0
- package/.github/workflows/ci.yaml +7 -7
- package/.pre-commit-config.yaml +1 -1
- package/index.js +7 -1
- package/pack/open-turo-eslint-config-typescript-1.1.9.tgz +0 -0
- package/package.json +7 -5
- package/pack/open-turo-eslint-config-typescript-1.1.6.tgz +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* @open-turo/node
|
package/.github/dependabot.yaml
CHANGED
|
@@ -8,12 +8,12 @@ jobs:
|
|
|
8
8
|
name: Lint
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
11
|
+
- uses: actions/checkout@v3
|
|
12
12
|
with:
|
|
13
13
|
fetch-depth: 0
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
- uses: pre-commit
|
|
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
|
package/.pre-commit-config.yaml
CHANGED
package/index.js
CHANGED
|
@@ -46,6 +46,12 @@ module.exports = {
|
|
|
46
46
|
],
|
|
47
47
|
"import/prefer-default-export": "off",
|
|
48
48
|
"jest/no-jest-import": "off",
|
|
49
|
+
"node/no-unpublished-import": [
|
|
50
|
+
"error",
|
|
51
|
+
{
|
|
52
|
+
allowModules: ["@jest/globals"],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
49
55
|
"node/no-unsupported-features/es-syntax": "off",
|
|
50
56
|
"node/no-missing-import": "off",
|
|
51
57
|
"simple-import-sort/imports": "error",
|
|
@@ -61,7 +67,7 @@ module.exports = {
|
|
|
61
67
|
},
|
|
62
68
|
settings: {
|
|
63
69
|
"import/parsers": {
|
|
64
|
-
"@typescript-eslint/parser": [".ts"],
|
|
70
|
+
"@typescript-eslint/parser": [".ts", ".tsx"],
|
|
65
71
|
},
|
|
66
72
|
"import/resolver": {
|
|
67
73
|
typescript: {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -9,15 +9,16 @@
|
|
|
9
9
|
"@typescript-eslint/parser": "^5.20.0",
|
|
10
10
|
"eslint": "^8.16.0",
|
|
11
11
|
"eslint-config-prettier": "^8.5.0",
|
|
12
|
+
"eslint-import-resolver-typescript": "^3.3.0",
|
|
12
13
|
"eslint-plugin-import": "^2.25.4",
|
|
13
14
|
"eslint-plugin-jest": "^26.1.1",
|
|
14
15
|
"eslint-plugin-node": "^11.1.0",
|
|
15
16
|
"eslint-plugin-prettier": "^4.0.0",
|
|
16
17
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
17
|
-
"eslint-plugin-sonarjs": "^0.
|
|
18
|
+
"eslint-plugin-sonarjs": "^0.14.0",
|
|
18
19
|
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
19
20
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
20
|
-
"eslint-plugin-unicorn": "^
|
|
21
|
+
"eslint-plugin-unicorn": "^43.0.2",
|
|
21
22
|
"prettier": "^2.5.1",
|
|
22
23
|
"semantic-release": "^19.0.2",
|
|
23
24
|
"semantic-release-github-pullrequest": "^1.3.0"
|
|
@@ -34,19 +35,20 @@
|
|
|
34
35
|
"@typescript-eslint/parser": "^5.20.0",
|
|
35
36
|
"eslint": ">=8.16.0",
|
|
36
37
|
"eslint-config-prettier": "^8.5.0",
|
|
38
|
+
"eslint-import-resolver-typescript": "^3.3.0",
|
|
37
39
|
"eslint-plugin-import": "^2.25.4",
|
|
38
40
|
"eslint-plugin-jest": "^26.1.1",
|
|
39
41
|
"eslint-plugin-node": "^11.1.0",
|
|
40
42
|
"eslint-plugin-prettier": "^4.0.0",
|
|
41
43
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
42
|
-
"eslint-plugin-sonarjs": "^0.
|
|
44
|
+
"eslint-plugin-sonarjs": "^0.14.0",
|
|
43
45
|
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
44
46
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
45
|
-
"eslint-plugin-unicorn": "^
|
|
47
|
+
"eslint-plugin-unicorn": "^43.0.2"
|
|
46
48
|
},
|
|
47
49
|
"publishConfig": {
|
|
48
50
|
"access": "public"
|
|
49
51
|
},
|
|
50
52
|
"repository": "https://github.com/open-turo/eslint-config-typescript",
|
|
51
|
-
"version": "1.1.
|
|
53
|
+
"version": "1.1.9"
|
|
52
54
|
}
|
|
Binary file
|