@enormora/eslint-config-typescript 0.0.69 → 0.0.71
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/package.json +2 -2
- package/plugins/enormora-typescript/enormora-typescript-plugin.js +4 -12
- package/plugins/enormora-typescript/enormora-typescript-plugin.js.map +1 -1
- package/presets/typescript/typescript-environment.js +1 -13
- package/presets/typescript/typescript-environment.js.map +1 -1
- package/sbom.cdx.json +10 -10
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"name": "@enormora/eslint-config-typescript",
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@enormora/eslint-config-base": "0.0.
|
|
31
|
+
"@enormora/eslint-config-base": "0.0.63",
|
|
32
32
|
"typescript": ">=4.8.4 <6.1.0"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"./presets/typescript/typescript.js"
|
|
45
45
|
],
|
|
46
46
|
"type": "module",
|
|
47
|
-
"version": "0.0.
|
|
47
|
+
"version": "0.0.71"
|
|
48
48
|
}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
export const enormoraTypescriptPlugin = {
|
|
6
|
-
rules: {
|
|
7
|
-
'no-impure-satisfies': noImpureSatisfiesRule,
|
|
8
|
-
'no-this-expressions': noThisExpressionsRule,
|
|
9
|
-
'prefer-named-callable-types': preferNamedCallableTypesRule,
|
|
10
|
-
'prefer-readonly-types': preferReadonlyTypesRule
|
|
11
|
-
}
|
|
12
|
-
};
|
|
1
|
+
import "./no-impure-satisfies.js";
|
|
2
|
+
import "./no-this-expressions.js";
|
|
3
|
+
import "./prefer-named-callable-types.js";
|
|
4
|
+
import "./prefer-readonly-types.js";
|
|
13
5
|
//# sourceMappingURL=enormora-typescript-plugin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enormora-typescript-plugin.js","sourceRoot":"","sources":["../../../../../configs/plugins/enormora-typescript/enormora-typescript-plugin.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"enormora-typescript-plugin.js","sourceRoot":"","sources":["../../../../../configs/plugins/enormora-typescript/enormora-typescript-plugin.ts"],"names":[],"mappings":"AACA,OAAsC,0BAA0B,CAAC;AACjE,OAAsC,0BAA0B,CAAC;AACjE,OAA6C,kCAAkC,CAAC;AAChF,OAAwC,4BAA4B,CAAC"}
|
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@typescript-eslint/parser';
|
|
2
2
|
import { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript';
|
|
3
3
|
import { createNodeResolver } from 'eslint-plugin-import-x';
|
|
4
4
|
import { javascriptExtensions, typescriptExtensions } from "@enormora/eslint-config-base/constants.js";
|
|
5
|
-
export const typescriptLanguageOptions = {
|
|
6
|
-
parser: typescriptParser,
|
|
7
|
-
parserOptions: {
|
|
8
|
-
warnOnUnsupportedTypeScriptVersion: false,
|
|
9
|
-
sourceType: 'module',
|
|
10
|
-
ecmaFeatures: {
|
|
11
|
-
jsx: false,
|
|
12
|
-
globalReturn: false
|
|
13
|
-
},
|
|
14
|
-
projectService: true
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
5
|
export const typescriptSettings = {
|
|
18
6
|
'import/parsers': {
|
|
19
7
|
'@typescript-eslint/parser': typescriptExtensions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-environment.js","sourceRoot":"","sources":["../../../../../configs/presets/typescript/typescript-environment.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"typescript-environment.js","sourceRoot":"","sources":["../../../../../configs/presets/typescript/typescript-environment.ts"],"names":[],"mappings":"AAAA,OAA6B,2BAA2B,CAAC;AACzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAm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EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YACjE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;SAClE;KACJ;CACJ,CAAC"}
|
package/sbom.cdx.json
CHANGED
|
@@ -9,31 +9,31 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.99"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@enormora/eslint-config-typescript",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.
|
|
21
|
-
"purl": "pkg:npm/@enormora/eslint-config-typescript@0.0.
|
|
19
|
+
"version": "0.0.71",
|
|
20
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.71",
|
|
21
|
+
"purl": "pkg:npm/@enormora/eslint-config-typescript@0.0.71"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
25
25
|
{
|
|
26
26
|
"type": "library",
|
|
27
27
|
"name": "@enormora/eslint-config-base",
|
|
28
|
-
"version": "0.0.
|
|
29
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
28
|
+
"version": "0.0.63",
|
|
29
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.63",
|
|
30
30
|
"scope": "optional",
|
|
31
31
|
"licenses": [
|
|
32
32
|
{
|
|
33
33
|
"expression": "MIT"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
|
-
"purl": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
36
|
+
"purl": "pkg:npm/@enormora/eslint-config-base@0.0.63"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"type": "library",
|
|
@@ -155,12 +155,12 @@
|
|
|
155
155
|
],
|
|
156
156
|
"dependencies": [
|
|
157
157
|
{
|
|
158
|
-
"ref": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
158
|
+
"ref": "pkg:npm/@enormora/eslint-config-base@0.0.63"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.
|
|
161
|
+
"ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.71",
|
|
162
162
|
"dependsOn": [
|
|
163
|
-
"pkg:npm/@enormora/eslint-config-base@0.0.
|
|
163
|
+
"pkg:npm/@enormora/eslint-config-base@0.0.63",
|
|
164
164
|
"pkg:npm/@typescript-eslint/eslint-plugin@8.67.0",
|
|
165
165
|
"pkg:npm/@typescript-eslint/parser@8.67.0",
|
|
166
166
|
"pkg:npm/@typescript-eslint/type-utils@8.67.0",
|