@powerlines/plugin-oxlint 0.7.126 → 0.7.128

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.
Files changed (51) hide show
  1. package/dist/helpers/generate-config.cjs +57 -2
  2. package/dist/helpers/generate-config.d.cts +12 -2
  3. package/dist/helpers/generate-config.d.mts +12 -2
  4. package/dist/helpers/generate-config.mjs +56 -1
  5. package/dist/helpers/index.cjs +2 -2
  6. package/dist/helpers/index.d.cts +1 -2
  7. package/dist/helpers/index.d.mts +1 -2
  8. package/dist/helpers/index.mjs +1 -1
  9. package/dist/index.cjs +0 -2
  10. package/dist/index.d.cts +2 -2
  11. package/dist/index.d.mts +3 -2
  12. package/dist/index.mjs +0 -2
  13. package/dist/powerlines/src/types/babel.d.mts +2 -0
  14. package/dist/powerlines/src/types/build.d.cts +145 -0
  15. package/dist/powerlines/src/types/build.d.mts +145 -0
  16. package/dist/powerlines/src/types/commands.d.cts +8 -0
  17. package/dist/powerlines/src/types/commands.d.mts +9 -0
  18. package/dist/powerlines/src/types/config.d.cts +376 -0
  19. package/dist/powerlines/src/types/config.d.mts +376 -0
  20. package/dist/powerlines/src/types/context.d.cts +403 -0
  21. package/dist/powerlines/src/types/context.d.mts +405 -0
  22. package/dist/powerlines/src/types/fs.d.cts +486 -0
  23. package/dist/powerlines/src/types/fs.d.mts +486 -0
  24. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  25. package/dist/powerlines/src/types/plugin.d.cts +231 -0
  26. package/dist/powerlines/src/types/plugin.d.mts +231 -0
  27. package/dist/powerlines/src/types/resolved.d.cts +81 -0
  28. package/dist/powerlines/src/types/resolved.d.mts +81 -0
  29. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  30. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  31. package/dist/types/index.cjs +0 -2
  32. package/dist/types/index.d.cts +1 -2
  33. package/dist/types/index.d.mts +1 -2
  34. package/dist/types/index.mjs +0 -3
  35. package/dist/types/plugin.cjs +0 -1
  36. package/dist/types/plugin.d.cts +82 -1
  37. package/dist/types/plugin.d.mts +82 -1
  38. package/dist/types/plugin.mjs +0 -2
  39. package/package.json +4 -4
  40. package/dist/generate-config-BJgmb4Je.mjs +0 -58
  41. package/dist/generate-config-BZjB8irN.cjs +0 -63
  42. package/dist/generate-config-D4g78kIf.d.mts +0 -13
  43. package/dist/generate-config-DZfJM276.d.cts +0 -13
  44. package/dist/index-D-CYNcT9.d.mts +0 -1
  45. package/dist/index-D6CnpA_r.d.cts +0 -1
  46. package/dist/plugin-9T2rrnPY.d.mts +0 -1827
  47. package/dist/plugin-DH0uh5wS.d.cts +0 -1827
  48. package/dist/plugin-DHXHjv16.cjs +0 -0
  49. package/dist/plugin-DNsqegEV.mjs +0 -1
  50. package/dist/types-CpP_DWx6.mjs +0 -1
  51. package/dist/types-DHkg7xmX.cjs +0 -0
