@shell-shock/eslint-plugin 0.0.32 → 0.0.34

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 +1 @@
1
- const e=require(`./base.cjs`),t={base:e.default};exports.configs=t;
1
+ const e=require(`./base.cjs`),t=require(`./recommended.cjs`),n={base:e.default,recommended:t.default};exports.configs=n;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/configs/index.ts"],"sourcesContent":[],"mappings":";;;cAqBa,SAAS,eAAe,MAAA,CAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/configs/index.ts"],"sourcesContent":[],"mappings":";;;cAsBa,SAAS,eAAe,MAAA,CAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/configs/index.ts"],"sourcesContent":[],"mappings":";;;cAqBa,SAAS,eAAe,MAAA,CAAO"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/configs/index.ts"],"sourcesContent":[],"mappings":";;;cAsBa,SAAS,eAAe,MAAA,CAAO"}
@@ -1,2 +1,2 @@
1
- import e from"./base.mjs";const t={base:e};export{t as configs};
1
+ import e from"./base.mjs";import t from"./recommended.mjs";const n={base:e,recommended:t};export{n as configs};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["configs: Record<string, Linter.Config>"],"sources":["../../src/configs/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { Linter } from \"eslint\";\nimport base from \"./base\";\n\nexport const configs: Record<string, Linter.Config> = {\n base\n};\n"],"mappings":"0BAqBA,MAAaA,EAAyC,CACpD,KAAA,EACD"}
1
+ {"version":3,"file":"index.mjs","names":["configs: Record<string, Linter.Config>"],"sources":["../../src/configs/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { Linter } from \"eslint\";\nimport base from \"./base\";\nimport recommended from \"./recommended\";\n\nexport const configs: Record<string, Linter.Config> = {\n base,\n recommended\n};\n"],"mappings":"2DAsBA,MAAaA,EAAyC,CACpD,KAAA,EACA,YAAA,EACD"}
@@ -0,0 +1 @@
1
+ const e=require(`../plugin.cjs`),t={files:[`**/*.{,c,m}{j,t}s{,x}`],name:`shell-shock:recommended`,plugins:{"shell-shock":e.plugin},ignores:[`.shell-shock`],rules:{"shell-shock/duplicate-command-path":`warn`,"shell-shock/invalid-command-export":`error`,"shell-shock/invalid-handler-params":`error`}};var n=t;module.exports=n;
@@ -0,0 +1,6 @@
1
+ import { Linter } from "eslint";
2
+
3
+ //#region src/configs/recommended.d.ts
4
+ declare const config: Linter.Config;
5
+ export = config;
6
+ //# sourceMappingURL=recommended.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.d.cts","names":[],"sources":["../../src/configs/recommended.ts"],"sourcesContent":[],"mappings":";;;cAqBM,QAAQ,MAAA,CAAO"}
@@ -0,0 +1,7 @@
1
+ import { Linter } from "eslint";
2
+
3
+ //#region src/configs/recommended.d.ts
4
+ declare const config: Linter.Config;
5
+ //#endregion
6
+ export { config as default };
7
+ //# sourceMappingURL=recommended.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.d.mts","names":[],"sources":["../../src/configs/recommended.ts"],"sourcesContent":[],"mappings":";;;cAqBM,QAAQ,MAAA,CAAO"}
@@ -0,0 +1,2 @@
1
+ import{plugin as e}from"../plugin.mjs";var t={files:[`**/*.{,c,m}{j,t}s{,x}`],name:`shell-shock:recommended`,plugins:{"shell-shock":e},ignores:[`.shell-shock`],rules:{"shell-shock/duplicate-command-path":`warn`,"shell-shock/invalid-command-export":`error`,"shell-shock/invalid-handler-params":`error`}};export{t as default};
2
+ //# sourceMappingURL=recommended.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.mjs","names":["config: Linter.Config"],"sources":["../../src/configs/recommended.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { Linter } from \"eslint\";\nimport { plugin } from \"../plugin\";\n\nconst config: Linter.Config = {\n files: [\"**/*.{,c,m}{j,t}s{,x}\"],\n name: \"shell-shock:recommended\",\n plugins: {\n \"shell-shock\": plugin\n },\n ignores: [\".shell-shock\"],\n rules: {\n \"shell-shock/duplicate-command-path\": \"warn\",\n \"shell-shock/invalid-command-export\": \"error\",\n \"shell-shock/invalid-handler-params\": \"error\"\n }\n};\n\nexport default config;\n"],"mappings":"uCAmCA,IAAA,EAd8B,CAC5B,MAAO,CAAC,wBAAwB,CAChC,KAAM,0BACN,QAAS,CACP,cAAe,EAChB,CACD,QAAS,CAAC,eAAe,CACzB,MAAO,CACL,qCAAsC,OACtC,qCAAsC,QACtC,qCAAsC,QACvC,CACF"}
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- const e=require(`./plugin.cjs`),t=require(`./configs/index.cjs`),n={...e.plugin,configs:t.configs};var r=n;module.exports=r;
1
+ Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`./plugin.cjs`),t=require(`./configs/index.cjs`),n={...e.plugin,configs:t.configs};var r=n;exports.configs=t.configs,exports.default=r;
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { configs } from "./configs/index.cjs";
1
2
  import { plugin } from "./plugin.cjs";
