Skip to content

Commit

Permalink
Release 0.4.0 [publish]
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Apr 30, 2023
1 parent 774976b commit add5efb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.4.0

### Add `allowConstantExport` option (fixes #8)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ createRoot(document.getElementById("root")).render(<App />);

## Options

### allowConstantExport
### allowConstantExport <small>(v0.4.0)</small>

Don't warn when a constant (string, number, boolean, templateLiteral) is exported aside one or more components.

Expand All @@ -98,7 +98,7 @@ This should be enabled if the fast refresh implementation correctly handles this
}
```

### checkJS
### checkJS <small>(v0.3.3)</small>

If your using JSX inside `.js` files (which I don't recommend because it forces you to configure every tool you use to switch the parser), you can still use the plugin by enabling this option. To reduce the number of false positive, only files importing `react` are checked.

Expand Down
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-react-refresh",
"version": "0.3.5",
"version": "0.4.0",
"license": "MIT",
"scripts": {
"build": "scripts/bundle.ts",
Expand Down

0 comments on commit add5efb

Please sign in to comment.