@storm-software/eslint-plugin-banner 0.0.54 → 0.0.56
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/README.md +1 -1
- package/dist/configs/index.d.mts +0 -1
- package/dist/configs/recommended.d.mts +0 -1
- package/dist/configs/recommended.mjs +1 -1
- package/dist/helpers/create-rule.d.mts +1 -6
- package/dist/index.d.mts +2 -3
- package/dist/index.mjs +1 -1
- package/dist/{plugin-CGBtraJ7.mjs → plugin-BmUTKMob.mjs} +1 -1
- package/dist/{plugin-Fxn-LY0N.mjs → plugin-D6ZJIig2.mjs} +1 -1
- package/dist/plugin.d.mts +0 -1
- package/dist/plugin.mjs +1 -1
- package/dist/rules/banner.d.mts +0 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
package/dist/configs/index.d.mts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { Rule } from "eslint";
|
|
2
2
|
import { RuleWithMetaAndName } from "@typescript-eslint/utils/eslint-utils";
|
|
3
|
-
|
|
4
3
|
//#region src/helpers/create-rule.d.ts
|
|
5
4
|
type RuleModule<T extends readonly unknown[]> = Rule.RuleModule & {
|
|
6
5
|
defaultOptions: T;
|
|
7
6
|
};
|
|
8
|
-
declare const createRule: <TOptions extends readonly unknown[], TMessageIds extends string>({
|
|
9
|
-
name,
|
|
10
|
-
meta,
|
|
11
|
-
...rule
|
|
12
|
-
}: Readonly<RuleWithMetaAndName<TOptions, TMessageIds>>) => RuleModule<TOptions>;
|
|
7
|
+
declare const createRule: <TOptions extends readonly unknown[], TMessageIds extends string>({ name, meta, ...rule }: Readonly<RuleWithMetaAndName<TOptions, TMessageIds>>) => RuleModule<TOptions>;
|
|
13
8
|
declare function warnOnce(message: string): void;
|
|
14
9
|
//#endregion
|
|
15
10
|
export { RuleModule, createRule, warnOnce };
|
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,6 @@ import { RuleModule } from "./helpers/create-rule.mjs";
|
|
|
3
3
|
import { Options } from "./rules/banner.mjs";
|
|
4
4
|
import { plugin } from "./plugin.mjs";
|
|
5
5
|
import { ESLint, Linter } from "eslint";
|
|
6
|
-
|
|
7
6
|
//#region src/index.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* ESLint plugin for Storm Software to enforce a consistent banner header across all source files in a project.
|
|
@@ -29,7 +28,7 @@ declare const rules: {
|
|
|
29
28
|
banner: RuleModule<Options>;
|
|
30
29
|
};
|
|
31
30
|
type RuleDefinitions = (typeof plugin)["rules"];
|
|
32
|
-
type RuleOptions = { [K in keyof RuleDefinitions]: RuleDefinitions[K]["defaultOptions"] };
|
|
33
|
-
type Rules = { [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]
|
|
31
|
+
type RuleOptions = { [K in keyof RuleDefinitions]: RuleDefinitions[K]["defaultOptions"]; };
|
|
32
|
+
type Rules = { [K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]>; };
|
|
34
33
|
//#endregion
|
|
35
34
|
export { RuleOptions, Rules, configs, eslintPlugin as default, rules };
|
package/dist/index.mjs
CHANGED
package/dist/plugin.d.mts
CHANGED
package/dist/plugin.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as plugin } from "./plugin-
|
|
1
|
+
import { t as plugin } from "./plugin-BmUTKMob.mjs";
|
|
2
2
|
export { plugin };
|
package/dist/rules/banner.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint-plugin-banner",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "An ESLint Plugin that enforces the existence of file banners in Storm Software projects.",
|
|
6
6
|
"keywords": ["eslint", "eslint-plugin", "storm-software"],
|
|
@@ -53,17 +53,17 @@
|
|
|
53
53
|
"typings": "dist/index.d.mts",
|
|
54
54
|
"files": ["dist", "docs"],
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@storm-software/package-constants": "^0.1.
|
|
57
|
-
"@typescript-eslint/utils": "^8.
|
|
56
|
+
"@storm-software/package-constants": "^0.1.104",
|
|
57
|
+
"@typescript-eslint/utils": "^8.63.0",
|
|
58
58
|
"defu": "^6.1.7"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@eslint/compat": "^2.1.0",
|
|
62
62
|
"@eslint/config-inspector": "^1.5.0",
|
|
63
|
-
"@storm-software/prettier": "^0.59.
|
|
63
|
+
"@storm-software/prettier": "^0.59.144",
|
|
64
64
|
"@types/eslint": "^9.6.1",
|
|
65
65
|
"@types/eslint__js": "^8.42.3",
|
|
66
|
-
"@types/node": "^25.9.
|
|
66
|
+
"@types/node": "^25.9.5",
|
|
67
67
|
"eslint": "^10.6.0",
|
|
68
68
|
"eslint-doc-generator": "^3.6.0",
|
|
69
69
|
"eslint-flat-config-utils": "^2.1.4",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"eslint-plugin-i18n-text": "^1.0.1",
|
|
72
72
|
"eslint-rule-documentation": "^1.0.23",
|
|
73
73
|
"eslint-typegen": "^2.3.1",
|
|
74
|
-
"tsdown": "^0.22.
|
|
74
|
+
"tsdown": "^0.22.4"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": { "eslint": ">=9.39.3" },
|
|
77
77
|
"peerDependenciesMeta": { "eslint": { "optional": false } },
|
|
78
78
|
"publishConfig": { "access": "public" },
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "21c3a0f1472844d43a10cd1beb3ef55e35bd7cf1"
|
|
80
80
|
}
|