2
3
  import { ESLint, Linter } from "eslint";
3
4
 
@@ -21,5 +22,5 @@ type RuleDefinitions = (typeof plugin)["rules"];
21
22
  type RuleOptions = { [K in keyof RuleDefinitions]: RuleDefinitions[K]["defaultOptions"] };
22
23
  type Rules = { [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]> };
23
24
  //#endregion
24
- export { RuleOptions, Rules, eslintPlugin as default };
25
+ export { RuleOptions, Rules, configs, eslintPlugin as default };
25
26
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;AAoBkC;AAqBP;AAI3B;;;;;AAIA;;;;cAbM,YAc6B,EAdf,MAAA,CAAO,MAcQ;KAP9B,eAAA,WAA0B;KAEnB,WAAA,iBACE,kBAAkB,gBAAgB;KAGpC,KAAA,iBACE,cAAc,MAAA,CAAO,UAAU,YAAY"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAoBkC;AAuBf;AAInB;;;;;AAIA;;;;cAfM,YAgB6B,EAhBf,MAAA,CAAO,MAgBQ;KAP9B,eAAA,WAA0B;KAEnB,WAAA,iBACE,kBAAkB,gBAAgB;KAGpC,KAAA,iBACE,cAAc,MAAA,CAAO,UAAU,YAAY"}
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { configs } from "./configs/index.mjs";
1
2
  import { plugin } from "./plugin.mjs";
2
3
  import { ESLint, Linter } from "eslint";
3
4
 
@@ -21,5 +22,5 @@ type RuleDefinitions = (typeof plugin)["rules"];
21
22
  type RuleOptions = { [K in keyof RuleDefinitions]: RuleDefinitions[K]["defaultOptions"] };
22
23
  type Rules = { [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]> };
23
24
  //#endregion
