@storm-software/eslint 0.148.3 → 0.148.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.
- package/README.md +1 -1
- package/dist/{chunk-CA7PWCVJ.js → chunk-DKJ6VCEL.js} +2 -2
- package/dist/{chunk-SRHSKJB5.js → chunk-EJ2FSS2J.js} +39 -12
- package/dist/{chunk-HTYZKOBI.js → chunk-G4SCUHQO.js} +1 -1
- package/dist/preset.js +13 -14
- package/dist/types.d.ts +1 -1
- package/dist/utils/banner-plugin.js +3 -3
- package/dist/utils/constants.js +1 -1
- package/dist/utils/get-file-banner.js +2 -2
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/index.js +1 -5
- package/package.json +1 -1
- package/dist/chunk-NXBMVNV2.js +0 -48
- package/dist/utils/ignores.d.ts +0 -3
- package/dist/utils/ignores.js +0 -7
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -91,30 +91,57 @@ var GLOB_ALL_SRC = [
|
|
|
91
91
|
GLOB_HTML
|
|
92
92
|
];
|
|
93
93
|
var GLOB_EXCLUDE = [
|
|
94
|
-
"
|
|
95
|
-
"**/
|
|
96
|
-
"**/
|
|
97
|
-
"**/
|
|
98
|
-
"**/
|
|
94
|
+
"**/.git/**",
|
|
95
|
+
"**/node_modules/**",
|
|
96
|
+
"**/src/generators/**/files/**/*",
|
|
97
|
+
"**/dist/**",
|
|
98
|
+
"**/tmp/**",
|
|
99
|
+
"**/coverage/**",
|
|
100
|
+
"**/bench/**",
|
|
101
|
+
"**/__test__/**",
|
|
102
|
+
"**/__mocks__/**",
|
|
103
|
+
"**/__generated__/**",
|
|
104
|
+
"**/.wrangler/**",
|
|
105
|
+
"**/.docusaurus/**",
|
|
106
|
+
"**/.tamagui/**",
|
|
107
|
+
"**/tamagui.css",
|
|
108
|
+
"**/.nx/**",
|
|
109
|
+
"**/.next/**",
|
|
110
|
+
"**/.storm/**",
|
|
111
|
+
"**/workbox*.js",
|
|
112
|
+
"**/sw*.js",
|
|
113
|
+
"**/service-worker.js",
|
|
114
|
+
"**/fallback*.js",
|
|
115
|
+
"**/ios/**",
|
|
116
|
+
"**/.android/**",
|
|
117
|
+
"**/.DS_Store/**",
|
|
118
|
+
"**/Thumbs.db/**",
|
|
119
|
+
"**/.cspellcache",
|
|
120
|
+
"**/package-lock.*",
|
|
121
|
+
"**/npm-lock.*",
|
|
122
|
+
"**/pnpm-lock.*",
|
|
99
123
|
"**/bun.lockb",
|
|
100
|
-
"
|
|
101
|
-
"
|
|
124
|
+
"**/cargo.lock",
|
|
125
|
+
"**/next-env.d.ts",
|
|
126
|
+
"**/CODEOWNERS",
|
|
127
|
+
"**/yarn.lock",
|
|
128
|
+
"**/jest.config.js",
|
|
129
|
+
"**/jest.setup.js",
|
|
130
|
+
"**/jest.config.ts",
|
|
131
|
+
"**/jest.setup.ts",
|
|
132
|
+
"**/jest.config.json",
|
|
133
|
+
"**/jest.setup.json",
|
|
102
134
|
"**/output",
|
|
103
|
-
"**/coverage",
|
|
104
135
|
"**/temp",
|
|
105
136
|
"**/.temp",
|
|
106
|
-
"**/tmp",
|
|
107
|
-
"**/.tmp",
|
|
108
137
|
"**/.history",
|
|
109
138
|
"**/.vitepress/cache",
|
|
110
139
|
"**/.nuxt",
|
|
111
|
-
"**/.next",
|
|
112
140
|
"**/.svelte-kit",
|
|
113
141
|
"**/.vercel",
|
|
114
142
|
"**/.changeset",
|
|
115
143
|
"**/.idea",
|
|
116
144
|
"**/.cache",
|
|
117
|
-
"**/.output",
|
|
118
145
|
"**/.vite-inspect",
|
|
119
146
|
"**/.yarn",
|
|
120
147
|
"**/CHANGELOG*.md",
|
package/dist/preset.js
CHANGED
|
@@ -6,16 +6,13 @@ import {
|
|
|
6
6
|
parserPlain,
|
|
7
7
|
renameRules
|
|
8
8
|
} from "./chunk-SZFP4QOA.js";
|
|
9
|
-
import {
|
|
10
|
-
DEFAULT_IGNORES
|
|
11
|
-
} from "./chunk-NXBMVNV2.js";
|
|
12
9
|
import {
|
|
13
10
|
getTsConfigPath
|
|
14
11
|
} from "./chunk-D3EN5HD2.js";
|
|
15
12
|
import {
|
|
16
13
|
banner_plugin_default
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-DKJ6VCEL.js";
|
|
15
|
+
import "./chunk-G4SCUHQO.js";
|
|
19
16
|
import {
|
|
20
17
|
GLOB_ASTRO,
|
|
21
18
|
GLOB_ASTRO_TS,
|
|
@@ -42,7 +39,7 @@ import {
|
|
|
42
39
|
GLOB_TSX,
|
|
43
40
|
GLOB_XML,
|
|
44
41
|
GLOB_YAML
|
|
45
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EJ2FSS2J.js";
|
|
46
43
|
import {
|
|
47
44
|
findWorkspaceRoot
|
|
48
45
|
} from "./chunk-7JRBTALJ.js";
|
|
@@ -792,11 +789,13 @@ async function graphql(options = {}) {
|
|
|
792
789
|
__name(graphql, "graphql");
|
|
793
790
|
|
|
794
791
|
// src/configs/ignores.ts
|
|
795
|
-
import defu2 from "defu";
|
|
796
792
|
async function ignores(userIgnores = []) {
|
|
797
793
|
return [
|
|
798
794
|
{
|
|
799
|
-
ignores:
|
|
795
|
+
ignores: [
|
|
796
|
+
...GLOB_EXCLUDE,
|
|
797
|
+
...userIgnores
|
|
798
|
+
],
|
|
800
799
|
name: "storm/ignores"
|
|
801
800
|
}
|
|
802
801
|
];
|
|
@@ -1547,7 +1546,7 @@ async function imports(options = {}) {
|
|
|
1547
1546
|
__name(imports, "imports");
|
|
1548
1547
|
|
|
1549
1548
|
// src/configs/javascript.ts
|
|
1550
|
-
import
|
|
1549
|
+
import defu2 from "defu";
|
|
1551
1550
|
import globalsLib from "globals";
|
|
1552
1551
|
async function javascript(options = {}) {
|
|
1553
1552
|
const { lineEndings = "unix", overrides = {}, repositoryName, globals = {} } = options;
|
|
@@ -1556,7 +1555,7 @@ async function javascript(options = {}) {
|
|
|
1556
1555
|
name: "storm/javascript/setup",
|
|
1557
1556
|
languageOptions: {
|
|
1558
1557
|
ecmaVersion: 2022,
|
|
1559
|
-
globals:
|
|
1558
|
+
globals: defu2(globals, {
|
|
1560
1559
|
...globalsLib.browser,
|
|
1561
1560
|
...globalsLib.es2021,
|
|
1562
1561
|
...globalsLib.node,
|
|
@@ -3228,7 +3227,7 @@ async function node() {
|
|
|
3228
3227
|
__name(node, "node");
|
|
3229
3228
|
|
|
3230
3229
|
// src/configs/nx.ts
|
|
3231
|
-
import
|
|
3230
|
+
import defu3 from "defu";
|
|
3232
3231
|
async function nx(options = {}) {
|
|
3233
3232
|
const { depsCheck = false, depsCheckSeverity = "error", moduleBoundaries, ignoredDependencies = [], ignoredFiles = [], checkObsoleteDependencies = true } = options;
|
|
3234
3233
|
return [
|
|
@@ -3256,7 +3255,7 @@ async function nx(options = {}) {
|
|
|
3256
3255
|
rules: depsCheck !== false ? {
|
|
3257
3256
|
"@nx/dependency-checks": [
|
|
3258
3257
|
depsCheckSeverity,
|
|
3259
|
-
|
|
3258
|
+
defu3(depsCheck, {
|
|
3260
3259
|
buildTargets: [
|
|
3261
3260
|
"build-base",
|
|
3262
3261
|
"build"
|
|
@@ -3284,7 +3283,7 @@ async function nx(options = {}) {
|
|
|
3284
3283
|
rules: moduleBoundaries !== false ? {
|
|
3285
3284
|
"@nx/enforce-module-boundaries": [
|
|
3286
3285
|
"error",
|
|
3287
|
-
|
|
3286
|
+
defu3(moduleBoundaries ?? {}, {
|
|
3288
3287
|
enforceBuildableLibDependency: false,
|
|
3289
3288
|
checkDynamicDependenciesExceptions: [
|
|
3290
3289
|
".*"
|
|
@@ -4738,7 +4737,7 @@ function getStormConfig(options, ...userConfigs) {
|
|
|
4738
4737
|
stylistic: stylisticOptions
|
|
4739
4738
|
}));
|
|
4740
4739
|
}
|
|
4741
|
-
if (options.markdown ??
|
|
4740
|
+
if (options.markdown ?? false) {
|
|
4742
4741
|
configs3.push(markdown({
|
|
4743
4742
|
componentExts,
|
|
4744
4743
|
overrides: getOverrides(options, "markdown")
|
package/dist/types.d.ts
CHANGED
|
@@ -17420,7 +17420,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
17420
17420
|
*
|
|
17421
17421
|
* For formatting Markdown content, enable also `formatters.markdown`.
|
|
17422
17422
|
*
|
|
17423
|
-
* @defaultValue
|
|
17423
|
+
* @defaultValue false
|
|
17424
17424
|
*/
|
|
17425
17425
|
markdown?: boolean | OptionsOverrides;
|
|
17426
17426
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
banner_plugin_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-DKJ6VCEL.js";
|
|
4
|
+
import "../chunk-G4SCUHQO.js";
|
|
5
|
+
import "../chunk-EJ2FSS2J.js";
|
|
6
6
|
import "../chunk-SHUYVCID.js";
|
|
7
7
|
export {
|
|
8
8
|
banner_plugin_default as default
|
package/dist/utils/constants.js
CHANGED
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { formatConfig } from './format-config.js';
|
|
2
|
-
export { DEFAULT_IGNORES } from './ignores.js';
|
|
3
1
|
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_MDX, 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';
|
|
2
|
+
export { formatConfig } from './format-config.js';
|
|
4
3
|
import 'eslint';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_IGNORES
|
|
3
|
-
} from "../chunk-NXBMVNV2.js";
|
|
4
1
|
import {
|
|
5
2
|
ACRONYMS_LIST,
|
|
6
3
|
GLOB_ALL_SRC,
|
|
@@ -36,14 +33,13 @@ import {
|
|
|
36
33
|
GLOB_VUE,
|
|
37
34
|
GLOB_XML,
|
|
38
35
|
GLOB_YAML
|
|
39
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-EJ2FSS2J.js";
|
|
40
37
|
import {
|
|
41
38
|
formatConfig
|
|
42
39
|
} from "../chunk-FTXILLLE.js";
|
|
43
40
|
import "../chunk-SHUYVCID.js";
|
|
44
41
|
export {
|
|
45
42
|
ACRONYMS_LIST,
|
|
46
|
-
DEFAULT_IGNORES,
|
|
47
43
|
GLOB_ALL_SRC,
|
|
48
44
|
GLOB_ASTRO,
|
|
49
45
|
GLOB_ASTRO_TS,
|
package/package.json
CHANGED
package/dist/chunk-NXBMVNV2.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// src/utils/ignores.ts
|
|
2
|
-
var DEFAULT_IGNORES = [
|
|
3
|
-
"**/.git/**",
|
|
4
|
-
"**/node_modules/**",
|
|
5
|
-
"**/src/generators/**/files/**/*",
|
|
6
|
-
"**/dist/**",
|
|
7
|
-
"**/tmp/**",
|
|
8
|
-
"**/coverage/**",
|
|
9
|
-
"**/bench/**",
|
|
10
|
-
"**/__test__/**",
|
|
11
|
-
"**/__mocks__/**",
|
|
12
|
-
"**/__generated__/**",
|
|
13
|
-
"**/.wrangler/**",
|
|
14
|
-
"**/.docusaurus/**",
|
|
15
|
-
"**/.tamagui/**",
|
|
16
|
-
"**/tamagui.css",
|
|
17
|
-
"**/.nx/**",
|
|
18
|
-
"**/.next/**",
|
|
19
|
-
"**/.storm/**",
|
|
20
|
-
"**/workbox*.js",
|
|
21
|
-
"**/sw*.js",
|
|
22
|
-
"**/service-worker.js",
|
|
23
|
-
"**/fallback*.js",
|
|
24
|
-
"**/ios/**",
|
|
25
|
-
"**/.android/**",
|
|
26
|
-
"**/.DS_Store/**",
|
|
27
|
-
"**/Thumbs.db/**",
|
|
28
|
-
"**/.cspellcache",
|
|
29
|
-
"**/package-lock.*",
|
|
30
|
-
"**/npm-lock.*",
|
|
31
|
-
"**/pnpm-lock.*",
|
|
32
|
-
"**/pnpm-lock.*",
|
|
33
|
-
"**/bun.lockb",
|
|
34
|
-
"**/cargo.lock",
|
|
35
|
-
"**/next-env.d.ts",
|
|
36
|
-
"**/CODEOWNERS",
|
|
37
|
-
"**/yarn.lock",
|
|
38
|
-
"**/jest.config.js",
|
|
39
|
-
"**/jest.setup.js",
|
|
40
|
-
"**/jest.config.ts",
|
|
41
|
-
"**/jest.setup.ts",
|
|
42
|
-
"**/jest.config.json",
|
|
43
|
-
"**/jest.setup.json"
|
|
44
|
-
];
|
|
45
|
-
|
|
46
|
-
export {
|
|
47
|
-
DEFAULT_IGNORES
|
|
48
|
-
};
|
package/dist/utils/ignores.d.ts
DELETED