@conorroberts/utils 0.0.38 → 0.0.39
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/oxlint/config.json +68 -0
- package/dist/oxlint/jsx-component-pascal-case.d.mts +8 -8
- package/dist/oxlint/no-component-date-instantiation.d.mts +8 -8
- package/dist/oxlint/no-emoji.d.mts +4 -4
- package/dist/oxlint/no-finally.d.mts +4 -4
- package/dist/oxlint/no-inline-components.d.mts +11 -11
- package/dist/oxlint/no-react-namespace.d.mts +4 -4
- package/dist/oxlint/no-switch-plugin.d.mts +3 -3
- package/dist/oxlint/no-top-level-let.d.mts +4 -4
- package/dist/oxlint/no-type-cast.d.mts +4 -4
- package/package.json +2 -2
- package/dist/oxlint/config.d.mts +0 -46
- package/dist/oxlint/config.mjs +0 -71
- package/dist/oxlint/config.mjs.map +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../node_modules/oxlint/configuration_schema.json",
|
|
3
|
+
"plugins": [
|
|
4
|
+
"import",
|
|
5
|
+
"typescript",
|
|
6
|
+
"unicorn",
|
|
7
|
+
"react",
|
|
8
|
+
"react-perf",
|
|
9
|
+
"oxc",
|
|
10
|
+
"node",
|
|
11
|
+
"promise"
|
|
12
|
+
],
|
|
13
|
+
"env": {
|
|
14
|
+
"browser": true
|
|
15
|
+
},
|
|
16
|
+
"ignorePatterns": [
|
|
17
|
+
"packages/*/src/routeTree.gen.ts",
|
|
18
|
+
"packages/*/.output",
|
|
19
|
+
"packages/*/vite-plugins",
|
|
20
|
+
"packages/*/dist",
|
|
21
|
+
"packages/common/src/oxlint-plugins",
|
|
22
|
+
"**/node_modules"
|
|
23
|
+
],
|
|
24
|
+
"settings": {},
|
|
25
|
+
"rules": {
|
|
26
|
+
"@typescript-eslint/no-explicit-any": "error",
|
|
27
|
+
"@typescript-eslint/no-non-null-assertion": "error",
|
|
28
|
+
"react/button-has-type": "deny",
|
|
29
|
+
"react/rules-of-hooks": "deny",
|
|
30
|
+
"no-nested-ternary": "deny",
|
|
31
|
+
"react/exhaustive-deps": "deny",
|
|
32
|
+
"react/no-unstable-nested-components": "error",
|
|
33
|
+
"typescript/no-floating-promises": "off",
|
|
34
|
+
"no-unused-vars": "warn",
|
|
35
|
+
"typescript/no-import-type-side-effects": "deny",
|
|
36
|
+
"no-inline-components/no-inline-components": "error",
|
|
37
|
+
"@typescript-eslint/consistent-type-imports": "deny",
|
|
38
|
+
"no-switch-plugin/no-switch": "error",
|
|
39
|
+
"no-top-level-let/no-top-level-let": "error",
|
|
40
|
+
"no-finally/no-finally": "error",
|
|
41
|
+
"no-react-namespace/no-react-namespace": "error",
|
|
42
|
+
"no-type-cast/no-type-cast": "warn",
|
|
43
|
+
"no-emoji/no-emoji": "error",
|
|
44
|
+
"no-component-date-instantiation/no-component-date-instantiation": "warn",
|
|
45
|
+
"jsx-component-pascal-case/jsx-component-pascal-case": "error",
|
|
46
|
+
"react/self-closing-comp": [
|
|
47
|
+
"deny",
|
|
48
|
+
{
|
|
49
|
+
"html": false
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"overrides": [
|
|
54
|
+
{
|
|
55
|
+
"files": [
|
|
56
|
+
"packages/**/*.test.ts",
|
|
57
|
+
"packages/**/*.test.tsx",
|
|
58
|
+
"packages/**/*.spec.ts",
|
|
59
|
+
"packages/**/*.spec.tsx",
|
|
60
|
+
"packages/**/__tests__/**"
|
|
61
|
+
],
|
|
62
|
+
"rules": {
|
|
63
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
64
|
+
"no-type-cast/no-type-cast": "off"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint29 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/jsx-component-pascal-case.d.ts
|
|
4
|
-
declare const jsxComponentPascalCaseRule:
|
|
4
|
+
declare const jsxComponentPascalCaseRule: oxlint29.Rule;
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
namespace meta {
|
|
7
7
|
let name: string;
|
|
8
8
|
}
|
|
9
9
|
let rules: {
|
|
10
|
-
"jsx-component-pascal-case":
|
|
10
|
+
"jsx-component-pascal-case": oxlint29.Rule;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
type RuleContext =
|
|
14
|
-
type ESTNode =
|
|
15
|
-
type ESTExpression =
|
|
16
|
-
type ReturnStatementNode =
|
|
17
|
-
type FunctionLikeNode =
|
|
13
|
+
type RuleContext = oxlint29.Context;
|
|
14
|
+
type ESTNode = oxlint29.ESTree.Node;
|
|
15
|
+
type ESTExpression = oxlint29.ESTree.Expression;
|
|
16
|
+
type ReturnStatementNode = oxlint29.ESTree.ReturnStatement;
|
|
17
|
+
type FunctionLikeNode = oxlint29.ESTree.Function | oxlint29.ESTree.ArrowFunctionExpression;
|
|
18
18
|
type FunctionContext = {
|
|
19
19
|
node: FunctionLikeNode;
|
|
20
20
|
name: string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint5 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-component-date-instantiation.d.ts
|
|
4
|
-
declare const noComponentDateInstantiationRule:
|
|
4
|
+
declare const noComponentDateInstantiationRule: oxlint5.Rule;
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
namespace meta {
|
|
7
7
|
let name: string;
|
|
8
8
|
}
|
|
9
9
|
let rules: {
|
|
10
|
-
"no-component-date-instantiation":
|
|
10
|
+
"no-component-date-instantiation": oxlint5.Rule;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
type RuleContext =
|
|
14
|
-
type ESTNode =
|
|
15
|
-
type NewExpressionNode =
|
|
16
|
-
type ReturnStatementNode =
|
|
17
|
-
type FunctionLikeNode =
|
|
13
|
+
type RuleContext = oxlint5.Context;
|
|
14
|
+
type ESTNode = oxlint5.ESTree.Node;
|
|
15
|
+
type NewExpressionNode = oxlint5.ESTree.NewExpression;
|
|
16
|
+
type ReturnStatementNode = oxlint5.ESTree.ReturnStatement;
|
|
17
|
+
type FunctionLikeNode = oxlint5.ESTree.Function | oxlint5.ESTree.ArrowFunctionExpression;
|
|
18
18
|
type FunctionContext = {
|
|
19
19
|
node: FunctionLikeNode;
|
|
20
20
|
parent: FunctionContext | null;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint37 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-emoji.d.ts
|
|
4
|
-
declare const noEmojiRule:
|
|
4
|
+
declare const noEmojiRule: oxlint37.Rule;
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
namespace meta {
|
|
7
7
|
let name: string;
|
|
8
8
|
}
|
|
9
9
|
let rules: {
|
|
10
|
-
"no-emoji":
|
|
10
|
+
"no-emoji": oxlint37.Rule;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
type ESTNode =
|
|
13
|
+
type ESTNode = oxlint37.ESTree.Node;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ESTNode, _default as default, noEmojiRule };
|
|
16
16
|
//# sourceMappingURL=no-emoji.d.mts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint0 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-finally.d.ts
|
|
4
|
-
declare const noFinallyRule:
|
|
4
|
+
declare const noFinallyRule: oxlint0.Rule;
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
namespace meta {
|
|
7
7
|
let name: string;
|
|
8
8
|
}
|
|
9
9
|
let rules: {
|
|
10
|
-
"no-finally":
|
|
10
|
+
"no-finally": oxlint0.Rule;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
type ESTNode =
|
|
13
|
+
type ESTNode = oxlint0.ESTree.Node;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ESTNode, _default as default, noFinallyRule };
|
|
16
16
|
//# sourceMappingURL=no-finally.d.mts.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint16 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-inline-components.d.ts
|
|
4
4
|
declare function isComponentName(name: unknown): name is string;
|
|
5
5
|
declare function isHookName(name: unknown): name is string;
|
|
6
6
|
declare function getEnclosingFunction(node: ESTNode | null | undefined): FunctionLikeNode | null;
|
|
7
7
|
declare function getFunctionName(node: FunctionLikeNode): string;
|
|
8
|
-
declare const noInlineComponentsRule:
|
|
8
|
+
declare const noInlineComponentsRule: oxlint16.Rule;
|
|
9
9
|
declare namespace _default {
|
|
10
10
|
namespace meta {
|
|
11
11
|
let name: string;
|
|
12
12
|
}
|
|
13
13
|
let rules: {
|
|
14
|
-
"no-inline-components":
|
|
14
|
+
"no-inline-components": oxlint16.Rule;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
type RuleContext =
|
|
18
|
-
type ESTNode =
|
|
19
|
-
type ESTExpression =
|
|
20
|
-
type ESTPattern =
|
|
21
|
-
type ReturnStatementNode =
|
|
22
|
-
type VariableDeclaratorNode =
|
|
23
|
-
type AssignmentExpressionNode =
|
|
24
|
-
type FunctionLikeNode =
|
|
17
|
+
type RuleContext = oxlint16.Context;
|
|
18
|
+
type ESTNode = oxlint16.ESTree.Node;
|
|
19
|
+
type ESTExpression = oxlint16.ESTree.Expression;
|
|
20
|
+
type ESTPattern = oxlint16.ESTree.Pattern;
|
|
21
|
+
type ReturnStatementNode = oxlint16.ESTree.ReturnStatement;
|
|
22
|
+
type VariableDeclaratorNode = oxlint16.ESTree.VariableDeclarator;
|
|
23
|
+
type AssignmentExpressionNode = oxlint16.ESTree.AssignmentExpression;
|
|
24
|
+
type FunctionLikeNode = oxlint16.ESTree.Function | oxlint16.ESTree.ArrowFunctionExpression;
|
|
25
25
|
type RecordedAssignment = {
|
|
26
26
|
node: ESTExpression;
|
|
27
27
|
names: string[];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint40 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-react-namespace.d.ts
|
|
4
|
-
declare const noReactNamespaceRule:
|
|
4
|
+
declare const noReactNamespaceRule: oxlint40.Rule;
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
namespace meta {
|
|
7
7
|
let name: string;
|
|
8
8
|
}
|
|
9
9
|
let rules: {
|
|
10
|
-
"no-react-namespace":
|
|
10
|
+
"no-react-namespace": oxlint40.Rule;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
type ESTNode =
|
|
13
|
+
type ESTNode = oxlint40.ESTree.Node;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ESTNode, _default as default, noReactNamespaceRule };
|
|
16
16
|
//# sourceMappingURL=no-react-namespace.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint27 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-switch-plugin.d.ts
|
|
4
4
|
declare namespace _default {
|
|
@@ -6,10 +6,10 @@ declare namespace _default {
|
|
|
6
6
|
let name: string;
|
|
7
7
|
}
|
|
8
8
|
let rules: {
|
|
9
|
-
"no-switch":
|
|
9
|
+
"no-switch": oxlint27.Rule;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
type ESTNode =
|
|
12
|
+
type ESTNode = oxlint27.ESTree.Node;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ESTNode, _default as default };
|
|
15
15
|
//# sourceMappingURL=no-switch-plugin.d.mts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint13 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-top-level-let.d.ts
|
|
4
|
-
declare const noTopLevelLetRule:
|
|
4
|
+
declare const noTopLevelLetRule: oxlint13.Rule;
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
namespace meta {
|
|
7
7
|
let name: string;
|
|
8
8
|
}
|
|
9
9
|
let rules: {
|
|
10
|
-
"no-top-level-let":
|
|
10
|
+
"no-top-level-let": oxlint13.Rule;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
type ESTNode =
|
|
13
|
+
type ESTNode = oxlint13.ESTree.Node;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ESTNode, _default as default, noTopLevelLetRule };
|
|
16
16
|
//# sourceMappingURL=no-top-level-let.d.mts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as oxlint2 from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region src/oxlint-plugins/no-type-cast.d.ts
|
|
4
|
-
declare const noTypeCastRule:
|
|
4
|
+
declare const noTypeCastRule: oxlint2.Rule;
|
|
5
5
|
declare namespace _default {
|
|
6
6
|
namespace meta {
|
|
7
7
|
let name: string;
|
|
8
8
|
}
|
|
9
9
|
let rules: {
|
|
10
|
-
"no-type-cast":
|
|
10
|
+
"no-type-cast": oxlint2.Rule;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
type ESTNode =
|
|
13
|
+
type ESTNode = oxlint2.ESTree.Node;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ESTNode, _default as default, noTypeCastRule };
|
|
16
16
|
//# sourceMappingURL=no-type-cast.d.mts.map
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"default": "./dist/images.js"
|
|
17
17
|
},
|
|
18
18
|
"./oxlint/config": {
|
|
19
|
-
"default": "./dist/oxlint/config.
|
|
19
|
+
"default": "./dist/oxlint/config.json"
|
|
20
20
|
},
|
|
21
21
|
"./oxlint/jsx-component-pascal-case": {
|
|
22
22
|
"types": "./dist/oxlint/jsx-component-pascal-case.d.ts",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"typescript": "5.9.3",
|
|
74
74
|
"vitest": "4.0.15"
|
|
75
75
|
},
|
|
76
|
-
"version": "0.0.
|
|
76
|
+
"version": "0.0.39",
|
|
77
77
|
"scripts": {
|
|
78
78
|
"dev": "tsdown --watch",
|
|
79
79
|
"build": "tsc --noEmit && tsdown",
|
package/dist/oxlint/config.d.mts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
//#region src/.oxlintrc.d.ts
|
|
2
|
-
declare let $schema: string;
|
|
3
|
-
declare let plugins: string[];
|
|
4
|
-
declare namespace env {
|
|
5
|
-
let browser: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare let ignorePatterns: string[];
|
|
8
|
-
declare let settings: {};
|
|
9
|
-
declare let rules: {
|
|
10
|
-
"@typescript-eslint/no-explicit-any": string;
|
|
11
|
-
"@typescript-eslint/no-non-null-assertion": string;
|
|
12
|
-
"react/button-has-type": string;
|
|
13
|
-
"react/rules-of-hooks": string;
|
|
14
|
-
"no-nested-ternary": string;
|
|
15
|
-
"react/exhaustive-deps": string;
|
|
16
|
-
"react/no-unstable-nested-components": string;
|
|
17
|
-
"typescript/no-floating-promises": string;
|
|
18
|
-
"no-unused-vars": string;
|
|
19
|
-
"typescript/no-import-type-side-effects": string;
|
|
20
|
-
"no-inline-components/no-inline-components": string;
|
|
21
|
-
"@typescript-eslint/consistent-type-imports": string;
|
|
22
|
-
"no-switch-plugin/no-switch": string;
|
|
23
|
-
"no-top-level-let/no-top-level-let": string;
|
|
24
|
-
"no-finally/no-finally": string;
|
|
25
|
-
"no-react-namespace/no-react-namespace": string;
|
|
26
|
-
"no-type-cast/no-type-cast": string;
|
|
27
|
-
"no-emoji/no-emoji": string;
|
|
28
|
-
"no-component-date-instantiation/no-component-date-instantiation": string;
|
|
29
|
-
"jsx-component-pascal-case/jsx-component-pascal-case": string;
|
|
30
|
-
"react/self-closing-comp": (string | {
|
|
31
|
-
html: boolean;
|
|
32
|
-
})[];
|
|
33
|
-
};
|
|
34
|
-
declare let overrides: {
|
|
35
|
-
files: string[];
|
|
36
|
-
rules: {
|
|
37
|
-
"@typescript-eslint/no-explicit-any": string;
|
|
38
|
-
"no-type-cast/no-type-cast": string;
|
|
39
|
-
};
|
|
40
|
-
}[];
|
|
41
|
-
declare namespace __json_default_export {
|
|
42
|
-
export { $schema, plugins, env, ignorePatterns, settings, rules, overrides };
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
export { $schema, __json_default_export as default, env, ignorePatterns, overrides, plugins, rules, settings };
|
|
46
|
-
//# sourceMappingURL=config.d.mts.map
|
package/dist/oxlint/config.mjs
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
//#region src/.oxlintrc.json
|
|
2
|
-
var $schema = "../node_modules/oxlint/configuration_schema.json";
|
|
3
|
-
var plugins = [
|
|
4
|
-
"import",
|
|
5
|
-
"typescript",
|
|
6
|
-
"unicorn",
|
|
7
|
-
"react",
|
|
8
|
-
"react-perf",
|
|
9
|
-
"oxc",
|
|
10
|
-
"node",
|
|
11
|
-
"promise"
|
|
12
|
-
];
|
|
13
|
-
var env = { "browser": true };
|
|
14
|
-
var ignorePatterns = [
|
|
15
|
-
"packages/*/src/routeTree.gen.ts",
|
|
16
|
-
"packages/*/.output",
|
|
17
|
-
"packages/*/vite-plugins",
|
|
18
|
-
"packages/*/dist",
|
|
19
|
-
"packages/common/src/oxlint-plugins",
|
|
20
|
-
"**/node_modules"
|
|
21
|
-
];
|
|
22
|
-
var settings = {};
|
|
23
|
-
var rules = {
|
|
24
|
-
"@typescript-eslint/no-explicit-any": "error",
|
|
25
|
-
"@typescript-eslint/no-non-null-assertion": "error",
|
|
26
|
-
"react/button-has-type": "deny",
|
|
27
|
-
"react/rules-of-hooks": "deny",
|
|
28
|
-
"no-nested-ternary": "deny",
|
|
29
|
-
"react/exhaustive-deps": "deny",
|
|
30
|
-
"react/no-unstable-nested-components": "error",
|
|
31
|
-
"typescript/no-floating-promises": "off",
|
|
32
|
-
"no-unused-vars": "warn",
|
|
33
|
-
"typescript/no-import-type-side-effects": "deny",
|
|
34
|
-
"no-inline-components/no-inline-components": "error",
|
|
35
|
-
"@typescript-eslint/consistent-type-imports": "deny",
|
|
36
|
-
"no-switch-plugin/no-switch": "error",
|
|
37
|
-
"no-top-level-let/no-top-level-let": "error",
|
|
38
|
-
"no-finally/no-finally": "error",
|
|
39
|
-
"no-react-namespace/no-react-namespace": "error",
|
|
40
|
-
"no-type-cast/no-type-cast": "warn",
|
|
41
|
-
"no-emoji/no-emoji": "error",
|
|
42
|
-
"no-component-date-instantiation/no-component-date-instantiation": "warn",
|
|
43
|
-
"jsx-component-pascal-case/jsx-component-pascal-case": "error",
|
|
44
|
-
"react/self-closing-comp": ["deny", { "html": false }]
|
|
45
|
-
};
|
|
46
|
-
var overrides = [{
|
|
47
|
-
"files": [
|
|
48
|
-
"packages/**/*.test.ts",
|
|
49
|
-
"packages/**/*.test.tsx",
|
|
50
|
-
"packages/**/*.spec.ts",
|
|
51
|
-
"packages/**/*.spec.tsx",
|
|
52
|
-
"packages/**/__tests__/**"
|
|
53
|
-
],
|
|
54
|
-
"rules": {
|
|
55
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
56
|
-
"no-type-cast/no-type-cast": "off"
|
|
57
|
-
}
|
|
58
|
-
}];
|
|
59
|
-
var __oxlintrc_default = {
|
|
60
|
-
$schema,
|
|
61
|
-
plugins,
|
|
62
|
-
env,
|
|
63
|
-
ignorePatterns,
|
|
64
|
-
settings,
|
|
65
|
-
rules,
|
|
66
|
-
overrides
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
//#endregion
|
|
70
|
-
export { $schema, __oxlintrc_default as default, env, ignorePatterns, overrides, plugins, rules, settings };
|
|
71
|
-
//# sourceMappingURL=config.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.mjs","names":[],"sources":["../../src/.oxlintrc.json"],"sourcesContent":["{\n\t\"$schema\": \"../node_modules/oxlint/configuration_schema.json\",\n\t\"plugins\": [\n\t\t\"import\",\n\t\t\"typescript\",\n\t\t\"unicorn\",\n\t\t\"react\",\n\t\t\"react-perf\",\n\t\t\"oxc\",\n\t\t\"node\",\n\t\t\"promise\"\n\t],\n\t\"env\": {\n\t\t\"browser\": true\n\t},\n\t\"ignorePatterns\": [\n\t\t\"packages/*/src/routeTree.gen.ts\",\n\t\t\"packages/*/.output\",\n\t\t\"packages/*/vite-plugins\",\n\t\t\"packages/*/dist\",\n\t\t\"packages/common/src/oxlint-plugins\",\n\t\t\"**/node_modules\"\n\t],\n\t\"settings\": {},\n\t\"rules\": {\n\t\t\"@typescript-eslint/no-explicit-any\": \"error\",\n\t\t\"@typescript-eslint/no-non-null-assertion\": \"error\",\n\t\t\"react/button-has-type\": \"deny\",\n\t\t\"react/rules-of-hooks\": \"deny\",\n\t\t\"no-nested-ternary\": \"deny\",\n\t\t\"react/exhaustive-deps\": \"deny\",\n\t\t\"react/no-unstable-nested-components\": \"error\",\n\t\t\"typescript/no-floating-promises\": \"off\",\n\t\t\"no-unused-vars\": \"warn\",\n\t\t\"typescript/no-import-type-side-effects\": \"deny\",\n\t\t\"no-inline-components/no-inline-components\": \"error\",\n\t\t\"@typescript-eslint/consistent-type-imports\": \"deny\",\n\t\t\"no-switch-plugin/no-switch\": \"error\",\n\t\t\"no-top-level-let/no-top-level-let\": \"error\",\n\t\t\"no-finally/no-finally\": \"error\",\n\t\t\"no-react-namespace/no-react-namespace\": \"error\",\n\t\t\"no-type-cast/no-type-cast\": \"warn\",\n\t\t\"no-emoji/no-emoji\": \"error\",\n\t\t\"no-component-date-instantiation/no-component-date-instantiation\": \"warn\",\n\t\t\"jsx-component-pascal-case/jsx-component-pascal-case\": \"error\",\n\t\t\"react/self-closing-comp\": [\n\t\t\t\"deny\",\n\t\t\t{\n\t\t\t\t\"html\": false\n\t\t\t}\n\t\t]\n\t},\n\t\"overrides\": [\n\t\t{\n\t\t\t\"files\": [\n\t\t\t\t\"packages/**/*.test.ts\",\n\t\t\t\t\"packages/**/*.test.tsx\",\n\t\t\t\t\"packages/**/*.spec.ts\",\n\t\t\t\t\"packages/**/*.spec.tsx\",\n\t\t\t\t\"packages/**/__tests__/**\"\n\t\t\t],\n\t\t\t\"rules\": {\n\t\t\t\t\"@typescript-eslint/no-explicit-any\": \"off\",\n\t\t\t\t\"no-type-cast/no-type-cast\": \"off\"\n\t\t\t}\n\t\t},\n\t]\n}"],"mappings":";cACY;cACA;CACV;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;UACM,EACN,WAAW,MACX;qBACiB;CACjB;CACA;CACA;CACA;CACA;CACA;CACA;eACW,EAAE;YACL;CACR,sCAAsC;CACtC,4CAA4C;CAC5C,yBAAyB;CACzB,wBAAwB;CACxB,qBAAqB;CACrB,yBAAyB;CACzB,uCAAuC;CACvC,mCAAmC;CACnC,kBAAkB;CAClB,0CAA0C;CAC1C,6CAA6C;CAC7C,8CAA8C;CAC9C,8BAA8B;CAC9B,qCAAqC;CACrC,yBAAyB;CACzB,yCAAyC;CACzC,6BAA6B;CAC7B,qBAAqB;CACrB,mEAAmE;CACnE,uDAAuD;CACvD,2BAA2B,CAC1B,QACA,EACC,QAAQ,OACR,CACD;CACD;gBACY,CACZ;CACC,SAAS;EACR;EACA;EACA;EACA;EACA;EACA;CACD,SAAS;EACR,sCAAsC;EACtC,6BAA6B;EAC7B;CACD,CACD;yBAlEF"}
|