@open-turo/eslint-config-typescript 16.0.0 → 16.0.2
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/workflows/ci.yaml +2 -2
- package/.github/workflows/prerelease.yaml +1 -1
- package/.github/workflows/release.yaml +1 -1
- package/.nvmrc +1 -1
- package/pack/open-turo-eslint-config-typescript-16.0.2.tgz +0 -0
- package/package.json +12 -12
- package/test/__snapshots__/test.spec.js.snap +14 -0
- package/pack/open-turo-eslint-config-typescript-16.0.0.tgz +0 -0
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
mkdir -p "$HOME/bin"
|
|
15
15
|
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) latest "$HOME/bin"
|
|
16
16
|
echo "${HOME}/bin" >> "$GITHUB_PATH"
|
|
17
|
-
- uses: open-turo/actions-node/lint@
|
|
17
|
+
- uses: open-turo/actions-node/lint@v7
|
|
18
18
|
with:
|
|
19
19
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
20
20
|
npm-token: ${{ secrets.OPEN_TURO_NPM_TOKEN }}
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
name: Test
|
|
23
23
|
runs-on: ubuntu-latest
|
|
24
24
|
steps:
|
|
25
|
-
- uses: open-turo/actions-node/test@
|
|
25
|
+
- uses: open-turo/actions-node/test@v7
|
|
26
26
|
with:
|
|
27
27
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
28
28
|
test-flags: --coverage
|
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
steps:
|
|
18
18
|
- name: Prerelease
|
|
19
19
|
id: prerelease
|
|
20
|
-
uses: open-turo/actions-node/prerelease@
|
|
20
|
+
uses: open-turo/actions-node/prerelease@v7
|
|
21
21
|
with:
|
|
22
22
|
github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
|
|
23
23
|
npm-token: ${{ secrets.OPEN_TURO_NPM_TOKEN }}
|
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
name: Release
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: open-turo/actions-node/release@
|
|
13
|
+
- uses: open-turo/actions-node/release@v7
|
|
14
14
|
with:
|
|
15
15
|
github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
|
|
16
16
|
npm-token: ${{ secrets.OPEN_TURO_NPM_TOKEN }}
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.
|
|
1
|
+
22.15.0
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
"description": "Turo eslint configuration for typescript",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@eslint/js": "9.
|
|
7
|
-
"typescript-eslint": "8.
|
|
8
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
9
|
-
"@typescript-eslint/parser": "8.
|
|
10
|
-
"eslint-config-prettier": "10.1.
|
|
11
|
-
"eslint-import-resolver-typescript": "4.
|
|
6
|
+
"@eslint/js": "9.28.0",
|
|
7
|
+
"typescript-eslint": "8.33.1",
|
|
8
|
+
"@typescript-eslint/eslint-plugin": "8.33.1",
|
|
9
|
+
"@typescript-eslint/parser": "8.33.1",
|
|
10
|
+
"eslint-config-prettier": "10.1.5",
|
|
11
|
+
"eslint-import-resolver-typescript": "4.4.2",
|
|
12
12
|
"eslint-plugin-import": "2.31.0",
|
|
13
|
-
"eslint-plugin-jest": "28.
|
|
13
|
+
"eslint-plugin-jest": "28.12.0",
|
|
14
14
|
"eslint-plugin-json": "4.0.1",
|
|
15
|
-
"eslint-plugin-n": "17.
|
|
16
|
-
"eslint-plugin-perfectionist": "4.
|
|
17
|
-
"eslint-plugin-prettier": "5.
|
|
15
|
+
"eslint-plugin-n": "17.19.0",
|
|
16
|
+
"eslint-plugin-perfectionist": "4.14.0",
|
|
17
|
+
"eslint-plugin-prettier": "5.4.1",
|
|
18
18
|
"eslint-plugin-sonarjs": "3.0.2",
|
|
19
19
|
"eslint-plugin-unicorn": "56.0.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"eslint": "9.
|
|
22
|
+
"eslint": "9.28.0",
|
|
23
23
|
"jest": "29.7.0",
|
|
24
24
|
"prettier": "3.5.3"
|
|
25
25
|
},
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"repository": "https://github.com/open-turo/eslint-config-typescript",
|
|
57
|
-
"version": "16.0.
|
|
57
|
+
"version": "16.0.2"
|
|
58
58
|
}
|
|
@@ -1224,6 +1224,9 @@ exports[`validate config the flat config is correct for index.cjs 1`] = `
|
|
|
1224
1224
|
],
|
|
1225
1225
|
"no-shadow-restricted-names": [
|
|
1226
1226
|
2,
|
|
1227
|
+
{
|
|
1228
|
+
"reportGlobalThis": false,
|
|
1229
|
+
},
|
|
1227
1230
|
],
|
|
1228
1231
|
"no-space-before-semi": [
|
|
1229
1232
|
0,
|
|
@@ -1280,6 +1283,7 @@ exports[`validate config the flat config is correct for index.cjs 1`] = `
|
|
|
1280
1283
|
"allowTaggedTemplates": false,
|
|
1281
1284
|
"allowTernary": false,
|
|
1282
1285
|
"enforceForJSX": false,
|
|
1286
|
+
"ignoreDirectives": false,
|
|
1283
1287
|
},
|
|
1284
1288
|
],
|
|
1285
1289
|
"no-unused-labels": [
|
|
@@ -1299,6 +1303,9 @@ exports[`validate config the flat config is correct for index.cjs 1`] = `
|
|
|
1299
1303
|
],
|
|
1300
1304
|
"no-useless-escape": [
|
|
1301
1305
|
2,
|
|
1306
|
+
{
|
|
1307
|
+
"allowRegexCharacters": [],
|
|
1308
|
+
},
|
|
1302
1309
|
],
|
|
1303
1310
|
"no-var": [
|
|
1304
1311
|
2,
|
|
@@ -4186,6 +4193,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
4186
4193
|
],
|
|
4187
4194
|
"no-shadow-restricted-names": [
|
|
4188
4195
|
2,
|
|
4196
|
+
{
|
|
4197
|
+
"reportGlobalThis": false,
|
|
4198
|
+
},
|
|
4189
4199
|
],
|
|
4190
4200
|
"no-space-before-semi": [
|
|
4191
4201
|
0,
|
|
@@ -4242,6 +4252,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
4242
4252
|
"allowTaggedTemplates": false,
|
|
4243
4253
|
"allowTernary": false,
|
|
4244
4254
|
"enforceForJSX": false,
|
|
4255
|
+
"ignoreDirectives": false,
|
|
4245
4256
|
},
|
|
4246
4257
|
],
|
|
4247
4258
|
"no-unused-labels": [
|
|
@@ -4261,6 +4272,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
4261
4272
|
],
|
|
4262
4273
|
"no-useless-escape": [
|
|
4263
4274
|
2,
|
|
4275
|
+
{
|
|
4276
|
+
"allowRegexCharacters": [],
|
|
4277
|
+
},
|
|
4264
4278
|
],
|
|
4265
4279
|
"no-var": [
|
|
4266
4280
|
2,
|
|
Binary file
|