@powerlines/plugin-oxlint 0.7.673 → 0.7.675

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.
@@ -1,4 +1,4 @@
1
- import { OxlintPluginOptions } from "../types/plugin.cjs";
1
+ import { n as OxlintPluginOptions } from "../plugin-iulHDbbP.cjs";
2
2
  //#region src/helpers/generate-config.d.ts
3
3
  /**
4
4
  * Generates an Oxlint configuration file content based on the provided options.
@@ -1,4 +1,4 @@
1
- import { OxlintPluginOptions } from "../types/plugin.mjs";
1
+ import { n as OxlintPluginOptions } from "../plugin-iulHDbbP.mjs";
2
2
  //#region src/helpers/generate-config.d.ts
3
3
  /**
4
4
  * Generates an Oxlint configuration file content based on the provided options.
package/dist/index.cjs CHANGED
@@ -1,4 +1,5 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ require('./types/index.cjs');
2
3
  let _stryke_cli_execute = require("@stryke/cli/execute");
3
4
  let _stryke_convert_to_array = require("@stryke/convert/to-array");
4
5
  let _stryke_fs_exists = require("@stryke/fs/exists");
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig } from "./types/plugin.cjs";
1
+ import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-iulHDbbP.cjs";
2
2
  import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines";
4
4
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig } from "./types/plugin.mjs";
1
+ import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-iulHDbbP.mjs";
2
2
  import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines";
4
4
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ import "./types/index.mjs";
1
2
  import { execute, executePackage } from "@stryke/cli/execute";
2
3
  import { toArray } from "@stryke/convert/to-array";
3
4
  import { existsSync } from "@stryke/fs/exists";
@@ -0,0 +1,73 @@
1
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
+ //#region src/types/plugin.d.ts
3
+ interface OxlintPluginOptions {
4
+ /**
5
+ * A glob pattern or path to ignore files and directories.
6
+ */
7
+ ignorePatterns?: string | string[];
8
+ /**
9
+ * The path to the Oxlint configuration file.
10
+ *
11
+ * @defaultValue ".oxlintrc.json"
12
+ */
13
+ configFile?: string;
14
+ /**
15
+ * An array of rules to deny
16
+ */
17
+ deny?: string[];
18
+ /**
19
+ * An array of rules to allow
20
+ */
21
+ allow?: string[];
22
+ /**
23
+ * An array of rules to warn about
24
+ */
25
+ warn?: string[];
26
+ /**
27
+ * Additional parameters to pass to the Oxlint CLI
28
+ */
29
+ params?: string;
30
+ /**
31
+ * The path to the Oxlint binary
32
+ */
33
+ oxlintPath?: string;
34
+ /**
35
+ * Whether to enable [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html)
36
+ *
37
+ * @defaultValue true
38
+ */
39
+ typeAware?: boolean;
40
+ /**
41
+ * Whether to automatically fix fixable issues.
42
+ *
43
+ * - `true` - Automatically fix fixable issues.
44
+ * - `false` - Do not fix any issues.
45
+ * - `"suggestions"` - Only apply fixes that are considered suggestions.
46
+ * - `"dangerously"` - Apply all fixes, including those that may change code behavior.
47
+ *
48
+ * @defaultValue true
49
+ */
50
+ fix?: boolean | "suggestions" | "dangerously";
51
+ /**
52
+ * The output format for linting results.
53
+ *
54
+ * @defaultValue "stylish"
55
+ */
56
+ format?: "stylish" | "checkstyle" | "github" | "gitlab" | "json" | "junit" | "unix";
57
+ }
58
+ interface OxlintPluginUserConfig extends UserConfig {
59
+ /**
60
+ * Options for the Oxlint plugin.
61
+ */
62
+ oxlint?: OxlintPluginOptions;
63
+ }
64
+ interface OxlintPluginResolvedConfig extends ResolvedConfig {
65
+ /**
66
+ * Options for the Oxlint plugin.
67
+ */
68
+ oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
69
+ }
70
+ type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
+ //#endregion
72
+ export { OxlintPluginUserConfig as i, OxlintPluginOptions as n, OxlintPluginResolvedConfig as r, OxlintPluginContext as t };
73
+ //# sourceMappingURL=plugin-iulHDbbP.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-iulHDbbP.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;UAoBiB;;;;EAIf;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;;;;;;;;EAYA;;;;;;EAOA;;UAUe,+BAA+B;;;;EAI9C,SAAS;;UAGM,mCAAmC;;;;EAIlD,QAAQ,KACN,kGAGA,SACE,KACE;;KAYI,oBACV,wBAAwB,6BACtB,8BACA,cAAc"}
@@ -0,0 +1,73 @@
1
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
+ //#region src/types/plugin.d.ts
3
+ interface OxlintPluginOptions {
4
+ /**
5
+ * A glob pattern or path to ignore files and directories.
6
+ */
7
+ ignorePatterns?: string | string[];
8
+ /**
9
+ * The path to the Oxlint configuration file.
10
+ *
11
+ * @defaultValue ".oxlintrc.json"
12
+ */
13
+ configFile?: string;
14
+ /**
15
+ * An array of rules to deny
16
+ */
17
+ deny?: string[];
18
+ /**
19
+ * An array of rules to allow
20
+ */
21
+ allow?: string[];
22
+ /**
23
+ * An array of rules to warn about
24
+ */
25
+ warn?: string[];
26
+ /**
27
+ * Additional parameters to pass to the Oxlint CLI
28
+ */
29
+ params?: string;
30
+ /**
31
+ * The path to the Oxlint binary
32
+ */
33
+ oxlintPath?: string;
34
+ /**
35
+ * Whether to enable [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html)
36
+ *
37
+ * @defaultValue true
38
+ */
39
+ typeAware?: boolean;
40
+ /**
41
+ * Whether to automatically fix fixable issues.
42
+ *
43
+ * - `true` - Automatically fix fixable issues.
44
+ * - `false` - Do not fix any issues.
45
+ * - `"suggestions"` - Only apply fixes that are considered suggestions.
46
+ * - `"dangerously"` - Apply all fixes, including those that may change code behavior.
47
+ *
48
+ * @defaultValue true
49
+ */
50
+ fix?: boolean | "suggestions" | "dangerously";
51
+ /**
52
+ * The output format for linting results.
53
+ *
54
+ * @defaultValue "stylish"
55
+ */
56
+ format?: "stylish" | "checkstyle" | "github" | "gitlab" | "json" | "junit" | "unix";
57
+ }
58
+ interface OxlintPluginUserConfig extends UserConfig {
59
+ /**
60
+ * Options for the Oxlint plugin.
61
+ */
62
+ oxlint?: OxlintPluginOptions;
63
+ }
64
+ interface OxlintPluginResolvedConfig extends ResolvedConfig {
65
+ /**
66
+ * Options for the Oxlint plugin.
67
+ */
68
+ oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
69
+ }
70
+ type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
+ //#endregion
72
+ export { OxlintPluginUserConfig as i, OxlintPluginOptions as n, OxlintPluginResolvedConfig as r, OxlintPluginContext as t };
73
+ //# sourceMappingURL=plugin-iulHDbbP.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-iulHDbbP.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig } from "./plugin.cjs";
1
+ import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-iulHDbbP.cjs";
2
2
  export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig } from "./plugin.mjs";
