oxlint-config-react-hooks-js 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ export default defineConfig({
|
|
|
130
130
|
});
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
The JSON import is typed as `OxlintConfig` via the bundled
|
|
133
|
+
The JSON import is typed as `OxlintConfig` via the bundled type declaration file exposed through the `types` subpath condition.
|
|
134
134
|
|
|
135
135
|
### Overriding rules
|
|
136
136
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint-config-react-hooks-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Oxlint config presets for eslint-plugin-react-hooks JS plugin (React Compiler rules)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
],
|
|
25
25
|
"type": "module",
|
|
26
26
|
"exports": {
|
|
27
|
-
"./configs
|
|
27
|
+
"./configs/*.json": {
|
|
28
|
+
"types": "./configs/oxlint-config.d.ts",
|
|
29
|
+
"default": "./configs/*.json"
|
|
30
|
+
}
|
|
28
31
|
},
|
|
29
32
|
"publishConfig": {
|
|
30
33
|
"directory": "dist"
|
|
File without changes
|