@open-turo/eslint-config-typescript 16.0.0-pr-373.11.1.1 → 16.0.0-pr-373.13.1.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/.pre-commit-config.yaml +1 -1
- package/README.md +7 -0
- package/pack/open-turo-eslint-config-typescript-16.0.0-pr-373.13.1.1.tgz +0 -0
- package/package.json +13 -13
- package/test/__snapshots__/test.spec.js.snap +8944 -0
- package/test/test.spec.js +6 -0
- package/pack/open-turo-eslint-config-typescript-16.0.0-pr-373.11.1.1.tgz +0 -0
package/.pre-commit-config.yaml
CHANGED
package/README.md
CHANGED
|
@@ -27,6 +27,13 @@ const turoConfig = require("@open-turo/eslint-config-typescript");
|
|
|
27
27
|
module.exports = turoConfig();
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
The `turoConfig` function accepts an options object with the following properties:
|
|
31
|
+
|
|
32
|
+
- `allowModules` - List of modules to allow in the `n/no-unpublished-import` rule
|
|
33
|
+
- `ignores` - List of patterns to ignore. Defaults to `["@jest/globals", "nock"]`
|
|
34
|
+
- `typescript` - Whether to include typescript rules. Defaults to `true`
|
|
35
|
+
- `ecmaVersion` - The ECMAScript version to use. Defaults to `latest`
|
|
36
|
+
|
|
30
37
|
### **[.eslintrc](https://eslint.org/docs/latest/use/configure/configuration-files)** (legacy example)
|
|
31
38
|
|
|
32
39
|
```jsonc
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,25 +3,25 @@
|
|
|
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.
|
|
11
|
-
"eslint-import-resolver-typescript": "3.
|
|
6
|
+
"@eslint/js": "9.24.0",
|
|
7
|
+
"typescript-eslint": "8.29.0",
|
|
8
|
+
"@typescript-eslint/eslint-plugin": "8.29.0",
|
|
9
|
+
"@typescript-eslint/parser": "8.29.0",
|
|
10
|
+
"eslint-config-prettier": "10.1.1",
|
|
11
|
+
"eslint-import-resolver-typescript": "4.3.1",
|
|
12
12
|
"eslint-plugin-import": "2.31.0",
|
|
13
13
|
"eslint-plugin-jest": "28.11.0",
|
|
14
14
|
"eslint-plugin-json": "4.0.1",
|
|
15
|
-
"eslint-plugin-n": "17.
|
|
16
|
-
"eslint-plugin-perfectionist": "4.
|
|
17
|
-
"eslint-plugin-prettier": "5.2.
|
|
18
|
-
"eslint-plugin-sonarjs": "3.0.
|
|
15
|
+
"eslint-plugin-n": "17.17.0",
|
|
16
|
+
"eslint-plugin-perfectionist": "4.11.0",
|
|
17
|
+
"eslint-plugin-prettier": "5.2.6",
|
|
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.24.0",
|
|
23
23
|
"jest": "29.7.0",
|
|
24
|
-
"prettier": "3.
|
|
24
|
+
"prettier": "3.5.3"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">= 20"
|
|
@@ -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.0-pr-373.
|
|
57
|
+
"version": "16.0.0-pr-373.13.1.1"
|
|
58
58
|
}
|