eslint-plugin-import-template 1.0.0 → 1.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/README.md +2 -2
- package/package.json +21 -7
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# eslint-plugin-import-template
|
|
2
2
|
|
|
3
|
-
An
|
|
3
|
+
An ESLint plugin for Vue SFC templates that checks unresolved static asset paths in `src` and `href` attributes.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It helps find missing local images, icons, and other template assets referenced by Vue single-file components before they become runtime 404 errors.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-import-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "1.0.2",
|
|
5
|
+
"description": "ESLint plugin for checking unresolved static asset paths in Vue SFC templates.",
|
|
6
6
|
"author": "TRIS-H <2218975525@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://github.com/TRIS-H/eslint-plugin-import-template#readme",
|
|
@@ -11,18 +11,32 @@
|
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/TRIS-H/eslint-plugin-import-template"
|
|
14
|
+
"url": "git+https://github.com/TRIS-H/eslint-plugin-import-template.git"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"eslint",
|
|
18
18
|
"eslintplugin",
|
|
19
19
|
"eslint-plugin",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
20
|
+
"eslint-rule",
|
|
21
|
+
"vue",
|
|
22
|
+
"vue3",
|
|
23
|
+
"vue-sfc",
|
|
24
|
+
"vue-template",
|
|
25
|
+
"vue-eslint-parser",
|
|
23
26
|
"assets",
|
|
27
|
+
"static-assets",
|
|
28
|
+
"asset-check",
|
|
29
|
+
"asset-exists",
|
|
30
|
+
"template-assets",
|
|
31
|
+
"unresolved-import",
|
|
32
|
+
"no-unresolved",
|
|
33
|
+
"src",
|
|
34
|
+
"href",
|
|
35
|
+
"src-href",
|
|
36
|
+
"path-alias",
|
|
37
|
+
"alias",
|
|
24
38
|
"import",
|
|
25
|
-
"
|
|
39
|
+
"template"
|
|
26
40
|
],
|
|
27
41
|
"exports": {
|
|
28
42
|
".": "./dist/index.mjs",
|