24
- export { RuleOptions, Rules, eslintPlugin as default };
25
+ export { RuleOptions, Rules, configs, eslintPlugin as default };
25
26
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;AAoBkC;AAqBP;AAI3B;;;;;AAIA;;;;cAbM,YAc6B,EAdf,MAAA,CAAO,MAcQ;KAP9B,eAAA,WAA0B;KAEnB,WAAA,iBACE,kBAAkB,gBAAgB;KAGpC,KAAA,iBACE,cAAc,MAAA,CAAO,UAAU,YAAY"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAoBkC;AAuBf;AAInB;;;;;AAIA;;;;cAfM,YAgB6B,EAhBf,MAAA,CAAO,MAgBQ;KAP9B,eAAA,WAA0B;KAEnB,WAAA,iBACE,kBAAkB,gBAAgB;KAGpC,KAAA,iBACE,cAAc,MAAA,CAAO,UAAU,YAAY"}
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{plugin as e}from"./plugin.mjs";import{configs as t}from"./configs/index.mjs";var n={...e,configs:t};export{n as default};
1
+ import{plugin as e}from"./plugin.mjs";import{configs as t}from"./configs/index.mjs";var n={...e,configs:t};export{t as configs,n as default};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["eslintPlugin: ESLint.Plugin"],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { ESLint, Linter } from \"eslint\";\nimport { configs } from \"./configs\";\nimport { plugin } from \"./plugin\";\n\n/**\n * A shared ESLint configuration containing globals used in Storm Stack projects\n *\n * @packageDocumentation\n * This package contains the ESLint plugin for Storm Stack, which provides\n * a set of rules and configurations for linting JavaScript and TypeScript code.\n * It includes a set of recommended rules, as well as a strict configuration\n * that enforces a more opinionated style. The plugin is designed to be used\n * with ESLint, a popular linting tool for JavaScript and TypeScript.\n *\n * This package also includes additional utilities for enhancing the linting\n * experience and ensuring code quality across projects.\n */\n\nconst eslintPlugin: ESLint.Plugin = {\n ...plugin,\n configs\n};\n\nexport default eslintPlugin;\n\ntype RuleDefinitions = (typeof plugin)[\"rules\"];\n\nexport type RuleOptions = {\n [K in keyof RuleDefinitions]: RuleDefinitions[K][\"defaultOptions\"];\n};\n\nexport type Rules = {\n [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]>;\n};\n"],"mappings":"oFAyCA,IAAA,EALoC,CAClC,GAAG,EACH,UACD"}
1
+ {"version":3,"file":"index.mjs","names":["eslintPlugin: ESLint.Plugin"],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { ESLint, Linter } from \"eslint\";\nimport { configs } from \"./configs\";\nimport { plugin } from \"./plugin\";\n\n/**\n * A shared ESLint configuration containing globals used in Storm Stack projects\n *\n * @packageDocumentation\n * This package contains the ESLint plugin for Storm Stack, which provides\n * a set of rules and configurations for linting JavaScript and TypeScript code.\n * It includes a set of recommended rules, as well as a strict configuration\n * that enforces a more opinionated style. The plugin is designed to be used\n * with ESLint, a popular linting tool for JavaScript and TypeScript.\n *\n * This package also includes additional utilities for enhancing the linting\n * experience and ensuring code quality across projects.\n */\n\nconst eslintPlugin: ESLint.Plugin = {\n ...plugin,\n configs\n};\n\nexport default eslintPlugin;\n\nexport { configs };\n\ntype RuleDefinitions = (typeof plugin)[\"rules\"];\n\nexport type RuleOptions = {\n [K in keyof RuleDefinitions]: RuleDefinitions[K][\"defaultOptions\"];\n};\n\nexport type Rules = {\n [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]>;\n};\n"],"mappings":"oFAyCA,IAAA,EALoC,CAClC,GAAG,EACH,UACD"}
package/dist/package.cjs CHANGED
@@ -1 +1 @@
1
- var e=`0.0.31`;Object.defineProperty(exports,`version`,{enumerable:!0,get:function(){return e}});
1
+ var e=`0.0.33`;Object.defineProperty(exports,`version`,{enumerable:!0,get:function(){return e}});
package/dist/package.mjs CHANGED
@@ -1,2 +1,2 @@
1
- var e=`0.0.31`;export{e as version};
1
+ var e=`0.0.33`;export{e as version};
2
2
  //# sourceMappingURL=package.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"package.mjs","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@shell-shock/eslint-plugin\",\n \"version\": \"0.0.31\",\n \"type\": \"module\",\n \"description\": \"An ESLint Plugin with linting rules that ensure a Shell Shock project is following the best practices.\",\n \"repository\": {\n \"type\": \"github\",\n \"url\": \"https://github.com/storm-software/shell-shock.git\",\n \"directory\": \"packages/eslint-plugin\"\n },\n \"homepage\": \"https://stormsoftware.com\",\n \"bugs\": {\n \"url\": \"https://stormsoftware.com/support\",\n \"email\": \"support@stormsoftware.com\"\n },\n \"author\": {\n \"name\": \"Storm Software\",\n \"email\": \"contact@stormsoftware.com\",\n \"url\": \"https://stormsoftware.com\"\n },\n \"maintainers\": [\n {\n \"name\": \"Storm Software\",\n \"email\": \"contact@stormsoftware.com\",\n \"url\": \"https://stormsoftware.com\"\n }\n ],\n \"contributors\": [\n {\n \"name\": \"Storm Software\",\n \"email\": \"contact@stormsoftware.com\",\n \"url\": \"https://stormsoftware.com\"\n }\n ],\n \"funding\": {\n \"type\": \"github\",\n \"url\": \"https://github.com/sponsors/storm-software\"\n },\n \"license\": \"Apache-2.0\",\n \"private\": false,\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.mjs\",\n \"exports\": {\n \".\": {\n \"require\": {\n \"types\": \"./dist/index.d.cts\",\n \"default\": \"./dist/index.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n }\n },\n \"./configs\": {\n \"require\": {\n \"types\": \"./dist/configs/index.d.cts\",\n \"default\": \"./dist/configs/index.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/configs/index.d.mts\",\n \"default\": \"./dist/configs/index.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/configs/index.d.mts\",\n \"default\": \"./dist/configs/index.mjs\"\n }\n },\n \"./configs/base\": {\n \"require\": {\n \"types\": \"./dist/configs/base.d.cts\",\n \"default\": \"./dist/configs/base.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/configs/base.d.mts\",\n \"default\": \"./dist/configs/base.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/configs/base.d.mts\",\n \"default\": \"./dist/configs/base.mjs\"\n }\n },\n \"./package.json\": \"./package.json\",\n \"./plugin\": {\n \"require\": {\n \"types\": \"./dist/plugin.d.cts\",\n \"default\": \"./dist/plugin.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/plugin.d.mts\",\n \"default\": \"./dist/plugin.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/plugin.d.mts\",\n \"default\": \"./dist/plugin.mjs\"\n }\n },\n \"./rules/duplicate-command-path\": {\n \"require\": {\n \"types\": \"./dist/rules/duplicate-command-path.d.cts\",\n \"default\": \"./dist/rules/duplicate-command-path.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/rules/duplicate-command-path.d.mts\",\n \"default\": \"./dist/rules/duplicate-command-path.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/rules/duplicate-command-path.d.mts\",\n \"default\": \"./dist/rules/duplicate-command-path.mjs\"\n }\n },\n \"./rules/invalid-command-export\": {\n \"require\": {\n \"types\": \"./dist/rules/invalid-command-export.d.cts\",\n \"default\": \"./dist/rules/invalid-command-export.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/rules/invalid-command-export.d.mts\",\n \"default\": \"./dist/rules/invalid-command-export.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/rules/invalid-command-export.d.mts\",\n \"default\": \"./dist/rules/invalid-command-export.mjs\"\n }\n },\n \"./rules/invalid-handler-params\": {\n \"require\": {\n \"types\": \"./dist/rules/invalid-handler-params.d.cts\",\n \"default\": \"./dist/rules/invalid-handler-params.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/rules/invalid-handler-params.d.mts\",\n \"default\": \"./dist/rules/invalid-handler-params.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/rules/invalid-handler-params.d.mts\",\n \"default\": \"./dist/rules/invalid-handler-params.mjs\"\n }\n }\n },\n \"types\": \"./dist/index.d.cts\",\n \"typings\": \"dist/index.d.mts\",\n \"files\": [\"dist/**/*\"],\n \"keywords\": [\"eslint\", \"eslint-plugin\", \"shell-shock\", \"storm-software\"],\n \"peerDependencies\": {\n \"@powerlines/plugin-tsdown\": \">=0.1.224\",\n \"eslint\": \"catalog:\",\n \"powerlines\": \">=0.38.38\"\n },\n \"peerDependenciesMeta\": {\n \"eslint\": {\n \"optional\": false\n }\n },\n \"dependencies\": {\n \"@stryke/fs\": \"catalog:\",\n \"@stryke/path\": \"catalog:\",\n \"@typescript-eslint/utils\": \"catalog:\",\n \"defu\": \"catalog:\"\n },\n \"devDependencies\": {\n \"@eslint/config-inspector\": \"catalog:\",\n \"@powerlines/plugin-tsdown\": \"catalog:\",\n \"@storm-software/eslint\": \"catalog:\",\n \"@types/eslint\": \"catalog:\",\n \"@types/eslint__js\": \"catalog:\",\n \"@types/node\": \"catalog:\",\n \"eslint\": \"catalog:\",\n \"eslint-doc-generator\": \"catalog:\",\n \"eslint-plugin-eslint-plugin\": \"catalog:\",\n \"eslint-plugin-i18n-text\": \"catalog:\",\n \"eslint-rule-documentation\": \"catalog:\",\n \"eslint-typegen\": \"catalog:\",\n \"powerlines\": \"catalog:\"\n },\n \"publishConfig\": {\n \"access\": \"public\",\n \"exports\": {\n \".\": {\n \"require\": \"./dist/index.cjs\",\n \"import\": \"./dist/index.mjs\"\n },\n \"./configs\": {\n \"require\": \"./dist/configs/index.cjs\",\n \"import\": \"./dist/configs/index.mjs\"\n },\n \"./configs/base\": {\n \"require\": \"./dist/configs/base.cjs\",\n \"import\": \"./dist/configs/base.mjs\"\n },\n \"./plugin\": {\n \"require\": \"./dist/plugin.cjs\",\n \"import\": \"./dist/plugin.mjs\"\n },\n \"./rules/duplicate-command-path\": {\n \"require\": \"./dist/rules/duplicate-command-path.cjs\",\n \"import\": \"./dist/rules/duplicate-command-path.mjs\"\n },\n \"./rules/invalid-command-export\": {\n \"require\": \"./dist/rules/invalid-command-export.cjs\",\n \"import\": \"./dist/rules/invalid-command-export.mjs\"\n },\n \"./rules/invalid-handler-params\": {\n \"require\": \"./dist/rules/invalid-handler-params.cjs\",\n \"import\": \"./dist/rules/invalid-handler-params.mjs\"\n },\n \"./package.json\": \"./package.json\"\n }\n }\n}\n"],"mappings":"MAEa"}