1
+ import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-iulHDbbP.mjs";
2
2
  export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
@@ -1,73 +1,2 @@
1
- import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
- //#region src/types/plugin.d.ts
3
- interface OxlintPluginOptions {
4
- /**
5
- * A glob pattern or path to ignore files and directories.
6
- */
7
- ignorePatterns?: string | string[];
8
- /**
9
- * The path to the Oxlint configuration file.
10
- *
11
- * @defaultValue ".oxlintrc.json"
12
- */
13
- configFile?: string;
14
- /**
15
- * An array of rules to deny
16
- */
17
- deny?: string[];
18
- /**
19
- * An array of rules to allow
20
- */
21
- allow?: string[];
22
- /**
23
- * An array of rules to warn about
24
- */
25
- warn?: string[];
26
- /**
27
- * Additional parameters to pass to the Oxlint CLI
28
- */
29
- params?: string;
30
- /**
31
- * The path to the Oxlint binary
32
- */
33
- oxlintPath?: string;
34
- /**
35
- * Whether to enable [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html)
36
- *
37
- * @defaultValue true
38
- */
39
- typeAware?: boolean;
40
- /**
41
- * Whether to automatically fix fixable issues.
42
- *
43
- * - `true` - Automatically fix fixable issues.
44
- * - `false` - Do not fix any issues.
45
- * - `"suggestions"` - Only apply fixes that are considered suggestions.
46
- * - `"dangerously"` - Apply all fixes, including those that may change code behavior.
47
- *
48
- * @defaultValue true
49
- */
50
- fix?: boolean | "suggestions" | "dangerously";
51
- /**
52
- * The output format for linting results.
53
- *
54
- * @defaultValue "stylish"
55
- */
56
- format?: "stylish" | "checkstyle" | "github" | "gitlab" | "json" | "junit" | "unix";
57
- }
58
- interface OxlintPluginUserConfig extends UserConfig {
59
- /**
60
- * Options for the Oxlint plugin.
61
- */
62
- oxlint?: OxlintPluginOptions;
63
- }
64
- interface OxlintPluginResolvedConfig extends ResolvedConfig {
65
- /**
66
- * Options for the Oxlint plugin.
67
- */
68
- oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
69
- }
70
- type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
- //#endregion
72
- export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
73
- //# sourceMappingURL=plugin.d.cts.map
1
+ import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-iulHDbbP.cjs";
2
+ export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
@@ -1,73 +1,2 @@
1
- import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
- //#region src/types/plugin.d.ts
3
- interface OxlintPluginOptions {
4
- /**
5
- * A glob pattern or path to ignore files and directories.
6
- */
7
- ignorePatterns?: string | string[];
8
- /**
9
- * The path to the Oxlint configuration file.
10
- *
11
- * @defaultValue ".oxlintrc.json"
12
- */
13
- configFile?: string;
14
- /**
15
- * An array of rules to deny
16
- */
17
- deny?: string[];
18
- /**
19
- * An array of rules to allow
20
- */
21
- allow?: string[];
22
- /**
23
- * An array of rules to warn about
24
- */
25
- warn?: string[];
26
- /**
27
- * Additional parameters to pass to the Oxlint CLI
28
- */
29
- params?: string;
30
- /**
31
- * The path to the Oxlint binary
32
- */
33
- oxlintPath?: string;
34
- /**
35
- * Whether to enable [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html)
36
- *
37
- * @defaultValue true
38
- */
39
- typeAware?: boolean;
40
- /**
41
- * Whether to automatically fix fixable issues.
42
- *
43
- * - `true` - Automatically fix fixable issues.
44
- * - `false` - Do not fix any issues.
45
- * - `"suggestions"` - Only apply fixes that are considered suggestions.
46
- * - `"dangerously"` - Apply all fixes, including those that may change code behavior.
47
- *
48
- * @defaultValue true
49
- */
50
- fix?: boolean | "suggestions" | "dangerously";
51
- /**
52
- * The output format for linting results.
53
- *
54
- * @defaultValue "stylish"
55
- */
56
- format?: "stylish" | "checkstyle" | "github" | "gitlab" | "json" | "junit" | "unix";
57
- }
58
- interface OxlintPluginUserConfig extends UserConfig {
59
- /**
60
- * Options for the Oxlint plugin.
61
- */
62
- oxlint?: OxlintPluginOptions;
63
- }
64
- interface OxlintPluginResolvedConfig extends ResolvedConfig {
65
- /**
66
- * Options for the Oxlint plugin.
67
- */
68
- oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
69
- }
70
- type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
71
- //#endregion
72
- export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
73
- //# sourceMappingURL=plugin.d.mts.map
1
+ import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-iulHDbbP.mjs";
2
+ export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-oxlint",
3
- "version": "0.7.673",
3
+ "version": "0.7.675",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Oxlint on the codebase.",
6
6
  "repository": {
@@ -122,15 +122,15 @@
122
122
  "defu": "^6.1.7",
123
123
  "oxlint": "^1.78.0",
124
124
  "oxlint-tsgolint": "^0.14.2",
125
- "powerlines": "^0.47.208"
125
+ "powerlines": "^0.47.209"
126
126
  },
127
127
  "devDependencies": {
128
- "@powerlines/plugin-plugin": "^0.12.620",
128
+ "@powerlines/plugin-plugin": "^0.12.622",
129
129
  "@types/node": "^25.9.5"
130
130
  },
131
131
  "publishConfig": { "access": "public" },
132
132
  "main": "./dist/index.cjs",
133
133
  "module": "./dist/index.mjs",
134
134
  "types": "./dist/index.d.cts",
135
- "gitHead": "7f9a0df69c7021d02c29a0d0c0626465686566fa"
135
+ "gitHead": "88974b224a5cdb97dbd377373c9ed7f8a8780324"
136
136
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;UAoBiB;;;;EAIf;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;;;;;;;;EAYA;;;;;;EAOA;;UAUe,+BAA+B;;;;EAI9C,SAAS;;UAGM,mCAAmC;;;;EAIlD,QAAQ,KACN,kGAGA,SACE,KACE;;KAYI,oBACV,wBAAwB,6BACtB,8BACA,cAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":""}