@storm-software/eslint 0.148.1 → 0.148.2
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 -2
- package/dist/preset.js +8 -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 -->
|
|
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
-
|
|
44
43
|
## Table of Contents
|
|
45
44
|
|
|
46
45
|
- [Storm Base ESLint Package](#storm-base-eslint-package)
|
package/dist/preset.js
CHANGED
|
@@ -789,13 +789,12 @@ async function graphql(options = {}) {
|
|
|
789
789
|
__name(graphql, "graphql");
|
|
790
790
|
|
|
791
791
|
// src/configs/ignores.ts
|
|
792
|
+
import defu2 from "defu";
|
|
793
|
+
import { DEFAULT_IGNORES } from "src/utils/ignores";
|
|
792
794
|
async function ignores(userIgnores = []) {
|
|
793
795
|
return [
|
|
794
796
|
{
|
|
795
|
-
ignores:
|
|
796
|
-
...GLOB_EXCLUDE,
|
|
797
|
-
...userIgnores
|
|
798
|
-
],
|
|
797
|
+
ignores: defu2(GLOB_EXCLUDE, DEFAULT_IGNORES, userIgnores),
|
|
799
798
|
name: "storm/ignores"
|
|
800
799
|
}
|
|
801
800
|
];
|
|
@@ -1546,7 +1545,7 @@ async function imports(options = {}) {
|
|
|
1546
1545
|
__name(imports, "imports");
|
|
1547
1546
|
|
|
1548
1547
|
// src/configs/javascript.ts
|
|
1549
|
-
import
|
|
1548
|
+
import defu3 from "defu";
|
|
1550
1549
|
import globalsLib from "globals";
|
|
1551
1550
|
async function javascript(options = {}) {
|
|
1552
1551
|
const { lineEndings = "unix", overrides = {}, repositoryName, globals = {} } = options;
|
|
@@ -1555,7 +1554,7 @@ async function javascript(options = {}) {
|
|
|
1555
1554
|
name: "storm/javascript/setup",
|
|
1556
1555
|
languageOptions: {
|
|
1557
1556
|
ecmaVersion: 2022,
|
|
1558
|
-
globals:
|
|
1557
|
+
globals: defu3(globals, {
|
|
1559
1558
|
...globalsLib.browser,
|
|
1560
1559
|
...globalsLib.es2021,
|
|
1561
1560
|
...globalsLib.node,
|
|
@@ -3227,7 +3226,7 @@ async function node() {
|
|
|
3227
3226
|
__name(node, "node");
|
|
3228
3227
|
|
|
3229
3228
|
// src/configs/nx.ts
|
|
3230
|
-
import
|
|
3229
|
+
import defu4 from "defu";
|
|
3231
3230
|
async function nx(options = {}) {
|
|
3232
3231
|
const { depsCheck = false, depsCheckSeverity = "error", moduleBoundaries, ignoredDependencies = [], ignoredFiles = [], checkObsoleteDependencies = true } = options;
|
|
3233
3232
|
return [
|
|
@@ -3255,7 +3254,7 @@ async function nx(options = {}) {
|
|
|
3255
3254
|
rules: depsCheck !== false ? {
|
|
3256
3255
|
"@nx/dependency-checks": [
|
|
3257
3256
|
depsCheckSeverity,
|
|
3258
|
-
|
|
3257
|
+
defu4(depsCheck, {
|
|
3259
3258
|
buildTargets: [
|
|
3260
3259
|
"build-base",
|
|
3261
3260
|
"build"
|
|
@@ -3283,7 +3282,7 @@ async function nx(options = {}) {
|
|
|
3283
3282
|
rules: moduleBoundaries !== false ? {
|
|
3284
3283
|
"@nx/enforce-module-boundaries": [
|
|
3285
3284
|
"error",
|
|
3286
|
-
|
|
3285
|
+
defu4(moduleBoundaries ?? {}, {
|
|
3287
3286
|
enforceBuildableLibDependency: false,
|
|
3288
3287
|
checkDynamicDependenciesExceptions: [
|
|
3289
3288
|
".*"
|
package/package.json
CHANGED