1
+ {"version":3,"file":"package.mjs","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@shell-shock/eslint-plugin\",\n \"version\": \"0.0.33\",\n \"private\": false,\n \"description\": \"An ESLint Plugin with linting rules that ensure a Shell Shock project is following the best practices.\",\n \"keywords\": [\"eslint\", \"eslint-plugin\", \"shell-shock\", \"storm-software\"],\n \"homepage\": \"https://stormsoftware.com\",\n \"bugs\": {\n \"url\": \"https://stormsoftware.com/support\",\n \"email\": \"support@stormsoftware.com\"\n },\n \"repository\": {\n \"type\": \"github\",\n \"url\": \"https://github.com/storm-software/shell-shock.git\",\n \"directory\": \"packages/eslint-plugin\"\n },\n \"funding\": {\n \"type\": \"github\",\n \"url\": \"https://github.com/sponsors/storm-software\"\n },\n \"license\": \"Apache-2.0\",\n \"author\": {\n \"name\": \"Storm Software\",\n \"email\": \"contact@stormsoftware.com\",\n \"url\": \"https://stormsoftware.com\"\n },\n \"maintainers\": [\n {\n \"name\": \"Storm Software\",\n \"email\": \"contact@stormsoftware.com\",\n \"url\": \"https://stormsoftware.com\"\n }\n ],\n \"contributors\": [\n {\n \"name\": \"Storm Software\",\n \"email\": \"contact@stormsoftware.com\",\n \"url\": \"https://stormsoftware.com\"\n }\n ],\n \"type\": \"module\",\n \"exports\": {\n \".\": {\n \"require\": {\n \"types\": \"./dist/index.d.cts\",\n \"default\": \"./dist/index.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n }\n },\n \"./configs\": {\n \"require\": {\n \"types\": \"./dist/configs/index.d.cts\",\n \"default\": \"./dist/configs/index.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/configs/index.d.mts\",\n \"default\": \"./dist/configs/index.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/configs/index.d.mts\",\n \"default\": \"./dist/configs/index.mjs\"\n }\n },\n \"./configs/base\": {\n \"require\": {\n \"types\": \"./dist/configs/base.d.cts\",\n \"default\": \"./dist/configs/base.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/configs/base.d.mts\",\n \"default\": \"./dist/configs/base.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/configs/base.d.mts\",\n \"default\": \"./dist/configs/base.mjs\"\n }\n },\n \"./configs/recommended\": {\n \"require\": {\n \"types\": \"./dist/configs/recommended.d.cts\",\n \"default\": \"./dist/configs/recommended.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/configs/recommended.d.mts\",\n \"default\": \"./dist/configs/recommended.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/configs/recommended.d.mts\",\n \"default\": \"./dist/configs/recommended.mjs\"\n }\n },\n \"./package.json\": \"./package.json\",\n \"./plugin\": {\n \"require\": {\n \"types\": \"./dist/plugin.d.cts\",\n \"default\": \"./dist/plugin.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/plugin.d.mts\",\n \"default\": \"./dist/plugin.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/plugin.d.mts\",\n \"default\": \"./dist/plugin.mjs\"\n }\n },\n \"./rules/duplicate-command-path\": {\n \"require\": {\n \"types\": \"./dist/rules/duplicate-command-path.d.cts\",\n \"default\": \"./dist/rules/duplicate-command-path.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/rules/duplicate-command-path.d.mts\",\n \"default\": \"./dist/rules/duplicate-command-path.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/rules/duplicate-command-path.d.mts\",\n \"default\": \"./dist/rules/duplicate-command-path.mjs\"\n }\n },\n \"./rules/invalid-command-export\": {\n \"require\": {\n \"types\": \"./dist/rules/invalid-command-export.d.cts\",\n \"default\": \"./dist/rules/invalid-command-export.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/rules/invalid-command-export.d.mts\",\n \"default\": \"./dist/rules/invalid-command-export.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/rules/invalid-command-export.d.mts\",\n \"default\": \"./dist/rules/invalid-command-export.mjs\"\n }\n },\n \"./rules/invalid-handler-params\": {\n \"require\": {\n \"types\": \"./dist/rules/invalid-handler-params.d.cts\",\n \"default\": \"./dist/rules/invalid-handler-params.cjs\"\n },\n \"import\": {\n \"types\": \"./dist/rules/invalid-handler-params.d.mts\",\n \"default\": \"./dist/rules/invalid-handler-params.mjs\"\n },\n \"default\": {\n \"types\": \"./dist/rules/invalid-handler-params.d.mts\",\n \"default\": \"./dist/rules/invalid-handler-params.mjs\"\n }\n }\n },\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.cts\",\n \"typings\": \"dist/index.d.mts\",\n \"files\": [\"dist/**/*\"],\n \"dependencies\": {\n \"@stryke/fs\": \"catalog:\",\n \"@stryke/path\": \"catalog:\",\n \"@typescript-eslint/utils\": \"catalog:\",\n \"defu\": \"catalog:\",\n \"@storm-software/testing-tools\": \"catalog:\",\n \"powerlines\": \"catalog:\"\n },\n \"devDependencies\": {\n \"@eslint/compat\": \"catalog:\",\n \"@eslint/config-inspector\": \"catalog:\",\n \"@powerlines/plugin-tsdown\": \"catalog:\",\n \"@storm-software/testing-tools\": \"catalog:\",\n \"@types/eslint\": \"catalog:\",\n \"@types/eslint__js\": \"catalog:\",\n \"@types/node\": \"catalog:\",\n \"eslint\": \"catalog:\",\n \"eslint-doc-generator\": \"catalog:\",\n \"eslint-flat-config-utils\": \"catalog:\",\n \"eslint-plugin-eslint-plugin\": \"catalog:\",\n \"eslint-plugin-i18n-text\": \"catalog:\",\n \"eslint-rule-documentation\": \"catalog:\",\n \"eslint-typegen\": \"catalog:\",\n \"powerlines\": \"catalog:\"\n },\n \"peerDependencies\": {\n \"eslint\": \">=9.39.3\"\n },\n \"peerDependenciesMeta\": {\n \"eslint\": {\n \"optional\": false\n }\n },\n \"publishConfig\": {\n \"access\": \"public\",\n \"exports\": {\n \".\": {\n \"require\": \"./dist/index.cjs\",\n \"import\": \"./dist/index.mjs\"\n },\n \"./configs\": {\n \"require\": \"./dist/configs/index.cjs\",\n \"import\": \"./dist/configs/index.mjs\"\n },\n \"./configs/base\": {\n \"require\": \"./dist/configs/base.cjs\",\n \"import\": \"./dist/configs/base.mjs\"\n },\n \"./plugin\": {\n \"require\": \"./dist/plugin.cjs\",\n \"import\": \"./dist/plugin.mjs\"\n },\n \"./rules/duplicate-command-path\": {\n \"require\": \"./dist/rules/duplicate-command-path.cjs\",\n \"import\": \"./dist/rules/duplicate-command-path.mjs\"\n },\n \"./rules/invalid-command-export\": {\n \"require\": \"./dist/rules/invalid-command-export.cjs\",\n \"import\": \"./dist/rules/invalid-command-export.mjs\"\n },\n \"./rules/invalid-handler-params\": {\n \"require\": \"./dist/rules/invalid-handler-params.cjs\",\n \"import\": \"./dist/rules/invalid-handler-params.mjs\"\n },\n \"./package.json\": \"./package.json\"\n }\n }\n}\n"],"mappings":"MAEa"}
package/package.json CHANGED
@@ -1,18 +1,24 @@
1
1
  {
2
2
  "name": "@shell-shock/eslint-plugin",
3
- "version": "0.0.32",
4
- "type": "module",
3
+ "version": "0.0.34",
4
+ "private": false,
5
5
  "description": "An ESLint Plugin with linting rules that ensure a Shell Shock project is following the best practices.",
6
+ "keywords": ["eslint", "eslint-plugin", "shell-shock", "storm-software"],
7
+ "homepage": "https://stormsoftware.com",
8
+ "bugs": {
9
+ "url": "https://stormsoftware.com/support",
10
+ "email": "support@stormsoftware.com"
11
+ },
6
12
  "repository": {
7
13
  "type": "github",
8
14
  "url": "https://github.com/storm-software/shell-shock.git",
9
15
  "directory": "packages/eslint-plugin"
10
16
  },
11
- "homepage": "https://stormsoftware.com",
12
- "bugs": {
13
- "url": "https://stormsoftware.com/support",
14
- "email": "support@stormsoftware.com"
17
+ "funding": {
18
+ "type": "github",
19
+ "url": "https://github.com/sponsors/storm-software"
15
20
  },
21
+ "license": "Apache-2.0",
16
22
  "author": {
17
23
  "name": "Storm Software",
18
24
  "email": "contact@stormsoftware.com",
@@ -32,14 +38,7 @@
32
38
  "url": "https://stormsoftware.com"
33
39
  }
34
40
  ],
35
- "funding": {
36
- "type": "github",
37
- "url": "https://github.com/sponsors/storm-software"
38
- },
39
- "license": "Apache-2.0",
40
- "private": false,
41
- "main": "./dist/index.cjs",
42
- "module": "./dist/index.mjs",
41
+ "type": "module",
43
42
  "exports": {
44
43
  ".": {
45
44
  "require": {
@@ -83,6 +82,20 @@
83
82
  "default": "./dist/configs/base.mjs"
84
83
  }
85
84
  },
85
+ "./configs/recommended": {
86
+ "require": {
87
+ "types": "./dist/configs/recommended.d.cts",
88
+ "default": "./dist/configs/recommended.cjs"
89
+ },
90
+ "import": {
91
+ "types": "./dist/configs/recommended.d.mts",
92
+ "default": "./dist/configs/recommended.mjs"
93
+ },
94
+ "default": {
95
+ "types": "./dist/configs/recommended.d.mts",
96
+ "default": "./dist/configs/recommended.mjs"
97
+ }
98
+ },
86
99
  "./package.json": "./package.json",
87
100
  "./plugin": {
88
101
  "require": {
@@ -141,37 +154,38 @@
141
154
  }
142
155
  }
143
156
  },
157
+ "main": "./dist/index.cjs",
158
+ "module": "./dist/index.mjs",
144
159
  "types": "./dist/index.d.cts",
145
160
  "typings": "dist/index.d.mts",
146
161
  "files": ["dist/**/*"],
147
- "keywords": ["eslint", "eslint-plugin", "shell-shock", "storm-software"],
148
- "peerDependencies": {
149
- "@powerlines/plugin-tsdown": ">=0.1.224",
150
- "eslint": "^9.39.3",
151
- "powerlines": ">=0.38.38"
152
- },
153
- "peerDependenciesMeta": { "eslint": { "optional": false } },
154
162
  "dependencies": {
155
163
  "@stryke/fs": "^0.33.43",
156
- "@stryke/path": "0.26.6",
164
+ "@stryke/path": "^0.26.6",
157
165
  "@typescript-eslint/utils": "^8.56.1",
158
- "defu": "6.1.4"
166
+ "defu": "^6.1.4",
167
+ "@storm-software/testing-tools": "^1.119.86",
168
+ "powerlines": "^0.39.17"
159
169
  },
160
170
  "devDependencies": {
171
+ "@eslint/compat": "^2.0.2",
161
172
  "@eslint/config-inspector": "^1.4.2",
162
- "@powerlines/plugin-tsdown": "^0.1.242",
163
- "@storm-software/eslint": "^0.169.95",
173
+ "@powerlines/plugin-tsdown": "^0.1.260",
174
+ "@storm-software/testing-tools": "^1.119.86",
164
175
  "@types/eslint": "^9.6.1",
165
176
  "@types/eslint__js": "^9.14.0",
166
- "@types/node": "^25.3.1",
177
+ "@types/node": "^25.3.3",
167
178
  "eslint": "^9.39.3",
168
179
  "eslint-doc-generator": "^3.2.0",
180
+ "eslint-flat-config-utils": "^2.1.4",
169
181
  "eslint-plugin-eslint-plugin": "^7.3.1",
170
182
  "eslint-plugin-i18n-text": "^1.0.1",
171
183
  "eslint-rule-documentation": "^1.0.23",
172
184
  "eslint-typegen": "^2.3.1",
173
- "powerlines": "^0.38.56"
185
+ "powerlines": "^0.39.17"
174
186
  },
187
+ "peerDependencies": { "eslint": ">=9.39.3" },
188
+ "peerDependenciesMeta": { "eslint": { "optional": false } },
175
189
  "publishConfig": {
176
190
  "access": "public",
177
191
  "exports": {
@@ -203,5 +217,5 @@
203
217
  "./package.json": "./package.json"
204
218
  }
205
219
  },
206
- "gitHead": "5060b4eea839167762bf802105495283c31fec1b"
220
+ "gitHead": "d0abdaa95b5e40df2157d393f0ba8499589140ca"
207
221
  }