@enormora/eslint-config-astro-ts 0.0.5 → 0.0.7
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
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@enormora/eslint-config-astro": "0.0.
|
|
11
|
-
"@typescript-eslint/parser": "8.
|
|
10
|
+
"@enormora/eslint-config-astro": "0.0.7",
|
|
11
|
+
"@typescript-eslint/parser": "8.61.0",
|
|
12
12
|
"astro-eslint-parser": "1.4.0"
|
|
13
13
|
},
|
|
14
14
|
"description": "Enormora’s ESLint Astro with TypeScript configuration",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"type": "module",
|
|
28
|
-
"version": "0.0.
|
|
28
|
+
"version": "0.0.7"
|
|
29
29
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import typescriptParser from '@typescript-eslint/parser';
|
|
2
2
|
import * as astroParser from 'astro-eslint-parser';
|
|
3
|
-
import { astroClientScriptGlobals, astroComponentGlobals, astroPluginConfig, astroRules } from
|
|
4
|
-
|
|
3
|
+
import { astroClientScriptGlobals, astroComponentGlobals, astroPluginConfig, astroRules } from "@enormora/eslint-config-astro";
|
|
5
4
|
export const astroConfig = [
|
|
6
5
|
astroPluginConfig,
|
|
7
6
|
{
|
|
8
|
-
files: [
|
|
7
|
+
files: ['*.astro', '**/*.astro'],
|
|
9
8
|
languageOptions: {
|
|
10
9
|
parser: astroParser,
|
|
11
10
|
globals: astroComponentGlobals,
|
|
12
11
|
parserOptions: {
|
|
13
12
|
parser: typescriptParser,
|
|
14
|
-
extraFileExtensions: [
|
|
13
|
+
extraFileExtensions: ['.astro'],
|
|
15
14
|
warnOnUnsupportedTypeScriptVersion: false,
|
|
16
15
|
sourceType: 'module'
|
|
17
16
|
}
|
|
@@ -20,7 +19,7 @@ export const astroConfig = [
|
|
|
20
19
|
rules: astroRules
|
|
21
20
|
},
|
|
22
21
|
{
|
|
23
|
-
files: [
|
|
22
|
+
files: ['*.astro/*.js', '**/*.astro/*.js'],
|
|
24
23
|
languageOptions: {
|
|
25
24
|
globals: astroClientScriptGlobals,
|
|
26
25
|
parserOptions: {
|
|
@@ -29,7 +28,7 @@ export const astroConfig = [
|
|
|
29
28
|
}
|
|
30
29
|
},
|
|
31
30
|
{
|
|
32
|
-
files: [
|
|
31
|
+
files: ['*.astro/*.ts', '**/*.astro/*.ts'],
|
|
33
32
|
languageOptions: {
|
|
34
33
|
parser: typescriptParser,
|
|
35
34
|
globals: astroClientScriptGlobals,
|
|
@@ -41,3 +40,4 @@ export const astroConfig = [
|
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
42
|
];
|
|
43
|
+
//# sourceMappingURL=astro-ts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"astro-ts.js","sourceRoot":"","sources":["../../../../../configs/presets/astro-ts/astro-ts.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAEnD,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEnH,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,iBAAiB;IACjB;QACI,KAAK,EAAE,CAAE,SAAS,EAAE,YAAY,CAAE;QAClC,eAAe,EAAE;YACb,MAAM,EAAE,WAAW;YACnB,OAAO,EAAE,qBAAqB;YAC9B,aAAa,EAAE;gBACX,MAAM,EAAE,gBAAgB;gBACxB,mBAAmB,EAAE,CAAE,QAAQ,CAAE;gBACjC,kCAAkC,EAAE,KAAK;gBACzC,UAAU,EAAE,QAAQ;aACvB;SACJ;QACD,SAAS,EAAE,sBAAsB;QACjC,KAAK,EAAE,UAAU;KACpB;IACD;QACI,KAAK,EAAE,CAAE,cAAc,EAAE,iBAAiB,CAAE;QAC5C,eAAe,EAAE;YACb,OAAO,EAAE,wBAAwB;YACjC,aAAa,EAAE;gBACX,UAAU,EAAE,QAAQ;aACvB;SACJ;KACJ;IACD;QACI,KAAK,EAAE,CAAE,cAAc,EAAE,iBAAiB,CAAE;QAC5C,eAAe,EAAE;YACb,MAAM,EAAE,gBAAgB;YACxB,OAAO,EAAE,wBAAwB;YACjC,aAAa,EAAE;gBACX,kCAAkC,EAAE,KAAK;gBACzC,UAAU,EAAE,QAAQ;gBACpB,OAAO,EAAE,IAAI;aAChB;SACJ;KACJ;CAC0B,CAAC"}
|
package/sbom.cdx.json
CHANGED
|
@@ -9,44 +9,44 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.34"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@enormora/eslint-config-astro-ts",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.
|
|
21
|
-
"purl": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.
|
|
19
|
+
"version": "0.0.7",
|
|
20
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.7",
|
|
21
|
+
"purl": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.7"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
25
25
|
{
|
|
26
26
|
"type": "library",
|
|
27
27
|
"name": "@enormora/eslint-config-astro",
|
|
28
|
-
"version": "0.0.
|
|
29
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-astro@0.0.
|
|
28
|
+
"version": "0.0.7",
|
|
29
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-astro@0.0.7",
|
|
30
30
|
"scope": "required",
|
|
31
31
|
"licenses": [
|
|
32
32
|
{
|
|
33
33
|
"expression": "MIT"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
|
-
"purl": "pkg:npm/@enormora/eslint-config-astro@0.0.
|
|
36
|
+
"purl": "pkg:npm/@enormora/eslint-config-astro@0.0.7"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"type": "library",
|
|
40
40
|
"name": "@typescript-eslint/parser",
|
|
41
|
-
"version": "8.
|
|
42
|
-
"bom-ref": "pkg:npm/@typescript-eslint/parser@8.
|
|
41
|
+
"version": "8.61.0",
|
|
42
|
+
"bom-ref": "pkg:npm/@typescript-eslint/parser@8.61.0",
|
|
43
43
|
"scope": "required",
|
|
44
44
|
"licenses": [
|
|
45
45
|
{
|
|
46
46
|
"expression": "MIT"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
-
"purl": "pkg:npm/@typescript-eslint/parser@8.
|
|
49
|
+
"purl": "pkg:npm/@typescript-eslint/parser@8.61.0"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"type": "library",
|
|
@@ -64,18 +64,18 @@
|
|
|
64
64
|
],
|
|
65
65
|
"dependencies": [
|
|
66
66
|
{
|
|
67
|
-
"ref": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.
|
|
67
|
+
"ref": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.7",
|
|
68
68
|
"dependsOn": [
|
|
69
|
-
"pkg:npm/@enormora/eslint-config-astro@0.0.
|
|
70
|
-
"pkg:npm/@typescript-eslint/parser@8.
|
|
69
|
+
"pkg:npm/@enormora/eslint-config-astro@0.0.7",
|
|
70
|
+
"pkg:npm/@typescript-eslint/parser@8.61.0",
|
|
71
71
|
"pkg:npm/astro-eslint-parser@1.4.0"
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
"ref": "pkg:npm/@enormora/eslint-config-astro@0.0.
|
|
75
|
+
"ref": "pkg:npm/@enormora/eslint-config-astro@0.0.7"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"ref": "pkg:npm/@typescript-eslint/parser@8.
|
|
78
|
+
"ref": "pkg:npm/@typescript-eslint/parser@8.61.0"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"ref": "pkg:npm/astro-eslint-parser@1.4.0"
|