@storm-software/eslint 0.159.9 → 0.159.10
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/{chunk-F5ULWOMY.js → chunk-CUPYXBSI.js} +2 -2
- package/dist/{chunk-7HV2SCAT.js → chunk-DFS5UIRQ.js} +8 -8
- package/dist/preset.js +1590 -24
- package/dist/types.d.ts +1 -1
- package/dist/utils/banner-plugin.js +2 -2
- package/dist/utils/get-file-banner.d.ts +4 -1
- package/dist/utils/get-file-banner.js +1 -1
- package/package.json +4 -2
package/dist/types.d.ts
CHANGED
|
@@ -826,7 +826,7 @@ Backward pagination arguments
|
|
|
826
826
|
'astro/valid-compile'?: Linter.RuleEntry<[]>
|
|
827
827
|
/**
|
|
828
828
|
* Ensures the file has a organization specific banner at the top of source code files
|
|
829
|
-
* @see https://
|
|
829
|
+
* @see https://developer.stormsoftware.com/eslint/rules/banner
|
|
830
830
|
*/
|
|
831
831
|
'banner/banner'?: Linter.RuleEntry<BannerBanner>
|
|
832
832
|
/**
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Get a banner header to display at the top of a file
|
|
3
5
|
*
|
|
4
6
|
* @param name - The name to use in the display
|
|
7
|
+
* @param workspaceConfig - The workspace config to use for additional information
|
|
5
8
|
* @returns The banner header
|
|
6
9
|
*/
|
|
7
|
-
declare const getFileBanner: (name?: string) => string;
|
|
10
|
+
declare const getFileBanner: (name?: string, workspaceConfig?: StormWorkspaceConfig) => string;
|
|
8
11
|
|
|
9
12
|
export { getFileBanner };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.159.
|
|
3
|
+
"version": "0.159.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -162,6 +162,8 @@
|
|
|
162
162
|
"@eslint/eslintrc": "^3.3.1",
|
|
163
163
|
"@eslint/markdown": "^6.5.0",
|
|
164
164
|
"@nx/eslint-plugin": "21.0.3",
|
|
165
|
+
"@storm-software/config": "^1.122.1",
|
|
166
|
+
"@storm-software/config-tools": "^1.173.1",
|
|
165
167
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
166
168
|
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
|
167
169
|
"@typescript-eslint/parser": "^8.33.1",
|
|
@@ -203,7 +205,7 @@
|
|
|
203
205
|
},
|
|
204
206
|
"devDependencies": {
|
|
205
207
|
"@eslint-community/eslint-utils": "^4.7.0",
|
|
206
|
-
"@eslint-react/eslint-plugin": "^1.51.
|
|
208
|
+
"@eslint-react/eslint-plugin": "^1.51.2",
|
|
207
209
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
208
210
|
"@eslint/config-inspector": "^0.5.6",
|
|
209
211
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|