@robot-inventor/oxlint-config 0.1.1 → 0.2.0
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 +2 -5
- package/dist/index.d.ts +12 -0
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# oxlint-config
|
|
2
2
|
|
|
3
|
-
[@Robot-Inventor](https://github.com/Robot-Inventor/)'s
|
|
3
|
+
[@Robot-Inventor](https://github.com/Robot-Inventor/)'s Oxlint config presets.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -31,8 +31,7 @@ The `NoJSDoc` presets check existing JSDoc comments but do not require JSDoc on
|
|
|
31
31
|
|
|
32
32
|
## Overriding rules
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
that type-aware linting, settings, and JavaScript plugin registrations are retained:
|
|
34
|
+
Do not use a preset only through `extends: [preset]`; root-level options and settings would not be inherited.
|
|
36
35
|
|
|
37
36
|
```ts
|
|
38
37
|
import { oxlintNextConfigNoJSDoc } from "@robot-inventor/oxlint-config";
|
|
@@ -45,5 +44,3 @@ export default defineConfig({
|
|
|
45
44
|
}
|
|
46
45
|
});
|
|
47
46
|
```
|
|
48
|
-
|
|
49
|
-
Do not use a preset only through `extends: [preset]`; root-level options and settings would not be inherited.
|
package/dist/index.d.ts
CHANGED
|
@@ -1405,6 +1405,9 @@ declare const oxlintReactConfigNoJSDoc: {
|
|
|
1405
1405
|
};
|
|
1406
1406
|
readonly "react-doctor": {
|
|
1407
1407
|
readonly capabilities: readonly ["react-compiler"];
|
|
1408
|
+
readonly jsxMaxDepth: {
|
|
1409
|
+
readonly max: 4;
|
|
1410
|
+
};
|
|
1408
1411
|
};
|
|
1409
1412
|
};
|
|
1410
1413
|
};
|
|
@@ -1935,6 +1938,9 @@ declare const oxlintReactConfig: {
|
|
|
1935
1938
|
};
|
|
1936
1939
|
readonly "react-doctor": {
|
|
1937
1940
|
readonly capabilities: readonly ["react-compiler"];
|
|
1941
|
+
readonly jsxMaxDepth: {
|
|
1942
|
+
readonly max: 4;
|
|
1943
|
+
};
|
|
1938
1944
|
};
|
|
1939
1945
|
};
|
|
1940
1946
|
};
|
|
@@ -2475,6 +2481,9 @@ declare const oxlintNextConfigNoJSDoc: {
|
|
|
2475
2481
|
};
|
|
2476
2482
|
readonly "react-doctor": {
|
|
2477
2483
|
readonly capabilities: readonly ["react-compiler"];
|
|
2484
|
+
readonly jsxMaxDepth: {
|
|
2485
|
+
readonly max: 4;
|
|
2486
|
+
};
|
|
2478
2487
|
};
|
|
2479
2488
|
};
|
|
2480
2489
|
};
|
|
@@ -3034,6 +3043,9 @@ declare const oxlintNextConfig: {
|
|
|
3034
3043
|
};
|
|
3035
3044
|
readonly "react-doctor": {
|
|
3036
3045
|
readonly capabilities: readonly ["react-compiler"];
|
|
3046
|
+
readonly jsxMaxDepth: {
|
|
3047
|
+
readonly max: 4;
|
|
3048
|
+
};
|
|
3037
3049
|
};
|
|
3038
3050
|
};
|
|
3039
3051
|
};
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robot-inventor/oxlint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "My Oxlint config preset",
|
|
5
5
|
"homepage": "https://github.com/Robot-Inventor/oxlint-config#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "tsc",
|
|
32
|
-
"lint": "oxlint src oxlint.config.ts",
|
|
32
|
+
"lint": "tsc && oxlint src oxlint.config.ts",
|
|
33
33
|
"format": "prettier --write \"src/**/*.ts\" oxlint.config.ts",
|
|
34
34
|
"format:check": "prettier --check \"src/**/*.ts\" oxlint.config.ts",
|
|
35
35
|
"ci:version": "changeset version",
|