@ghostvue/eslint-plugin 0.1.0 → 0.2.0
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.
|
@@ -23,8 +23,10 @@ export interface GhostComponentContract {
|
|
|
23
23
|
export declare function resolveGhostComponentPackage(source: string): GhostComponentPackage | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Contract for `exportName` from `packageName`, or `undefined` when that export
|
|
26
|
-
* has no manifest (helpers,
|
|
27
|
-
*
|
|
26
|
+
* has no manifest (helpers, names the package does not export). A themed
|
|
27
|
+
* compound part without a themed manifest carries the headless contract it
|
|
28
|
+
* forwards to (see `buildEslintComponentIndex`). Callers must treat `undefined`
|
|
29
|
+
* as "no evidence" and stay silent.
|
|
28
30
|
*/
|
|
29
31
|
export declare function lookupComponentContract(packageName: GhostComponentPackage, exportName: string): GhostComponentContract | undefined;
|
|
30
32
|
/** Public docs URL for a contract, used in diagnostics. */
|
package/dist/component-index.js
CHANGED
|
@@ -26,8 +26,10 @@ export function resolveGhostComponentPackage(source) {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Contract for `exportName` from `packageName`, or `undefined` when that export
|
|
29
|
-
* has no manifest (helpers,
|
|
30
|
-
*
|
|
29
|
+
* has no manifest (helpers, names the package does not export). A themed
|
|
30
|
+
* compound part without a themed manifest carries the headless contract it
|
|
31
|
+
* forwards to (see `buildEslintComponentIndex`). Callers must treat `undefined`
|
|
32
|
+
* as "no evidence" and stay silent.
|
|
31
33
|
*/
|
|
32
34
|
export function lookupComponentContract(packageName, exportName) {
|
|
33
35
|
const components = componentIndex[packageName];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ghostvue/eslint-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "ESLint rules that check GhostVue component props, slots, and v-model bindings in Vue templates against the component manifests.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|