@@ -0,0 +1,69 @@
1
+ import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
+ import ts from "typescript";
3
+
4
+ //#region ../powerlines/src/types/tsconfig.d.ts
5
+ type ReflectionMode = "default" | "explicit" | "never";
6
+ type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
+ /**
8
+ * Defines the level of reflection to be used during the transpilation process.
9
+ *
10
+ * @remarks
11
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
+ * - `minimal` - Only the essential type information is captured.
13
+ * - `normal` - Additional type information is captured, including some contextual data.
14
+ * - `verbose` - All available type information is captured, including detailed contextual data.
15
+ */
16
+ type ReflectionLevel = "minimal" | "normal" | "verbose";
17
+ interface DeepkitOptions {
18
+ /**
19
+ * Either true to activate reflection for all files compiled using this tsconfig,
20
+ * or a list of globs/file paths relative to this tsconfig.json.
21
+ * Globs/file paths can be prefixed with a ! to exclude them.
22
+ */
23
+ reflection?: RawReflectionMode;
24
+ /**
25
+ * Defines the level of reflection to be used during the transpilation process.
26
+ *
27
+ * @remarks
28
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
+ * - `minimal` - Only the essential type information is captured.
30
+ * - `normal` - Additional type information is captured, including some contextual data.
31
+ * - `verbose` - All available type information is captured, including detailed contextual data.
32
+ */
33
+ reflectionLevel?: ReflectionLevel;
34
+ }
35
+ type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
+ /**
37
+ * The TypeScript compiler configuration.
38
+ *
39
+ * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
+ */
41
+ interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
+ /**
43
+ * Either true to activate reflection for all files compiled using this tsconfig,
44
+ * or a list of globs/file paths relative to this tsconfig.json.
45
+ * Globs/file paths can be prefixed with a ! to exclude them.
46
+ */
47
+ reflection?: RawReflectionMode;
48
+ /**
49
+ * Defines the level of reflection to be used during the transpilation process.
50
+ *
51
+ * @remarks
52
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
+ * - `minimal` - Only the essential type information is captured.
54
+ * - `normal` - Additional type information is captured, including some contextual data.
55
+ * - `verbose` - All available type information is captured, including detailed contextual data.
56
+ */
57
+ reflectionLevel?: ReflectionLevel;
58
+ /**
59
+ * Instructs the TypeScript compiler how to compile `.ts` files.
60
+ */
61
+ compilerOptions?: TSCompilerOptions;
62
+ }
63
+ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
+ originalTsconfigJson: TsConfigJson;
65
+ tsconfigJson: TSConfig;
66
+ tsconfigFilePath: string;
67
+ };
68
+ //#endregion
69
+ export { ParsedTypeScriptConfig, TSConfig };
@@ -0,0 +1,69 @@
1
+ import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
+ import ts from "typescript";
3
+
4
+ //#region ../powerlines/src/types/tsconfig.d.ts
5
+ type ReflectionMode = "default" | "explicit" | "never";
6
+ type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
+ /**
8
+ * Defines the level of reflection to be used during the transpilation process.
9
+ *
10
+ * @remarks
11
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
+ * - `minimal` - Only the essential type information is captured.
13
+ * - `normal` - Additional type information is captured, including some contextual data.
14
+ * - `verbose` - All available type information is captured, including detailed contextual data.
15
+ */
16
+ type ReflectionLevel = "minimal" | "normal" | "verbose";
17
+ interface DeepkitOptions {
18
+ /**
19
+ * Either true to activate reflection for all files compiled using this tsconfig,
20
+ * or a list of globs/file paths relative to this tsconfig.json.
21
+ * Globs/file paths can be prefixed with a ! to exclude them.
22
+ */
23
+ reflection?: RawReflectionMode;
24
+ /**
25
+ * Defines the level of reflection to be used during the transpilation process.
26
+ *
27
+ * @remarks
28
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
+ * - `minimal` - Only the essential type information is captured.
30
+ * - `normal` - Additional type information is captured, including some contextual data.
31
+ * - `verbose` - All available type information is captured, including detailed contextual data.
32
+ */
33
+ reflectionLevel?: ReflectionLevel;
34
+ }
35
+ type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
+ /**
37
+ * The TypeScript compiler configuration.
38
+ *
39
+ * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
+ */
41
+ interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
+ /**
43
+ * Either true to activate reflection for all files compiled using this tsconfig,
44
+ * or a list of globs/file paths relative to this tsconfig.json.
45
+ * Globs/file paths can be prefixed with a ! to exclude them.
46
+ */
47
+ reflection?: RawReflectionMode;
48
+ /**
49
+ * Defines the level of reflection to be used during the transpilation process.
50
+ *
51
+ * @remarks
52
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
+ * - `minimal` - Only the essential type information is captured.
54
+ * - `normal` - Additional type information is captured, including some contextual data.
55
+ * - `verbose` - All available type information is captured, including detailed contextual data.
56
+ */
57
+ reflectionLevel?: ReflectionLevel;
58
+ /**
59
+ * Instructs the TypeScript compiler how to compile `.ts` files.
60
+ */
61
+ compilerOptions?: TSCompilerOptions;
62
+ }
63
+ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
+ originalTsconfigJson: TsConfigJson;
65
+ tsconfigJson: TSConfig;
66
+ tsconfigFilePath: string;
67
+ };
68
+ //#endregion
69
+ export { ParsedTypeScriptConfig, TSConfig };
@@ -1,2 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
2
- require('../types-DHkg7xmX.cjs');
@@ -1,3 +1,2 @@
1
- import { a as __ΩOxlintPluginContext, c as __ΩOxlintPluginUserConfig, i as OxlintPluginUserConfig, n as OxlintPluginOptions, o as __ΩOxlintPluginOptions, r as OxlintPluginResolvedConfig, s as __ΩOxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-DH0uh5wS.cjs";
2
- import "../index-D6CnpA_r.cjs";
1
+ import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig } from "./plugin.cjs";
3
2
  export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig };
@@ -1,3 +1,2 @@
1
- import { a as __ΩOxlintPluginContext, c as __ΩOxlintPluginUserConfig, i as OxlintPluginUserConfig, n as OxlintPluginOptions, o as __ΩOxlintPluginOptions, r as OxlintPluginResolvedConfig, s as __ΩOxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-9T2rrnPY.mjs";
2
- import "../index-D-CYNcT9.mjs";
1
+ import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig } from "./plugin.mjs";
3
2
  export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig };
@@ -1,4 +1 @@
1
- import "../plugin-DNsqegEV.mjs";
2
- import "../types-CpP_DWx6.mjs";
3
-
4
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
@@ -1,2 +1,83 @@
1
- import { a as __ΩOxlintPluginContext, c as __ΩOxlintPluginUserConfig, i as OxlintPluginUserConfig, n as OxlintPluginOptions, o as __ΩOxlintPluginOptions, r as OxlintPluginResolvedConfig, s as __ΩOxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-DH0uh5wS.cjs";
1
+ import { ResolvedConfig } from "../powerlines/src/types/resolved.cjs";
2
+ import { PluginContext } from "../powerlines/src/types/context.cjs";
3
+ import { UserConfig } from "../powerlines/src/types/config.cjs";
4
+
5
+ //#region src/types/plugin.d.ts
6
+ interface OxlintPluginOptions {
7
+ /**
8
+ * A glob pattern or path to ignore files and directories.
9
+ */
10
+ ignorePatterns?: string | string[];
11
+ /**
12
+ * The path to the Oxlint configuration file.
13
+ *
14
+ * @defaultValue ".oxlintrc.json"
15
+ */
16
+ configFile?: string;
17
+ /**
18
+ * An array of rules to deny
19
+ */
20
+ deny?: string[];
21
+ /**
22
+ * An array of rules to allow
23
+ */
24
+ allow?: string[];
25
+ /**
26
+ * An array of rules to warn about
27
+ */
28
+ warn?: string[];
29
+ /**
30
+ * Additional parameters to pass to the Oxlint CLI
31
+ */
32
+ params?: string;
33
+ /**
34
+ * The path to the Oxlint binary
35
+ */
36
+ oxlintPath?: string;
37
+ /**
38
+ * Whether to enable [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html)
39
+ *
40
+ * @defaultValue true
41
+ */
42
+ typeAware?: boolean;
43
+ /**
44
+ * Whether to automatically fix fixable issues.
45
+ *
46
+ * - `true` - Automatically fix fixable issues.
47
+ * - `false` - Do not fix any issues.
48
+ * - `"suggestions"` - Only apply fixes that are considered suggestions.
49
+ * - `"dangerously"` - Apply all fixes, including those that may change code behavior.
50
+ *
51
+ * @defaultValue true
52
+ */
53
+ fix?: boolean | "suggestions" | "dangerously";
54
+ /**
55
+ * The output format for linting results.
56
+ *
57
+ * @defaultValue "stylish"
58
+ */
59
+ format?: "stylish" | "checkstyle" | "github" | "gitlab" | "json" | "junit" | "unix";
60
+ }
61
+ interface OxlintPluginUserConfig extends UserConfig {
62
+ /**
63
+ * Options for the Oxlint plugin.
64
+ */
65
+ lint?: {
66
+ oxlint?: OxlintPluginOptions;
67
+ };
68
+ }
69
+ interface OxlintPluginResolvedConfig extends ResolvedConfig {
70
+ /**
71
+ * Options for the Oxlint plugin.
72
+ */
73
+ lint: {
74
+ oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
75
+ };
76
+ }
77
+ type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
78
+ declare type __ΩOxlintPluginOptions = any[];
79
+ declare type __ΩOxlintPluginUserConfig = any[];
80
+ declare type __ΩOxlintPluginResolvedConfig = any[];
81
+ declare type __ΩOxlintPluginContext = any[];
82
+ //#endregion
2
83
  export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig };
