@qntx/oxlint 1.0.2 → 1.0.3
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 +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Shareable [Oxlint](https://oxc.rs/docs/guide/usage/linter.html) config for Vite+
|
|
|
4
4
|
|
|
5
5
|
Clippy-mapped strictness: type safety and correctness fail the build (`any`, `!`, unsafe, floating promises, React Compiler). Tests relax like `allow-unwrap-in-tests`. Formatting is [`@qntx/oxfmt`](https://www.npmjs.com/package/@qntx/oxfmt), not lint.
|
|
6
6
|
|
|
7
|
-
Requires **oxlint 1.82.0**. Vite+ 0.3.1 nests 1.81.0; this repo overrides that. Vite+
|
|
7
|
+
Requires **oxlint ^1.82.0**. Vite+ 0.3.1 nests 1.81.0; this repo overrides that. Vite+ 0.3.2 and later already satisfy the peer (0.3.3 nests 1.83.0).
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
package/dist/index.d.mts
CHANGED
|
@@ -522,7 +522,7 @@ export declare const config: {
|
|
|
522
522
|
"unicorn/no-magic-array-flat-depth": "error";
|
|
523
523
|
"unicorn/no-negated-condition": "error";
|
|
524
524
|
"unicorn/no-negation-in-equality-check": "error";
|
|
525
|
-
"unicorn/no-nested-ternary": "
|
|
525
|
+
"unicorn/no-nested-ternary": "off";
|
|
526
526
|
"unicorn/no-new-array": "error";
|
|
527
527
|
"unicorn/no-new-buffer": "error";
|
|
528
528
|
"unicorn/no-null": "off";
|
|
@@ -550,7 +550,7 @@ export declare const config: {
|
|
|
550
550
|
"unicorn/no-useless-switch-case": "error";
|
|
551
551
|
"unicorn/no-useless-undefined": "off";
|
|
552
552
|
"unicorn/no-zero-fractions": "error";
|
|
553
|
-
"unicorn/number-literal-case": "
|
|
553
|
+
"unicorn/number-literal-case": "off";
|
|
554
554
|
"unicorn/numeric-separators-style": ["error", {
|
|
555
555
|
onlyIfContainsSeparator: true;
|
|
556
556
|
}];
|
package/dist/index.mjs
CHANGED
|
@@ -496,7 +496,7 @@ const config = {
|
|
|
496
496
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
497
497
|
"unicorn/no-negated-condition": "error",
|
|
498
498
|
"unicorn/no-negation-in-equality-check": "error",
|
|
499
|
-
"unicorn/no-nested-ternary": "
|
|
499
|
+
"unicorn/no-nested-ternary": "off",
|
|
500
500
|
"unicorn/no-new-array": "error",
|
|
501
501
|
"unicorn/no-new-buffer": "error",
|
|
502
502
|
"unicorn/no-null": "off",
|
|
@@ -522,7 +522,7 @@ const config = {
|
|
|
522
522
|
"unicorn/no-useless-switch-case": "error",
|
|
523
523
|
"unicorn/no-useless-undefined": "off",
|
|
524
524
|
"unicorn/no-zero-fractions": "error",
|
|
525
|
-
"unicorn/number-literal-case": "
|
|
525
|
+
"unicorn/number-literal-case": "off",
|
|
526
526
|
"unicorn/numeric-separators-style": ["error", { onlyIfContainsSeparator: true }],
|
|
527
527
|
"unicorn/prefer-add-event-listener": "error",
|
|
528
528
|
"unicorn/prefer-array-find": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qntx/oxlint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Shareable Oxlint config for Vite+ apps and TypeScript libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/qntx/oxc/issues"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"author": "QuantX <x@qntx.
|
|
19
|
+
"author": "QuantX <x@qntx.org>",
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
22
|
"url": "git+https://github.com/qntx/oxc.git",
|