@storm-software/eslint 0.148.1 → 0.148.3
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/preset.js +10 -9
- package/package.json +1 -1
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 -->
|
package/dist/preset.js
CHANGED
|
@@ -6,6 +6,9 @@ import {
|
|
|
6
6
|
parserPlain,
|
|
7
7
|
renameRules
|
|
8
8
|
} from "./chunk-SZFP4QOA.js";
|
|
9
|
+
import {
|
|
10
|
+
DEFAULT_IGNORES
|
|
11
|
+
} from "./chunk-NXBMVNV2.js";
|
|
9
12
|
import {
|
|
10
13
|
getTsConfigPath
|
|
11
14
|
} from "./chunk-D3EN5HD2.js";
|
|
@@ -789,13 +792,11 @@ async function graphql(options = {}) {
|
|
|
789
792
|
__name(graphql, "graphql");
|
|
790
793
|
|
|
791
794
|
// src/configs/ignores.ts
|
|
795
|
+
import defu2 from "defu";
|
|
792
796
|
async function ignores(userIgnores = []) {
|
|
793
797
|
return [
|
|
794
798
|
{
|
|
795
|
-
ignores:
|
|
796
|
-
...GLOB_EXCLUDE,
|
|
797
|
-
...userIgnores
|
|
798
|
-
],
|
|
799
|
+
ignores: defu2(GLOB_EXCLUDE, DEFAULT_IGNORES, userIgnores),
|
|
799
800
|
name: "storm/ignores"
|
|
800
801
|
}
|
|
801
802
|
];
|
|
@@ -1546,7 +1547,7 @@ async function imports(options = {}) {
|
|
|
1546
1547
|
__name(imports, "imports");
|
|
1547
1548
|
|
|
1548
1549
|
// src/configs/javascript.ts
|
|
1549
|
-
import
|
|
1550
|
+
import defu3 from "defu";
|
|
1550
1551
|
import globalsLib from "globals";
|
|
1551
1552
|
async function javascript(options = {}) {
|
|
1552
1553
|
const { lineEndings = "unix", overrides = {}, repositoryName, globals = {} } = options;
|
|
@@ -1555,7 +1556,7 @@ async function javascript(options = {}) {
|
|
|
1555
1556
|
name: "storm/javascript/setup",
|
|
1556
1557
|
languageOptions: {
|
|
1557
1558
|
ecmaVersion: 2022,
|
|
1558
|
-
globals:
|
|
1559
|
+
globals: defu3(globals, {
|
|
1559
1560
|
...globalsLib.browser,
|
|
1560
1561
|
...globalsLib.es2021,
|
|
1561
1562
|
...globalsLib.node,
|
|
@@ -3227,7 +3228,7 @@ async function node() {
|
|
|
3227
3228
|
__name(node, "node");
|
|
3228
3229
|
|
|
3229
3230
|
// src/configs/nx.ts
|
|
3230
|
-
import
|
|
3231
|
+
import defu4 from "defu";
|
|
3231
3232
|
async function nx(options = {}) {
|
|
3232
3233
|
const { depsCheck = false, depsCheckSeverity = "error", moduleBoundaries, ignoredDependencies = [], ignoredFiles = [], checkObsoleteDependencies = true } = options;
|
|
3233
3234
|
return [
|
|
@@ -3255,7 +3256,7 @@ async function nx(options = {}) {
|
|
|
3255
3256
|
rules: depsCheck !== false ? {
|
|
3256
3257
|
"@nx/dependency-checks": [
|
|
3257
3258
|
depsCheckSeverity,
|
|
3258
|
-
|
|
3259
|
+
defu4(depsCheck, {
|
|
3259
3260
|
buildTargets: [
|
|
3260
3261
|
"build-base",
|
|
3261
3262
|
"build"
|
|
@@ -3283,7 +3284,7 @@ async function nx(options = {}) {
|
|
|
3283
3284
|
rules: moduleBoundaries !== false ? {
|
|
3284
3285
|
"@nx/enforce-module-boundaries": [
|
|
3285
3286
|
"error",
|
|
3286
|
-
|
|
3287
|
+
defu4(moduleBoundaries ?? {}, {
|
|
3287
3288
|
enforceBuildableLibDependency: false,
|
|
3288
3289
|
checkDynamicDependenciesExceptions: [
|
|
3289
3290
|
".*"
|
package/package.json
CHANGED