@2digits/oxlint-plugin 0.3.4 → 0.3.5
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/dist/index.d.mts +0 -6
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Plugin } from "@oxlint/plugins";
|
|
2
2
|
import * as Arr from "effect/Array";
|
|
3
|
-
//#region src/rules/index.d.ts
|
|
4
3
|
export declare const rules: {
|
|
5
4
|
readonly 'alchemy-no-cloudflare-init-finalizer': import("effect-oxlint").OxlintRule;
|
|
6
5
|
readonly 'alchemy-no-deprecated-docker-constraints': import("effect-oxlint").OxlintRule;
|
|
@@ -61,8 +60,6 @@ export declare const rules: {
|
|
|
61
60
|
readonly 'require-try-promise-abort-signal': import("effect-oxlint").OxlintRule;
|
|
62
61
|
readonly 'throw-in-effect-gen': import("effect-oxlint").OxlintRule;
|
|
63
62
|
};
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region src/rules/padding-line-between-statements.d.ts
|
|
66
63
|
type PaddingType = 'any' | 'never' | 'always';
|
|
67
64
|
type LineMode = 'any' | 'singleline' | 'multiline';
|
|
68
65
|
interface SelectorOption {
|
|
@@ -82,10 +79,7 @@ interface PaddingLineOption {
|
|
|
82
79
|
readonly prev: StatementOption;
|
|
83
80
|
readonly next: StatementOption;
|
|
84
81
|
}
|
|
85
|
-
//#endregion
|
|
86
|
-
//#region src/index.d.ts
|
|
87
82
|
export type RuleName = keyof typeof rules;
|
|
88
83
|
export declare const recommendedRules: Record<`2digits/${string}`, "error">;
|
|
89
84
|
declare const plugin: Plugin;
|
|
90
|
-
//#endregion
|
|
91
85
|
export { type PaddingLineOption, plugin as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/oxlint-plugin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Custom Oxlint rules for 2digits projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2digits",
|
|
@@ -29,19 +29,19 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@oxlint/plugins": "1.89.0",
|
|
32
|
-
"effect": "4.0.
|
|
32
|
+
"effect": "4.0.6",
|
|
33
33
|
"effect-oxlint": "0.4.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@2digits/tsconfig": "1.0.
|
|
36
|
+
"@2digits/tsconfig": "1.0.5",
|
|
37
37
|
"@arethetypeswrong/core": "0.18.5",
|
|
38
|
-
"@effect/platform-node": "4.0.
|
|
39
|
-
"@effect/vitest": "4.0.
|
|
38
|
+
"@effect/platform-node": "4.0.6",
|
|
39
|
+
"@effect/vitest": "4.0.6",
|
|
40
40
|
"dedent": "1.7.2",
|
|
41
41
|
"oxlint": "1.89.0",
|
|
42
42
|
"publint": "0.3.25",
|
|
43
43
|
"typescript": "7.1.0-beta",
|
|
44
|
-
"vite-plus": "1.
|
|
44
|
+
"vite-plus": "1.4.0",
|
|
45
45
|
"vitest": "5.0.5"
|
|
46
46
|
},
|
|
47
47
|
"public": true,
|