eslint-plugin-import-template 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +21 -7
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # eslint-plugin-import-template
2
2
 
3
- An eslint plugin that checks the existence of static resources in the template, for example, checks whether the static resource files introduced in the sfc module exist.
3
+ An ESLint plugin for Vue SFC templates that checks unresolved static asset paths in `src` and `href` attributes.
4
4
 
5
- This plugin currently only supports static resource checking of the vue-sfc template.
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
+
7
+ Keywords: ESLint rule, Vue SFC, Vue template, vue-eslint-parser, static assets, asset exists, unresolved import, no-unresolved, src href, path alias.
6
8
 
7
9
  ## Install
8
10
 
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.0",
5
- "description": "A starter for creating a TypeScript package.",
4
+ "version": "1.0.1",
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
- "es6",
21
- "jsnext",
22
- "modules",
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
- "export"
39
+ "template"
26
40
  ],
27
41
  "exports": {
28
42
  ".": "./dist/index.mjs",