Skip to content

Commit 206c1e3

Browse files
committed
Add npm badge
1 parent 4abcc22 commit 206c1e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# eslint-plugin-react-refresh
1+
# eslint-plugin-react-refresh [![npm](https://img.shields.io/npm/v/eslint-plugin-react-refresh)](https://www.npmjs.com/package/eslint-plugin-react-refresh)
22

33
Validate that your components can safely be updated with fast refresh.
44

@@ -43,13 +43,13 @@ export * from "./foo";
4343

4444
## Pass
4545

46-
```js
46+
```jsx
4747
export default function Foo() {
4848
return <></>;
4949
}
5050
```
5151

52-
```js
52+
```jsx
5353
const foo = () => {};
5454
export const Bar = () => <></>;
5555
```

0 commit comments

Comments
 (0)