eslint-plugin-svelte 3.2.0 → 3.2.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.
- package/lib/main.d.ts +1 -1
- package/lib/meta.d.ts +1 -1
- package/lib/meta.js +1 -1
- package/lib/rules/no-unused-props.js +1 -1
- package/package.json +1 -1
package/lib/main.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const configs: {
|
|
|
14
14
|
export declare const rules: Record<string, Rule.RuleModule>;
|
|
15
15
|
export declare const meta: {
|
|
16
16
|
name: "eslint-plugin-svelte";
|
|
17
|
-
version: "3.2.
|
|
17
|
+
version: "3.2.1";
|
|
18
18
|
};
|
|
19
19
|
export declare const processors: {
|
|
20
20
|
'.svelte': typeof processor;
|
package/lib/meta.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "eslint-plugin-svelte";
|
|
2
|
-
export declare const version = "3.2.
|
|
2
|
+
export declare const version = "3.2.1";
|
package/lib/meta.js
CHANGED
|
@@ -267,7 +267,7 @@ export default createRule('no-unused-props', {
|
|
|
267
267
|
.filter((v) => v.type === 'Identifier');
|
|
268
268
|
for (const identifier of identifiers) {
|
|
269
269
|
const paths = getUsedNestedPropertyNames(identifier);
|
|
270
|
-
usedPaths.push(...paths);
|
|
270
|
+
usedPaths.push(...paths.map((path) => [identifier.name, ...path]));
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
else if (node.id.type === 'Identifier') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-svelte",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "ESLint plugin for Svelte using AST",
|
|
5
5
|
"repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git",
|
|
6
6
|
"homepage": "https://sveltejs.github.io/eslint-plugin-svelte",
|