@powerlines/plugin-oxlint 0.7.3 → 0.7.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.
@@ -0,0 +1,7 @@
1
+ 'use strict';/*****************************************
2
+ *
3
+ * ⚡ Built by Storm Software
4
+ *
5
+ *****************************************/
6
+
7
+ var c=Object.defineProperty;var d=(a,b)=>c(a,"name",{value:b,configurable:true});exports.a=d;
@@ -0,0 +1,7 @@
1
+ /*****************************************
2
+ *
3
+ * ⚡ Built by Storm Software
4
+ *
5
+ *****************************************/
6
+
7
+ var c=Object.defineProperty;var d=(a,b)=>c(a,"name",{value:b,configurable:true});export{d as a};
@@ -0,0 +1,51 @@
1
+ 'use strict';var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),neutral=require('@stryke/convert/neutral');/*****************************************
2
+ *
3
+ * ⚡ Built by Storm Software
4
+ *
5
+ *****************************************/
6
+
7
+ function u(r={}){return `{
8
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
9
+ "plugins": [
10
+ "import",
11
+ "jsdoc",
12
+ "unicorn",
13
+ "typescript",
14
+ "oxc"
15
+ ],
16
+ "ignorePatterns": [
17
+ "crates/**",
18
+ "dist/**",
19
+ "build/**",
20
+ "coverage/**",
21
+ "node_modules/**",
22
+ "temp/**",
23
+ "tests/fixtures/**"${r.ignorePatterns?`,
24
+ ${neutral.toArray(r.ignorePatterns).map(o=>`"${o}"`).join(`,
25
+ `)}`:""}
26
+ ],
27
+ "rules": {
28
+ "import/named": "error",
29
+ "import/namespace": [
30
+ "error",
31
+ {
32
+ "allowComputed": true
33
+ }
34
+ ],
35
+ "no-unused-expressions": [
36
+ "warn",
37
+ {
38
+ "allowShortCircuit": true,
39
+ "allowTaggedTemplates": true
40
+ }
41
+ ],
42
+ "no-unused-vars": [
43
+ "warn",
44
+ {
45
+ "varsIgnorePattern": "^_",
46
+ "argsIgnorePattern": "^_"
47
+ }
48
+ ],
49
+ "unicorn/prefer-node-protocol": "error"
50
+ }
51
+ }`}chunkFBBMZ4NC_cjs.a(u,"generateConfig");exports.generateConfig=u;
@@ -0,0 +1,31 @@
1
+ import { O as OxlintPluginOptions } from '../index-Dc_OruZK.cjs';
2
+ import '@storm-software/build-tools/types';
3
+ import '@storm-software/config-tools/types';
4
+ import '@storm-software/config/types';
5
+ import '@stryke/types/base';
6
+ import '@stryke/types/configuration';
7
+ import '@stryke/types/file';
8
+ import 'vite';
9
+ import '@stryke/env/get-env-paths';
10
+ import '@stryke/types/package-json';
11
+ import 'jiti';
12
+ import 'oxc-parser';
13
+ import 'semver';
14
+ import 'unplugin';
15
+ import '@stryke/types/tsconfig';
16
+ import 'typescript';
17
+ import '@stryke/json/types';
18
+ import 'memfs';
19
+ import 'node:fs';
20
+ import 'unionfs';
21
+ import '@stryke/types/array';
22
+
23
+ /**
24
+ * Generates an Oxlint configuration file content based on the provided options.
25
+ *
26
+ * @param options - The options for the Oxlint plugin.
27
+ * @returns The generated configuration as a string.
28
+ */
29
+ declare function generateConfig(options?: OxlintPluginOptions): string;
30
+
31
+ export { generateConfig };
@@ -0,0 +1,31 @@
1
+ import { O as OxlintPluginOptions } from '../index-Dc_OruZK.js';
2
+ import '@storm-software/build-tools/types';
3
+ import '@storm-software/config-tools/types';
4
+ import '@storm-software/config/types';
5
+ import '@stryke/types/base';
6
+ import '@stryke/types/configuration';
7
+ import '@stryke/types/file';
8
+ import 'vite';
9
+ import '@stryke/env/get-env-paths';
10
+ import '@stryke/types/package-json';
11
+ import 'jiti';
12
+ import 'oxc-parser';
13
+ import 'semver';
14
+ import 'unplugin';
15
+ import '@stryke/types/tsconfig';
16
+ import 'typescript';
17
+ import '@stryke/json/types';
18
+ import 'memfs';
19
+ import 'node:fs';
20
+ import 'unionfs';
21
+ import '@stryke/types/array';
22
+
23
+ /**
24
+ * Generates an Oxlint configuration file content based on the provided options.
25
+ *
26
+ * @param options - The options for the Oxlint plugin.
27
+ * @returns The generated configuration as a string.
28
+ */
29
+ declare function generateConfig(options?: OxlintPluginOptions): string;
30
+
31
+ export { generateConfig };
@@ -0,0 +1,51 @@
1
+ import {a}from'../chunk-UCUR73HG.js';import {toArray}from'@stryke/convert/neutral';/*****************************************
2
+ *
3
+ * ⚡ Built by Storm Software
4
+ *
5
+ *****************************************/
6
+
7
+ function l(r={}){return `{
8
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
9
+ "plugins": [
10
+ "import",
11
+ "jsdoc",
12
+ "unicorn",
13
+ "typescript",
14
+ "oxc"
15
+ ],
16
+ "ignorePatterns": [
17
+ "crates/**",
18
+ "dist/**",
19
+ "build/**",
20
+ "coverage/**",
21
+ "node_modules/**",
22
+ "temp/**",
23
+ "tests/fixtures/**"${r.ignorePatterns?`,
24
+ ${toArray(r.ignorePatterns).map(o=>`"${o}"`).join(`,
25
+ `)}`:""}
26
+ ],
27
+ "rules": {
28
+ "import/named": "error",
29
+ "import/namespace": [
30
+ "error",
31
+ {
32
+ "allowComputed": true
33
+ }
34
+ ],
35
+ "no-unused-expressions": [
36
+ "warn",
37
+ {
38
+ "allowShortCircuit": true,
39
+ "allowTaggedTemplates": true
40
+ }
41
+ ],
42
+ "no-unused-vars": [
43
+ "warn",
44
+ {
45
+ "varsIgnorePattern": "^_",
46
+ "argsIgnorePattern": "^_"
47
+ }
48
+ ],
49
+ "unicorn/prefer-node-protocol": "error"
50
+ }
51
+ }`}a(l,"generateConfig");export{l as generateConfig};
@@ -0,0 +1 @@
1
+ 'use strict';var generateConfig=require('./generate-config');Object.keys(generateConfig).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return generateConfig[k]}})});
@@ -0,0 +1,22 @@
1
+ export { generateConfig } from './generate-config.cjs';
2
+ import '../index-Dc_OruZK.cjs';
3
+ import '@storm-software/build-tools/types';
4
+ import '@storm-software/config-tools/types';
5
+ import '@storm-software/config/types';
6
+ import '@stryke/types/base';
7
+ import '@stryke/types/configuration';
8
+ import '@stryke/types/file';
9
+ import 'vite';
10
+ import '@stryke/env/get-env-paths';
11
+ import '@stryke/types/package-json';
12
+ import 'jiti';
13
+ import 'oxc-parser';
14
+ import 'semver';
15
+ import 'unplugin';
16
+ import '@stryke/types/tsconfig';
17
+ import 'typescript';
18
+ import '@stryke/json/types';
19
+ import 'memfs';
20
+ import 'node:fs';
21
+ import 'unionfs';
22
+ import '@stryke/types/array';
@@ -0,0 +1,22 @@
1
+ export { generateConfig } from './generate-config.js';
2
+ import '../index-Dc_OruZK.js';
3
+ import '@storm-software/build-tools/types';
4
+ import '@storm-software/config-tools/types';
5
+ import '@storm-software/config/types';
6
+ import '@stryke/types/base';
7
+ import '@stryke/types/configuration';
8
+ import '@stryke/types/file';
9
+ import 'vite';
10
+ import '@stryke/env/get-env-paths';
11
+ import '@stryke/types/package-json';
12
+ import 'jiti';
13
+ import 'oxc-parser';
14
+ import 'semver';
15
+ import 'unplugin';
16
+ import '@stryke/types/tsconfig';
17
+ import 'typescript';
18
+ import '@stryke/json/types';
19
+ import 'memfs';
20
+ import 'node:fs';
21
+ import 'unionfs';
22
+ import '@stryke/types/array';
@@ -0,0 +1 @@
1
+ export*from'./generate-config';