@enormora/eslint-config-astro-ts 0.0.2 → 0.0.4
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 +3 -3
- package/readme.md +14 -12
- package/sbom.cdx.json +15 -15
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"Christian Rackerseder <github@echooff.de>"
|
|
5
5
|
],
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@enormora/eslint-config-astro": "0.0.
|
|
8
|
-
"@typescript-eslint/parser": "8.
|
|
7
|
+
"@enormora/eslint-config-astro": "0.0.4",
|
|
8
|
+
"@typescript-eslint/parser": "8.60.1",
|
|
9
9
|
"astro-eslint-parser": "1.4.0"
|
|
10
10
|
},
|
|
11
11
|
"description": "Enormora’s ESLint Astro with TypeScript configuration",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
},
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"type": "module",
|
|
25
|
-
"version": "0.0.
|
|
25
|
+
"version": "0.0.4"
|
|
26
26
|
}
|
package/readme.md
CHANGED
|
@@ -12,22 +12,24 @@ Install the Astro preset, the base preset and the TypeScript package via npm:
|
|
|
12
12
|
npm install --save-dev @enormora/eslint-config-base @enormora/eslint-config-typescript @enormora/eslint-config-astro-ts
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
The preset package includes the `eslint-plugin-jsx-a11y` dependency required by Astro accessibility rules.
|
|
16
|
+
|
|
15
17
|
Create an ESLint configuration file (e.g., `eslint.config.js`) in your project and add the base, TypeScript and Astro config to the configuration array:
|
|
16
18
|
|
|
17
19
|
```javascript
|
|
18
|
-
import { astroConfig } from
|
|
19
|
-
import { baseConfig } from
|
|
20
|
-
import { typescriptConfig } from
|
|
20
|
+
import { astroConfig } from '@enormora/eslint-config-astro-ts';
|
|
21
|
+
import { baseConfig } from '@enormora/eslint-config-base';
|
|
22
|
+
import { typescriptConfig } from '@enormora/eslint-config-typescript';
|
|
21
23
|
|
|
22
24
|
export default [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
{
|
|
26
|
+
ignores: [ 'dist/**/*' ]
|
|
27
|
+
},
|
|
28
|
+
...baseConfig,
|
|
29
|
+
{
|
|
30
|
+
...typescriptConfig,
|
|
31
|
+
files: [ '**/*.ts' ]
|
|
32
|
+
},
|
|
33
|
+
...astroConfig
|
|
32
34
|
];
|
|
33
35
|
```
|
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.32"
|
|
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.4",
|
|
20
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.4",
|
|
21
|
+
"purl": "pkg:npm/@enormora/eslint-config-astro-ts@0.0.4"
|
|
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.4",
|
|
29
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-astro@0.0.4",
|
|
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.4"
|
|
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.60.1",
|
|
42
|
+
"bom-ref": "pkg:npm/@typescript-eslint/parser@8.60.1",
|
|
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.60.1"
|
|
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.4",
|
|
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.4",
|
|
70
|
+
"pkg:npm/@typescript-eslint/parser@8.60.1",
|
|
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.4"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"ref": "pkg:npm/@typescript-eslint/parser@8.
|
|
78
|
+
"ref": "pkg:npm/@typescript-eslint/parser@8.60.1"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"ref": "pkg:npm/astro-eslint-parser@1.4.0"
|