@storm-software/eslint 0.148.3 → 0.148.4

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.2-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.3-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 -->
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "./chunk-HTYZKOBI.js";
3
+ } from "./chunk-G4SCUHQO.js";
4
4
  import {
5
5
  GLOB_SRC
6
- } from "./chunk-SRHSKJB5.js";
6
+ } from "./chunk-EJ2FSS2J.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-SHUYVCID.js";
@@ -91,30 +91,57 @@ var GLOB_ALL_SRC = [
91
91
  GLOB_HTML
92
92
  ];
93
93
  var GLOB_EXCLUDE = [
94
- "**/node_modules",
95
- "**/dist",
96
- "**/package-lock.json",
97
- "**/yarn.lock",
98
- "**/pnpm-lock.yaml",
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
- "**/.nx",
101
- "**/.storm",
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",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ACRONYMS_LIST
3
- } from "./chunk-SRHSKJB5.js";
3
+ } from "./chunk-EJ2FSS2J.js";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-SHUYVCID.js";
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-CA7PWCVJ.js";
18
- import "./chunk-HTYZKOBI.js";
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-SRHSKJB5.js";
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: defu2(GLOB_EXCLUDE, DEFAULT_IGNORES, userIgnores),
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 defu3 from "defu";
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: defu3(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 defu4 from "defu";
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
- defu4(depsCheck, {
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
- defu4(moduleBoundaries ?? {}, {
3286
+ defu3(moduleBoundaries ?? {}, {
3288
3287
  enforceBuildableLibDependency: false,
3289
3288
  checkDynamicDependenciesExceptions: [
3290
3289
  ".*"
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  banner_plugin_default
3
- } from "../chunk-CA7PWCVJ.js";
4
- import "../chunk-HTYZKOBI.js";
5
- import "../chunk-SRHSKJB5.js";
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
@@ -33,7 +33,7 @@ import {
33
33
  GLOB_VUE,
34
34
  GLOB_XML,
35
35
  GLOB_YAML
36
- } from "../chunk-SRHSKJB5.js";
36
+ } from "../chunk-EJ2FSS2J.js";
37
37
  import "../chunk-SHUYVCID.js";
38
38
  export {
39
39
  ACRONYMS_LIST,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "../chunk-HTYZKOBI.js";
4
- import "../chunk-SRHSKJB5.js";
3
+ } from "../chunk-G4SCUHQO.js";
4
+ import "../chunk-EJ2FSS2J.js";
5
5
  import "../chunk-SHUYVCID.js";
6
6
  export {
7
7
  getFileBanner
@@ -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';
@@ -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-SRHSKJB5.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.148.3",
3
+ "version": "0.148.4",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -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
- };
@@ -1,3 +0,0 @@
1
- declare const DEFAULT_IGNORES: string[];
2
-
3
- export { DEFAULT_IGNORES };
@@ -1,7 +0,0 @@
1
- import {
2
- DEFAULT_IGNORES
3
- } from "../chunk-NXBMVNV2.js";
4
- import "../chunk-SHUYVCID.js";
5
- export {
6
- DEFAULT_IGNORES
7
- };