Skip to content

Commit 7c28cbc

Browse files
author
Josh Wilson
committed
Fixed pre-commit.
1 parent fff6b75 commit 7c28cbc

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
. "$(dirname "$0")/_/husky.sh"
33

44
yarn build
5-
git add README.md
5+
git add README.md docs/*
66
yarn lint-staged

docs/no-innerhtml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ let el = <div dangerouslySetInnerHTML={foo} />;
7575
let el = <div dangerouslySetInnerHTML={{}} />;
7676

7777
```
78+
7879
### Valid Examples
7980

8081
These snippets don't cause lint errors.
@@ -102,5 +103,4 @@ let el = <div prop1 prop2={2} innerHTML={"<p>Hello</p>" + "<p>world!</p>"} />;
102103
let el = <div prop1 prop2={2} innerHTML="<p>Hello</p><p>world!</p>"></div>;
103104

104105
```
105-
106106
<!-- AUTO-GENERATED-CONTENT:END -->

docs/no-react-specific-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ let el = <PascalComponent htmlFor="id">Hello world!</PascalComponent>;
7070
let el = <PascalComponent for="id">Hello world!</PascalComponent>;
7171

7272
```
73+
7374
### Valid Examples
7475

7576
These snippets don't cause lint errors.
@@ -102,5 +103,4 @@ let el = (
102103
let el = <PascalComponent class="greeting" for="id" />;
103104

104105
```
105-
106106
<!-- AUTO-GENERATED-CONTENT:END -->

docs/no-unknown-namespaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ let el = <div class:mt-10={true} />;
3030
let el = <div class:mt-10 />;
3131

3232
```
33+
3334
### Valid Examples
3435

3536
These snippets don't cause lint errors.
@@ -54,5 +55,4 @@ let el = <div prop:scrollTop="0px" />;
5455
let el = <div attr:title="title" />;
5556

5657
```
57-
5858
<!-- AUTO-GENERATED-CONTENT:END -->

docs/prefer-classlist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ let el = (
5555
);
5656

5757
```
58+
5859
### Valid Examples
5960

6061
These snippets don't cause lint errors.
@@ -90,5 +91,4 @@ let el = (
9091
let el = <div class={clsx({ red: true })}>Hello, world!</div>;
9192

9293
```
93-
9494
<!-- AUTO-GENERATED-CONTENT:END -->

docs/prefer-for.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ let Component = (props) => (
8080
);
8181

8282
```
83+
8384
### Valid Examples
8485

8586
These snippets don't cause lint errors.
@@ -99,5 +100,4 @@ let Component = (props) => {
99100
};
100101

101102
```
102-
103103
<!-- AUTO-GENERATED-CONTENT:END -->

docs/style-prop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ let el = <div style={{ padding: 0 }}>Hello, world!</div>;
7777
let el = <div style={{ padding: "0" }}>Hello, world!</div>;
7878

7979
```
80+
8081
### Valid Examples
8182

8283
These snippets don't cause lint errors.
@@ -113,5 +114,4 @@ let el = <div css={{ color: "red" }}>Hello, world</div>;
113114
let el = <div style={{ fontSize: 10 }}>Hello, world!</div>;
114115

115116
```
116-
117117
<!-- AUTO-GENERATED-CONTENT:END -->

0 commit comments

Comments
 (0)