Skip to content

Commit 3b3a79a

Browse files
committed
Prettier and published.
1 parent dbabffa commit 3b3a79a

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-solid",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Solid-specific linting rules for ESLint.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/rules/no-unknown-namespaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TSESLint, TSESTree as T } from '@typescript-eslint/experimental-utils'
1+
import type { TSESLint, TSESTree as T } from "@typescript-eslint/experimental-utils";
22

33
const knownNamespaces = ["on", "oncapture", "use", "prop", "attr"];
44
const styleNamespaces = ["style", "class"];

test/rules/jsx-no-undef.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,3 @@ let el = <For each={items}>{item => item.name}</For>`,
166166
},
167167
],
168168
});
169-

test/rules/no-destructure.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { run } from "../ruleTester";
22
import rule from "../../src/rules/no-destructure";
33

4-
export const cases = run('no-destructure', rule, {
4+
export const cases = run("no-destructure", rule, {
55
valid: [
66
`let Component = props => <div />`,
77
`let Component = (props) => <div />`,
@@ -241,4 +241,4 @@ various();
241241
}`,
242242
},
243243
],
244-
})
244+
});

test/rules/no-innerhtml.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { AST_NODE_TYPES as T } from "@typescript-eslint/experimental-utils";
22
import { run } from "../ruleTester";
33
import rule from "../../src/rules/no-innerhtml";
44

5-
export const cases = run('no-innerhtml', rule, {
5+
export const cases = run("no-innerhtml", rule, {
66
valid: [
77
`let el = <div prop1 prop2={2}>Hello world!</div>`,
88
`let el = <Box prop1 prop2={2}>Hello world!</Box>`,

test/rules/prefer-classlist.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { run } from "../ruleTester";
22
import rule from "../../src/rules/prefer-classlist";
33

4-
export const cases = run('prefer-classlist', rule, {
4+
export const cases = run("prefer-classlist", rule, {
55
valid: [
66
`let el = <div classlist={{ red: true }}>Hello, world!</div>`,
77
`let el = <div class="red">Hello, world!</div>`,

0 commit comments

Comments
 (0)