From add5efba30007d1078d248def58c44ceb72f90dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Barr=C3=A9?= Date: Sun, 30 Apr 2023 14:57:54 +0200 Subject: [PATCH] Release 0.4.0 [publish] --- CHANGELOG.md | 2 +- README.md | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc52086..bfdc0b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 0.4.0 ### Add `allowConstantExport` option (fixes #8) diff --git a/README.md b/README.md index 8a1963b..1b976b0 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ createRoot(document.getElementById("root")).render(); ## Options -### allowConstantExport +### allowConstantExport (v0.4.0) Don't warn when a constant (string, number, boolean, templateLiteral) is exported aside one or more components. @@ -98,7 +98,7 @@ This should be enabled if the fast refresh implementation correctly handles this } ``` -### checkJS +### checkJS (v0.3.3) 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. diff --git a/package.json b/package.json index 2070fea..cc9347d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-react-refresh", - "version": "0.3.5", + "version": "0.4.0", "license": "MIT", "scripts": { "build": "scripts/bundle.ts",