@@ -1,2 +1,83 @@
1
- import { a as __ΩOxlintPluginContext, c as __ΩOxlintPluginUserConfig, i as OxlintPluginUserConfig, n as OxlintPluginOptions, o as __ΩOxlintPluginOptions, r as OxlintPluginResolvedConfig, s as __ΩOxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-9T2rrnPY.mjs";
1
+ import { ResolvedConfig } from "../powerlines/src/types/resolved.mjs";
2
+ import { PluginContext } from "../powerlines/src/types/context.mjs";
3
+ import { UserConfig } from "../powerlines/src/types/config.mjs";
4
+
5
+ //#region src/types/plugin.d.ts
6
+ interface OxlintPluginOptions {
7
+ /**
8
+ * A glob pattern or path to ignore files and directories.
9
+ */
10
+ ignorePatterns?: string | string[];
11
+ /**
12
+ * The path to the Oxlint configuration file.
13
+ *
14
+ * @defaultValue ".oxlintrc.json"
15
+ */
16
+ configFile?: string;
17
+ /**
18
+ * An array of rules to deny
19
+ */
20
+ deny?: string[];
21
+ /**
22
+ * An array of rules to allow
23
+ */
24
+ allow?: string[];
25
+ /**
26
+ * An array of rules to warn about
27
+ */
28
+ warn?: string[];
29
+ /**
30
+ * Additional parameters to pass to the Oxlint CLI
31
+ */
32
+ params?: string;
33
+ /**
34
+ * The path to the Oxlint binary
35
+ */
36
+ oxlintPath?: string;
37
+ /**
38
+ * Whether to enable [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html)
39
+ *
40
+ * @defaultValue true
41
+ */
42
+ typeAware?: boolean;
43
+ /**
44
+ * Whether to automatically fix fixable issues.
45
+ *
46
+ * - `true` - Automatically fix fixable issues.
47
+ * - `false` - Do not fix any issues.
48
+ * - `"suggestions"` - Only apply fixes that are considered suggestions.
49
+ * - `"dangerously"` - Apply all fixes, including those that may change code behavior.
50
+ *
51
+ * @defaultValue true
52
+ */
53
+ fix?: boolean | "suggestions" | "dangerously";
54
+ /**
55
+ * The output format for linting results.
56
+ *
57
+ * @defaultValue "stylish"
58
+ */
59
+ format?: "stylish" | "checkstyle" | "github" | "gitlab" | "json" | "junit" | "unix";
60
+ }
61
+ interface OxlintPluginUserConfig extends UserConfig {
62
+ /**
63
+ * Options for the Oxlint plugin.
64
+ */
65
+ lint?: {
66
+ oxlint?: OxlintPluginOptions;
67
+ };
68
+ }
69
+ interface OxlintPluginResolvedConfig extends ResolvedConfig {
70
+ /**
71
+ * Options for the Oxlint plugin.
72
+ */
73
+ lint: {
74
+ oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
75
+ };
76
+ }
77
+ type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
78
+ declare type __ΩOxlintPluginOptions = any[];
79
+ declare type __ΩOxlintPluginUserConfig = any[];
80
+ declare type __ΩOxlintPluginResolvedConfig = any[];
81
+ declare type __ΩOxlintPluginContext = any[];
82
+ //#endregion
2
83
  export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig };
@@ -1,3 +1 @@
1
- import "../plugin-DNsqegEV.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-oxlint",
3
- "version": "0.7.126",
3
+ "version": "0.7.128",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Oxlint on the codebase.",
6
6
  "repository": {
@@ -108,13 +108,13 @@
108
108
  "defu": "^6.1.4",
109
109
  "oxlint": "^1.36.0",
110
110
  "oxlint-tsgolint": "^0.2.1",
111
- "powerlines": "^0.36.26"
111
+ "powerlines": "^0.36.28"
112
112
  },
113
113
  "devDependencies": {
114
- "@powerlines/nx": "^0.11.52",
114
+ "@powerlines/nx": "^0.11.54",
115
115
  "@storm-software/tsup": "^0.2.73",
116
116
  "@types/node": "^24.10.4"
117
117
  },
118
118
  "publishConfig": { "access": "public" },
119
- "gitHead": "a703a2dd9be6175a67a9bf4847d0217be4e920af"
119
+ "gitHead": "6891ff1330798e807c4caef6134df09d9f57686d"
120
120
  }
