Skip to content

Commit

Permalink
Prettier and published.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwilsonvu committed Jan 5, 2022
1 parent dbabffa commit 3b3a79a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-solid",
"version": "0.3.0",
"version": "0.3.1",
"description": "Solid-specific linting rules for ESLint.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-unknown-namespaces.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { TSESLint, TSESTree as T } from '@typescript-eslint/experimental-utils'
import type { TSESLint, TSESTree as T } from "@typescript-eslint/experimental-utils";

const knownNamespaces = ["on", "oncapture", "use", "prop", "attr"];
const styleNamespaces = ["style", "class"];
Expand Down
1 change: 0 additions & 1 deletion test/rules/jsx-no-undef.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,3 @@ let el = <For each={items}>{item => item.name}</For>`,
},
],
});

4 changes: 2 additions & 2 deletions test/rules/no-destructure.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { run } from "../ruleTester";
import rule from "../../src/rules/no-destructure";

export const cases = run('no-destructure', rule, {
export const cases = run("no-destructure", rule, {
valid: [
`let Component = props => <div />`,
`let Component = (props) => <div />`,
Expand Down Expand Up @@ -241,4 +241,4 @@ various();
}`,
},
],
})
});
2 changes: 1 addition & 1 deletion test/rules/no-innerhtml.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AST_NODE_TYPES as T } from "@typescript-eslint/experimental-utils";
import { run } from "../ruleTester";
import rule from "../../src/rules/no-innerhtml";

export const cases = run('no-innerhtml', rule, {
export const cases = run("no-innerhtml", rule, {
valid: [
`let el = <div prop1 prop2={2}>Hello world!</div>`,
`let el = <Box prop1 prop2={2}>Hello world!</Box>`,
Expand Down
2 changes: 1 addition & 1 deletion test/rules/prefer-classlist.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { run } from "../ruleTester";
import rule from "../../src/rules/prefer-classlist";

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

0 comments on commit 3b3a79a

Please sign in to comment.