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",