Skip to content

Commit

Permalink
publish v2.0.0 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
tatethurston authored May 2, 2022
1 parent 38e5acb commit be61928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ class Foo extends Component {
Examples of **correct** code for this rule:

```jsx
const Foo = function (props) {
function Foo(props) {
return <div>{props.foo}</div>;
};
}
```

```jsx
Expand Down
2 changes: 1 addition & 1 deletion public.package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-prefer-function-component",
"version": "2.0.0-rc1",
"version": "2.0.0",
"description": "ESLint plugin that prevents the use of JSX class components",
"license": "MIT",
"author": "Tate <[email protected]>",
Expand Down

0 comments on commit be61928

Please sign in to comment.