@storm-software/eslint 0.122.8 → 0.123.0
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-7NZUDX62.js +99 -0
- package/dist/{chunk-Y67QTC5U.js → chunk-K6KBWFPU.js} +1 -1
- package/dist/{chunk-LSG5T3ZK.js → chunk-W6QEP5VE.js} +7 -6
- package/dist/chunk-X3L37QNE.js +161 -0
- package/dist/preset.d.ts +23 -7048
- package/dist/preset.js +3590 -933
- package/dist/types-Drnq7vws.d.ts +14859 -0
- package/dist/utils/banner-plugin.js +3 -3
- package/dist/utils/combine.d.ts +14 -0
- package/dist/utils/combine.js +13 -0
- package/dist/utils/constants.d.ts +33 -22
- package/dist/utils/constants.js +65 -19
- package/dist/utils/get-file-banner.js +2 -2
- package/dist/utils/helpers.d.ts +55 -0
- package/dist/utils/helpers.js +19 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +67 -21
- package/package.json +76 -50
- package/dist/chunk-723HQUNP.js +0 -14
- package/dist/chunk-ESFBJFNU.cjs +0 -149
- package/dist/chunk-GMT3V67N.cjs +0 -24
- package/dist/chunk-HMBBDY5L.cjs +0 -49
- package/dist/chunk-JS7W7LMD.cjs +0 -14
- package/dist/chunk-KISSHBCD.cjs +0 -1333
- package/dist/chunk-LFHG33FO.cjs +0 -313
- package/dist/chunk-QSFZU7HX.cjs +0 -47
- package/dist/chunk-RTM5LCEB.js +0 -149
- package/dist/chunk-USNT2KNT.cjs +0 -6
- package/dist/chunk-VIASOXKK.js +0 -1333
- package/dist/preset.cjs +0 -988
- package/dist/preset.d.cts +0 -7057
- package/dist/rules/import.cjs +0 -291
- package/dist/rules/import.d.cts +0 -5
- package/dist/rules/import.d.ts +0 -5
- package/dist/rules/import.js +0 -291
- package/dist/rules/jsx-a11y.cjs +0 -341
- package/dist/rules/jsx-a11y.d.cts +0 -5
- package/dist/rules/jsx-a11y.d.ts +0 -5
- package/dist/rules/jsx-a11y.js +0 -341
- package/dist/rules/react-hooks.cjs +0 -15
- package/dist/rules/react-hooks.d.cts +0 -5
- package/dist/rules/react-hooks.d.ts +0 -5
- package/dist/rules/react-hooks.js +0 -15
- package/dist/rules/react.cjs +0 -689
- package/dist/rules/react.d.cts +0 -5
- package/dist/rules/react.d.ts +0 -5
- package/dist/rules/react.js +0 -689
- package/dist/rules/storm.cjs +0 -7
- package/dist/rules/storm.d.cts +0 -11
- package/dist/rules/storm.d.ts +0 -11
- package/dist/rules/storm.js +0 -7
- package/dist/rules/ts-docs.cjs +0 -7
- package/dist/rules/ts-docs.d.cts +0 -5
- package/dist/rules/ts-docs.d.ts +0 -5
- package/dist/rules/ts-docs.js +0 -7
- package/dist/rules.d.ts +0 -7005
- package/dist/utils/banner-plugin.cjs +0 -9
- package/dist/utils/banner-plugin.d.cts +0 -6
- package/dist/utils/constants.cjs +0 -25
- package/dist/utils/constants.d.cts +0 -24
- package/dist/utils/create-flat-import-plugin.cjs +0 -20
- package/dist/utils/create-flat-import-plugin.d.cts +0 -11
- package/dist/utils/create-flat-import-plugin.d.ts +0 -11
- package/dist/utils/create-flat-import-plugin.js +0 -20
- package/dist/utils/format-config.cjs +0 -7
- package/dist/utils/format-config.d.cts +0 -5
- package/dist/utils/get-file-banner.cjs +0 -8
- package/dist/utils/get-file-banner.d.cts +0 -9
- package/dist/utils/ignores.cjs +0 -7
- package/dist/utils/ignores.d.cts +0 -3
- package/dist/utils/index.cjs +0 -33
- package/dist/utils/index.d.cts +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
banner_plugin_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-W6QEP5VE.js";
|
|
4
|
+
import "../chunk-K6KBWFPU.js";
|
|
5
|
+
import "../chunk-X3L37QNE.js";
|
|
6
6
|
import "../chunk-SHUYVCID.js";
|
|
7
7
|
export {
|
|
8
8
|
banner_plugin_default as default
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Awaitable } from 'eslint-flat-config-utils';
|
|
2
|
+
import { T as TypedFlatConfigItem } from '../types-Drnq7vws.js';
|
|
3
|
+
import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
|
|
4
|
+
import '@stylistic/eslint-plugin';
|
|
5
|
+
import '@typescript-eslint/parser';
|
|
6
|
+
import 'eslint';
|
|
7
|
+
import 'eslint-config-flat-gitignore';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Combine array and non-array configs into a single array.
|
|
11
|
+
*/
|
|
12
|
+
declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): Promise<TypedFlatConfigItem[]>;
|
|
13
|
+
|
|
14
|
+
export { combine };
|
|
@@ -1,24 +1,35 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
message: string;
|
|
4
|
-
}[];
|
|
5
|
-
declare const REACT_RESTRICTED_SYNTAX: {
|
|
6
|
-
selector: string;
|
|
7
|
-
message: string;
|
|
8
|
-
}[];
|
|
9
|
-
declare const RESTRICTED_GLOBALS: (string | {
|
|
10
|
-
name: string;
|
|
11
|
-
message: string;
|
|
12
|
-
})[];
|
|
13
|
-
declare const RESTRICTED_MODULES: {
|
|
14
|
-
name: string;
|
|
15
|
-
message: string;
|
|
16
|
-
}[];
|
|
17
|
-
declare const JS_FILES: string[];
|
|
18
|
-
declare const CODE_BLOCK = "**/*.md{,x}/*";
|
|
19
|
-
declare const CODE_FILE = "**/*.{,c,m}{j,t}s{,x}";
|
|
20
|
-
declare const TS_FILE = "**/*.{,c,m}ts{,x}";
|
|
21
|
-
declare const JS_FILE = "**/*.{,c}js{,x}";
|
|
1
|
+
declare const GLOB_CODE_BLOCK = "**/*.md{,x}/*";
|
|
2
|
+
declare const GLOB_CODE_FILE = "**/*.{,c,m}{j,t}s{,x}";
|
|
22
3
|
declare const ACRONYMS_LIST: string[];
|
|
4
|
+
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
5
|
+
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
6
|
+
declare const GLOB_JS = "**/*.?([cm])js";
|
|
7
|
+
declare const GLOB_JSX = "**/*.?([cm])jsx";
|
|
8
|
+
declare const GLOB_TS = "**/*.?([cm])ts";
|
|
9
|
+
declare const GLOB_TSX = "**/*.?([cm])tsx";
|
|
10
|
+
declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
11
|
+
declare const GLOB_CSS = "**/*.css";
|
|
12
|
+
declare const GLOB_POSTCSS = "**/*.{p,post}css";
|
|
13
|
+
declare const GLOB_LESS = "**/*.less";
|
|
14
|
+
declare const GLOB_SCSS = "**/*.scss";
|
|
15
|
+
declare const GLOB_JSON = "**/*.json";
|
|
16
|
+
declare const GLOB_JSON5 = "**/*.json5";
|
|
17
|
+
declare const GLOB_JSONC = "**/*.jsonc";
|
|
18
|
+
declare const GLOB_MARKDOWN = "**/*.md";
|
|
19
|
+
declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
20
|
+
declare const GLOB_SVELTE = "**/*.svelte";
|
|
21
|
+
declare const GLOB_VUE = "**/*.vue";
|
|
22
|
+
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
23
|
+
declare const GLOB_TOML = "**/*.toml";
|
|
24
|
+
declare const GLOB_XML = "**/*.xml";
|
|
25
|
+
declare const GLOB_SVG = "**/*.svg";
|
|
26
|
+
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
27
|
+
declare const GLOB_ASTRO = "**/*.astro";
|
|
28
|
+
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
29
|
+
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
30
|
+
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
31
|
+
declare const GLOB_TESTS: string[];
|
|
32
|
+
declare const GLOB_ALL_SRC: string[];
|
|
33
|
+
declare const GLOB_EXCLUDE: string[];
|
|
23
34
|
|
|
24
|
-
export { ACRONYMS_LIST,
|
|
35
|
+
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML };
|
package/dist/utils/constants.js
CHANGED
|
@@ -1,25 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ACRONYMS_LIST,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
GLOB_ALL_SRC,
|
|
4
|
+
GLOB_ASTRO,
|
|
5
|
+
GLOB_ASTRO_TS,
|
|
6
|
+
GLOB_CODE_BLOCK,
|
|
7
|
+
GLOB_CODE_FILE,
|
|
8
|
+
GLOB_CSS,
|
|
9
|
+
GLOB_EXCLUDE,
|
|
10
|
+
GLOB_GRAPHQL,
|
|
11
|
+
GLOB_HTML,
|
|
12
|
+
GLOB_JS,
|
|
13
|
+
GLOB_JSON,
|
|
14
|
+
GLOB_JSON5,
|
|
15
|
+
GLOB_JSONC,
|
|
16
|
+
GLOB_JSX,
|
|
17
|
+
GLOB_LESS,
|
|
18
|
+
GLOB_MARKDOWN,
|
|
19
|
+
GLOB_MARKDOWN_CODE,
|
|
20
|
+
GLOB_MARKDOWN_IN_MARKDOWN,
|
|
21
|
+
GLOB_POSTCSS,
|
|
22
|
+
GLOB_SCSS,
|
|
23
|
+
GLOB_SRC,
|
|
24
|
+
GLOB_SRC_EXT,
|
|
25
|
+
GLOB_STYLE,
|
|
26
|
+
GLOB_SVELTE,
|
|
27
|
+
GLOB_SVG,
|
|
28
|
+
GLOB_TESTS,
|
|
29
|
+
GLOB_TOML,
|
|
30
|
+
GLOB_TS,
|
|
31
|
+
GLOB_TSX,
|
|
32
|
+
GLOB_VUE,
|
|
33
|
+
GLOB_XML,
|
|
34
|
+
GLOB_YAML
|
|
35
|
+
} from "../chunk-X3L37QNE.js";
|
|
13
36
|
import "../chunk-SHUYVCID.js";
|
|
14
37
|
export {
|
|
15
38
|
ACRONYMS_LIST,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
39
|
+
GLOB_ALL_SRC,
|
|
40
|
+
GLOB_ASTRO,
|
|
41
|
+
GLOB_ASTRO_TS,
|
|
42
|
+
GLOB_CODE_BLOCK,
|
|
43
|
+
GLOB_CODE_FILE,
|
|
44
|
+
GLOB_CSS,
|
|
45
|
+
GLOB_EXCLUDE,
|
|
46
|
+
GLOB_GRAPHQL,
|
|
47
|
+
GLOB_HTML,
|
|
48
|
+
GLOB_JS,
|
|
49
|
+
GLOB_JSON,
|
|
50
|
+
GLOB_JSON5,
|
|
51
|
+
GLOB_JSONC,
|
|
52
|
+
GLOB_JSX,
|
|
53
|
+
GLOB_LESS,
|
|
54
|
+
GLOB_MARKDOWN,
|
|
55
|
+
GLOB_MARKDOWN_CODE,
|
|
56
|
+
GLOB_MARKDOWN_IN_MARKDOWN,
|
|
57
|
+
GLOB_POSTCSS,
|
|
58
|
+
GLOB_SCSS,
|
|
59
|
+
GLOB_SRC,
|
|
60
|
+
GLOB_SRC_EXT,
|
|
61
|
+
GLOB_STYLE,
|
|
62
|
+
GLOB_SVELTE,
|
|
63
|
+
GLOB_SVG,
|
|
64
|
+
GLOB_TESTS,
|
|
65
|
+
GLOB_TOML,
|
|
66
|
+
GLOB_TS,
|
|
67
|
+
GLOB_TSX,
|
|
68
|
+
GLOB_VUE,
|
|
69
|
+
GLOB_XML,
|
|
70
|
+
GLOB_YAML
|
|
25
71
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Awaitable } from 'eslint-flat-config-utils';
|
|
2
|
+
|
|
3
|
+
declare const parserPlain: {
|
|
4
|
+
meta: {
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
parseForESLint: (code: string) => {
|
|
8
|
+
ast: {
|
|
9
|
+
body: never[];
|
|
10
|
+
comments: never[];
|
|
11
|
+
loc: {
|
|
12
|
+
end: number;
|
|
13
|
+
start: number;
|
|
14
|
+
};
|
|
15
|
+
range: number[];
|
|
16
|
+
tokens: never[];
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
scopeManager: null;
|
|
20
|
+
services: {
|
|
21
|
+
isPlain: boolean;
|
|
22
|
+
};
|
|
23
|
+
visitorKeys: {
|
|
24
|
+
Program: never[];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
declare function isInEditorEnv(): boolean;
|
|
29
|
+
declare function isInGitHooksOrLintStaged(): boolean;
|
|
30
|
+
declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
31
|
+
default: infer U;
|
|
32
|
+
} ? U : T>;
|
|
33
|
+
declare function isPackageInScope(name: string): boolean;
|
|
34
|
+
declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Rename plugin prefixes in a rule object.
|
|
37
|
+
* Accepts a map of prefixes to rename.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* import { renameRules } from '@storm-software/eslint'
|
|
42
|
+
*
|
|
43
|
+
* export default [{
|
|
44
|
+
* rules: renameRules(
|
|
45
|
+
* {
|
|
46
|
+
* '@typescript-eslint/indent': 'error'
|
|
47
|
+
* },
|
|
48
|
+
* { '@typescript-eslint': 'ts' }
|
|
49
|
+
* )
|
|
50
|
+
* }]
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
declare function renameRules(rules: Record<string, any>, map: Record<string, string>): Record<string, any>;
|
|
54
|
+
|
|
55
|
+
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ensurePackages,
|
|
3
|
+
interopDefault,
|
|
4
|
+
isInEditorEnv,
|
|
5
|
+
isInGitHooksOrLintStaged,
|
|
6
|
+
isPackageInScope,
|
|
7
|
+
parserPlain,
|
|
8
|
+
renameRules
|
|
9
|
+
} from "../chunk-7NZUDX62.js";
|
|
10
|
+
import "../chunk-SHUYVCID.js";
|
|
11
|
+
export {
|
|
12
|
+
ensurePackages,
|
|
13
|
+
interopDefault,
|
|
14
|
+
isInEditorEnv,
|
|
15
|
+
isInGitHooksOrLintStaged,
|
|
16
|
+
isPackageInScope,
|
|
17
|
+
parserPlain,
|
|
18
|
+
renameRules
|
|
19
|
+
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { formatConfig } from './format-config.js';
|
|
2
2
|
export { DEFAULT_IGNORES } from './ignores.js';
|
|
3
|
-
export { ACRONYMS_LIST,
|
|
3
|
+
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from './constants.js';
|
|
4
4
|
import 'eslint';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,33 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatConfig
|
|
3
3
|
} from "../chunk-FTXILLLE.js";
|
|
4
|
+
import {
|
|
5
|
+
ACRONYMS_LIST,
|
|
6
|
+
GLOB_ALL_SRC,
|
|
7
|
+
GLOB_ASTRO,
|
|
8
|
+
GLOB_ASTRO_TS,
|
|
9
|
+
GLOB_CODE_BLOCK,
|
|
10
|
+
GLOB_CODE_FILE,
|
|
11
|
+
GLOB_CSS,
|
|
12
|
+
GLOB_EXCLUDE,
|
|
13
|
+
GLOB_GRAPHQL,
|
|
14
|
+
GLOB_HTML,
|
|
15
|
+
GLOB_JS,
|
|
16
|
+
GLOB_JSON,
|
|
17
|
+
GLOB_JSON5,
|
|
18
|
+
GLOB_JSONC,
|
|
19
|
+
GLOB_JSX,
|
|
20
|
+
GLOB_LESS,
|
|
21
|
+
GLOB_MARKDOWN,
|
|
22
|
+
GLOB_MARKDOWN_CODE,
|
|
23
|
+
GLOB_MARKDOWN_IN_MARKDOWN,
|
|
24
|
+
GLOB_POSTCSS,
|
|
25
|
+
GLOB_SCSS,
|
|
26
|
+
GLOB_SRC,
|
|
27
|
+
GLOB_SRC_EXT,
|
|
28
|
+
GLOB_STYLE,
|
|
29
|
+
GLOB_SVELTE,
|
|
30
|
+
GLOB_SVG,
|
|
31
|
+
GLOB_TESTS,
|
|
32
|
+
GLOB_TOML,
|
|
33
|
+
GLOB_TS,
|
|
34
|
+
GLOB_TSX,
|
|
35
|
+
GLOB_VUE,
|
|
36
|
+
GLOB_XML,
|
|
37
|
+
GLOB_YAML
|
|
38
|
+
} from "../chunk-X3L37QNE.js";
|
|
4
39
|
import {
|
|
5
40
|
DEFAULT_IGNORES
|
|
6
41
|
} from "../chunk-UAGSKXUP.js";
|
|
7
|
-
import {
|
|
8
|
-
ACRONYMS_LIST,
|
|
9
|
-
CODE_BLOCK,
|
|
10
|
-
CODE_FILE,
|
|
11
|
-
JS_FILE,
|
|
12
|
-
JS_FILES,
|
|
13
|
-
REACT_RESTRICTED_SYNTAX,
|
|
14
|
-
RESTRICTED_GLOBALS,
|
|
15
|
-
RESTRICTED_MODULES,
|
|
16
|
-
RESTRICTED_SYNTAX,
|
|
17
|
-
TS_FILE
|
|
18
|
-
} from "../chunk-RTM5LCEB.js";
|
|
19
42
|
import "../chunk-SHUYVCID.js";
|
|
20
43
|
export {
|
|
21
44
|
ACRONYMS_LIST,
|
|
22
|
-
CODE_BLOCK,
|
|
23
|
-
CODE_FILE,
|
|
24
45
|
DEFAULT_IGNORES,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
46
|
+
GLOB_ALL_SRC,
|
|
47
|
+
GLOB_ASTRO,
|
|
48
|
+
GLOB_ASTRO_TS,
|
|
49
|
+
GLOB_CODE_BLOCK,
|
|
50
|
+
GLOB_CODE_FILE,
|
|
51
|
+
GLOB_CSS,
|
|
52
|
+
GLOB_EXCLUDE,
|
|
53
|
+
GLOB_GRAPHQL,
|
|
54
|
+
GLOB_HTML,
|
|
55
|
+
GLOB_JS,
|
|
56
|
+
GLOB_JSON,
|
|
57
|
+
GLOB_JSON5,
|
|
58
|
+
GLOB_JSONC,
|
|
59
|
+
GLOB_JSX,
|
|
60
|
+
GLOB_LESS,
|
|
61
|
+
GLOB_MARKDOWN,
|
|
62
|
+
GLOB_MARKDOWN_CODE,
|
|
63
|
+
GLOB_MARKDOWN_IN_MARKDOWN,
|
|
64
|
+
GLOB_POSTCSS,
|
|
65
|
+
GLOB_SCSS,
|
|
66
|
+
GLOB_SRC,
|
|
67
|
+
GLOB_SRC_EXT,
|
|
68
|
+
GLOB_STYLE,
|
|
69
|
+
GLOB_SVELTE,
|
|
70
|
+
GLOB_SVG,
|
|
71
|
+
GLOB_TESTS,
|
|
72
|
+
GLOB_TOML,
|
|
73
|
+
GLOB_TS,
|
|
74
|
+
GLOB_TSX,
|
|
75
|
+
GLOB_VUE,
|
|
76
|
+
GLOB_XML,
|
|
77
|
+
GLOB_YAML,
|
|
32
78
|
formatConfig
|
|
33
79
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.123.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
"private": false,
|
|
43
43
|
"packageManager": "pnpm@10.3.0",
|
|
44
44
|
"engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
|
|
45
|
-
"main": "./dist/
|
|
46
|
-
"module": "./dist/preset.js",
|
|
45
|
+
"main": "./dist/index.js",
|
|
47
46
|
"exports": {
|
|
48
47
|
"./package.json": "./package.json",
|
|
49
48
|
".": {
|
|
@@ -117,7 +116,7 @@
|
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
118
|
},
|
|
120
|
-
"types": "./dist/
|
|
119
|
+
"types": "./dist/index.d.ts",
|
|
121
120
|
"files": ["dist/**/*"],
|
|
122
121
|
"keywords": [
|
|
123
122
|
"eslint",
|
|
@@ -129,72 +128,99 @@
|
|
|
129
128
|
"sullivanpj"
|
|
130
129
|
],
|
|
131
130
|
"peerDependencies": {
|
|
132
|
-
"@eslint/
|
|
131
|
+
"@eslint-react/eslint-plugin": "^1.19.0",
|
|
132
|
+
"@graphql-eslint/eslint-plugin": "^4.3.0",
|
|
133
|
+
"@next/eslint-plugin-next": "^15.2.0-canary.67",
|
|
133
134
|
"@nx/eslint": "^20.3.1",
|
|
134
|
-
"@
|
|
135
|
-
"eslint": "
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"eslint":
|
|
144
|
-
"
|
|
145
|
-
"
|
|
135
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
136
|
+
"@unocss/eslint-plugin": ">=0.50.0",
|
|
137
|
+
"astro-eslint-parser": "^1.0.2",
|
|
138
|
+
"eslint": "^9.10.0",
|
|
139
|
+
"eslint-plugin-astro": "^1.2.0",
|
|
140
|
+
"eslint-plugin-format": ">=0.1.0",
|
|
141
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
142
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
143
|
+
"eslint-plugin-react-refresh": "^0.4.4",
|
|
144
|
+
"eslint-plugin-relay": "^1.8.3",
|
|
145
|
+
"eslint-plugin-storybook": "^0.11.0",
|
|
146
|
+
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
147
|
+
"prettier-plugin-astro": "^0.14.0"
|
|
146
148
|
},
|
|
147
149
|
"dependencies": {
|
|
148
|
-
"@
|
|
149
|
-
"@
|
|
150
|
-
"@
|
|
150
|
+
"@antfu/install-pkg": "^1.0.0",
|
|
151
|
+
"@clack/prompts": "^0.10.0",
|
|
152
|
+
"@cspell/eslint-plugin": "^8.13.1",
|
|
153
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
154
|
+
"@eslint/markdown": "^6.2.2",
|
|
151
155
|
"@nx/eslint-plugin": "^20.3.1",
|
|
152
|
-
"@
|
|
156
|
+
"@storm-software/config-tools": "1.155.0",
|
|
157
|
+
"@stylistic/eslint-plugin": "^4.0.0",
|
|
158
|
+
"@typescript-eslint/eslint-plugin": "^8.24.1",
|
|
159
|
+
"@typescript-eslint/parser": "^8.24.1",
|
|
160
|
+
"@typescript-eslint/utils": "^8.24.1",
|
|
161
|
+
"@vitest/eslint-plugin": "^1.1.31",
|
|
153
162
|
"chalk": "^5.4.1",
|
|
154
163
|
"defu": "6.1.4",
|
|
164
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
155
165
|
"eslint-config-prettier": "10.0.1",
|
|
156
|
-
"eslint-
|
|
157
|
-
"eslint-
|
|
158
|
-
"eslint-plugin-
|
|
159
|
-
"eslint-plugin-
|
|
166
|
+
"eslint-flat-config-utils": "^2.0.1",
|
|
167
|
+
"eslint-merge-processors": "^2.0.0",
|
|
168
|
+
"eslint-plugin-import-x": "^4.6.1",
|
|
169
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
170
|
+
"eslint-plugin-json": "^4.0.0",
|
|
171
|
+
"eslint-plugin-jsonc": "^2.16.0",
|
|
160
172
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
161
173
|
"eslint-plugin-markdown": "^5.1.0",
|
|
162
|
-
"eslint-plugin-markdownlint": "0.6.0",
|
|
163
|
-
"eslint-plugin-mdx": "3.1.5",
|
|
164
|
-
"eslint-plugin-n": "17.8.1",
|
|
174
|
+
"eslint-plugin-markdownlint": "^0.6.0",
|
|
175
|
+
"eslint-plugin-mdx": "^3.1.5",
|
|
176
|
+
"eslint-plugin-n": "^17.8.1",
|
|
177
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
178
|
+
"eslint-plugin-perfectionist": "^4.9.0",
|
|
165
179
|
"eslint-plugin-prettier": "^5.2.3",
|
|
166
|
-
"eslint-plugin-
|
|
167
|
-
"eslint-plugin-
|
|
168
|
-
"eslint-plugin-
|
|
169
|
-
"eslint-plugin-
|
|
170
|
-
"eslint-plugin-
|
|
171
|
-
"eslint-plugin-
|
|
172
|
-
"
|
|
173
|
-
"eslint-
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"prettier-plugin-organize-imports": "^4.0.0",
|
|
179
|
-
"prettier-plugin-pkg": "^0.18.1",
|
|
180
|
-
"prettier-plugin-sh": "^0.14.0",
|
|
181
|
-
"typescript-eslint": "^8.13.0",
|
|
182
|
-
"ws": "8.17.1",
|
|
183
|
-
"yaml-eslint-parser": "1.2.3"
|
|
180
|
+
"eslint-plugin-regexp": "^2.7.0",
|
|
181
|
+
"eslint-plugin-toml": "^0.12.0",
|
|
182
|
+
"eslint-plugin-tsdoc": "^0.4.0",
|
|
183
|
+
"eslint-plugin-unicorn": "^57.0.0",
|
|
184
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
185
|
+
"eslint-plugin-yml": "^1.14.0",
|
|
186
|
+
"globals": "^16.0.0",
|
|
187
|
+
"jsonc-eslint-parser": "^2.4.0",
|
|
188
|
+
"local-pkg": "^1.0.0",
|
|
189
|
+
"parse-gitignore": "^2.0.0",
|
|
190
|
+
"toml-eslint-parser": "^0.10.0",
|
|
191
|
+
"yaml-eslint-parser": "^1.2.3"
|
|
184
192
|
},
|
|
185
193
|
"devDependencies": {
|
|
194
|
+
"@eslint-community/eslint-utils": "^4.4.1",
|
|
195
|
+
"@eslint-react/eslint-plugin": "^1.26.2",
|
|
196
|
+
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
186
197
|
"@eslint/config-inspector": "^0.5.1",
|
|
198
|
+
"@graphql-eslint/eslint-plugin": "^4.3.0",
|
|
199
|
+
"@next/eslint-plugin-next": "^15.2.0-canary.67",
|
|
187
200
|
"@nx/eslint": "^20.3.1",
|
|
188
|
-
"@
|
|
201
|
+
"@prettier/plugin-xml": "^3.4.1",
|
|
202
|
+
"@stylistic/eslint-plugin-migrate": "^4.0.0",
|
|
189
203
|
"@types/eslint": "^9.6.1",
|
|
190
204
|
"@types/eslint__js": "^8.42.3",
|
|
191
205
|
"@types/node": "^22.10.2",
|
|
206
|
+
"@unocss/eslint-plugin": "^65.5.0",
|
|
207
|
+
"astro-eslint-parser": "^1.2.1",
|
|
192
208
|
"esbuild": "^0.24.0",
|
|
193
|
-
"eslint": "^9.
|
|
209
|
+
"eslint": "^9.10.0",
|
|
210
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
211
|
+
"eslint-plugin-format": "^1.0.1",
|
|
212
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-21e868a-20250216",
|
|
213
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
214
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
215
|
+
"eslint-plugin-relay": "^1.8.3",
|
|
216
|
+
"eslint-plugin-storybook": "^0.11.0",
|
|
194
217
|
"eslint-typegen": "^1.0.0",
|
|
195
|
-
"graphql": "
|
|
218
|
+
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
219
|
+
"prettier-plugin-astro": "^0.14.1",
|
|
196
220
|
"tsup": "8.3.5",
|
|
221
|
+
"tsx": "^4.19.2",
|
|
197
222
|
"typescript": "^5.7.2"
|
|
198
223
|
},
|
|
199
|
-
"publishConfig": { "access": "public" }
|
|
224
|
+
"publishConfig": { "access": "public" },
|
|
225
|
+
"sideEffects": false
|
|
200
226
|
}
|
package/dist/chunk-723HQUNP.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// src/rules/ts-docs.ts
|
|
2
|
-
var config = {
|
|
3
|
-
/**
|
|
4
|
-
* Require TSDoc comments conform to the TSDoc specification.
|
|
5
|
-
*
|
|
6
|
-
* 🚫 Not fixable - https://github.com/microsoft/tsdoc/tree/master/eslint-plugin
|
|
7
|
-
*/
|
|
8
|
-
"tsdoc/syntax": "warn"
|
|
9
|
-
};
|
|
10
|
-
var ts_docs_default = config;
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
ts_docs_default
|
|
14
|
-
};
|