Skip to content

Commit add5efb

Browse files
committed
Release 0.4.0 [publish]
1 parent 774976b commit add5efb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.4.0
44

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

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ createRoot(document.getElementById("root")).render(<App />);
8383

8484
## Options
8585

86-
### allowConstantExport
86+
### allowConstantExport <small>(v0.4.0)</small>
8787

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

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

101-
### checkJS
101+
### checkJS <small>(v0.3.3)</small>
102102

103103
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.
104104

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-refresh",
3-
"version": "0.3.5",
3+
"version": "0.4.0",
44
"license": "MIT",
55
"scripts": {
66
"build": "scripts/bundle.ts",

0 commit comments

Comments
 (0)