Skip to content

Commit be61928

Browse files
authored
publish v2.0.0 (#6)
1 parent 38e5acb commit be61928

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ class Foo extends Component {
104104
Examples of **correct** code for this rule:
105105

106106
```jsx
107-
const Foo = function (props) {
107+
function Foo(props) {
108108
return <div>{props.foo}</div>;
109-
};
109+
}
110110
```
111111

112112
```jsx

public.package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-prefer-function-component",
3-
"version": "2.0.0-rc1",
3+
"version": "2.0.0",
44
"description": "ESLint plugin that prevents the use of JSX class components",
55
"license": "MIT",
66
"author": "Tate <[email protected]>",

0 commit comments

Comments
 (0)