@@ -1,58 +0,0 @@
1
- import { toArray } from "@stryke/convert/neutral";
2
-
3
- //#region src/helpers/generate-config.ts
4
- /**
5
- * Generates an Oxlint configuration file content based on the provided options.
6
- *
7
- * @param options - The options for the Oxlint plugin.
8
- * @returns The generated configuration as a string.
9
- */
10
- function generateConfig(options = {}) {
11
- return `{
12
- "$schema": "./node_modules/oxlint/configuration_schema.json",
13
- "plugins": [
14
- "import",
15
- "jsdoc",
16
- "unicorn",
17
- "typescript",
18
- "oxc"
19
- ],
20
- "ignorePatterns": [
21
- "crates/**",
22
- "dist/**",
23
- "build/**",
24
- "coverage/**",
25
- "node_modules/**",
26
- "temp/**",
27
- "tests/fixtures/**"${options.ignorePatterns ? `,
28
- ${toArray(options.ignorePatterns).map((pattern) => `"${pattern}"`).join(",\n ")}` : ""}
29
- ],
30
- "rules": {
31
- "import/named": "error",
32
- "import/namespace": [
33
- "error",
34
- {
35
- "allowComputed": true
36
- }
37
- ],
38
- "no-unused-expressions": [
39
- "warn",
40
- {
41
- "allowShortCircuit": true,
42
- "allowTaggedTemplates": true
43
- }
44
- ],
45
- "no-unused-vars": [
46
- "warn",
47
- {
48
- "varsIgnorePattern": "^_",
49
- "argsIgnorePattern": "^_"
50
- }
51
- ],
52
- "unicorn/prefer-node-protocol": "error"
53
- }
54
- }`;
55
- }
56
-
57
- //#endregion
58
- export { generateConfig as t };
@@ -1,63 +0,0 @@
1
- let __stryke_convert_neutral = require("@stryke/convert/neutral");
2
-
3
- //#region src/helpers/generate-config.ts
4
- /**
5
- * Generates an Oxlint configuration file content based on the provided options.
6
- *
7
- * @param options - The options for the Oxlint plugin.
8
- * @returns The generated configuration as a string.
9
- */
10
- function generateConfig(options = {}) {
11
- return `{
12
- "$schema": "./node_modules/oxlint/configuration_schema.json",
13
- "plugins": [
14
- "import",
15
- "jsdoc",
16
- "unicorn",
17
- "typescript",
18
- "oxc"
19
- ],
20
- "ignorePatterns": [
21
- "crates/**",
22
- "dist/**",
23
- "build/**",
24
- "coverage/**",
25
- "node_modules/**",
26
- "temp/**",
27
- "tests/fixtures/**"${options.ignorePatterns ? `,
28
- ${(0, __stryke_convert_neutral.toArray)(options.ignorePatterns).map((pattern) => `"${pattern}"`).join(",\n ")}` : ""}
29
- ],
30
- "rules": {
31
- "import/named": "error",
32
- "import/namespace": [
33
- "error",
34
- {
35
- "allowComputed": true
36
- }
37
- ],
38
- "no-unused-expressions": [
39
- "warn",
40
- {
41
- "allowShortCircuit": true,
42
- "allowTaggedTemplates": true
43
- }
44
- ],
45
- "no-unused-vars": [
46
- "warn",
47
- {
48
- "varsIgnorePattern": "^_",
49
- "argsIgnorePattern": "^_"
50
- }
51
- ],
52
- "unicorn/prefer-node-protocol": "error"
53
- }
54
- }`;
55
- }
56
-
57
- //#endregion
58
- Object.defineProperty(exports, 'generateConfig', {
59
- enumerable: true,
60
- get: function () {
61
- return generateConfig;
62
- }
63
- });
@@ -1,13 +0,0 @@
1
- import { n as OxlintPluginOptions } from "./plugin-9T2rrnPY.mjs";
2
-
3
- //#region src/helpers/generate-config.d.ts
4
-
5
- /**
6
- * Generates an Oxlint configuration file content based on the provided options.
7
- *
8
- * @param options - The options for the Oxlint plugin.
9
- * @returns The generated configuration as a string.
10
- */
11
- declare function generateConfig(options?: OxlintPluginOptions): string;
12
- //#endregion
13
- export { generateConfig as t };
@@ -1,13 +0,0 @@
1
- import { n as OxlintPluginOptions } from "./plugin-DH0uh5wS.cjs";
2
-
3
- //#region src/helpers/generate-config.d.ts
4
-
5
- /**
6
- * Generates an Oxlint configuration file content based on the provided options.
7
- *
8
- * @param options - The options for the Oxlint plugin.
9
- * @returns The generated configuration as a string.
10
- */
11
- declare function generateConfig(options?: OxlintPluginOptions): string;
12
- //#endregion
13
- export { generateConfig as t };
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };