@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 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
- [![Version](https://img.shields.io/badge/version-0.148.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.148.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
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 defu2 from "defu";
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: defu2(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 defu3 from "defu";
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
- defu3(depsCheck, {
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
- defu3(moduleBoundaries ?? {}, {
3285
+ defu4(moduleBoundaries ?? {}, {
3287
3286
  enforceBuildableLibDependency: false,
3288
3287
  checkDynamicDependenciesExceptions: [
3289
3288
  ".*"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.148.1",
3
+ "version": "0.148.2",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {