@jimmy.codes/eslint-config 6.16.0 → 6.16.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.
@@ -1,5 +1,5 @@
1
- import { t as GLOB_ASTRO } from "./globs-C5FyFNuk.js";
2
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
1
+ import { t as GLOB_ASTRO } from "./globs-vEjrVS_T.mjs";
2
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
3
3
  import globals from "globals";
4
4
 
5
5
  //#region src/configs/astro.ts
@@ -1,3 +1,3 @@
1
- import { a as GLOB_JS, c as GLOB_PLAYWRIGHT, d as GLOB_TSX, i as GLOB_IGNORES, l as GLOB_TESTS, n as GLOB_CJS, o as GLOB_JSX, r as GLOB_E2E, s as GLOB_NEXTJS, t as GLOB_ASTRO, u as GLOB_TS } from "./globs-C5FyFNuk.js";
1
+ import { a as GLOB_JS, c as GLOB_PLAYWRIGHT, d as GLOB_TSX, i as GLOB_IGNORES, l as GLOB_TESTS, n as GLOB_CJS, o as GLOB_JSX, r as GLOB_E2E, s as GLOB_NEXTJS, t as GLOB_ASTRO, u as GLOB_TS } from "./globs-vEjrVS_T.mjs";
2
2
 
3
3
  export { GLOB_ASTRO, GLOB_CJS, GLOB_E2E, GLOB_IGNORES, GLOB_JS, GLOB_JSX, GLOB_NEXTJS, GLOB_PLAYWRIGHT, GLOB_TESTS, GLOB_TS, GLOB_TSX };
@@ -1,5 +1,5 @@
1
- import { i as GLOB_IGNORES, l as GLOB_TESTS, n as GLOB_CJS } from "./globs-C5FyFNuk.js";
2
- import { a as hasReact, c as hasTestingLibrary, d as hasVitest, i as hasPlaywright, l as hasTypescript, n as hasJest, o as hasReactQuery, r as hasNext, s as hasStorybook, t as hasAstro } from "./has-dependency-lkRo7x2C.js";
1
+ import { i as GLOB_IGNORES, l as GLOB_TESTS, n as GLOB_CJS } from "./globs-vEjrVS_T.mjs";
2
+ import { a as hasReact, c as hasTestingLibrary, d as hasVitest, i as hasPlaywright, l as hasTypescript, n as hasJest, o as hasReactQuery, r as hasNext, s as hasStorybook, t as hasAstro } from "./has-dependency-hb7rZeXZ.mjs";
3
3
  import gitignoreConfig from "eslint-config-flat-gitignore";
4
4
  import globals from "globals";
5
5
  import comments from "@eslint-community/eslint-plugin-eslint-comments/configs";
@@ -478,16 +478,16 @@ const defineConfig = async ({ astro = false, autoDetect = true, gitignore = fals
478
478
  stylisticConfig()
479
479
  ];
480
480
  const featureConfigs = await Promise.all([
481
- isTypescriptEnabled && unwrap(import("./typescript-CWevoym8.js")),
482
- isReactEnabled && unwrap(import("./react-TciwSDvV.js")),
483
- isTanstackQueryEnabled && unwrap(import("./tanstack-query-C0Pag-TK.js")),
484
- isAstroEnabled && unwrap(import("./astro-CYKa1Ijk.js")),
485
- isJestEnabled && unwrap(import("./jest-DBcw_I7S.js")),
486
- isVitestEnabled && unwrap(import("./vitest-Bs_zrIdp.js")),
487
- isTestingLibraryEnabled && unwrap(import("./testing-library-DuiSlHeo.js")),
488
- isPlaywrightEnabled && unwrap(import("./playwright-BXMpcaS7.js")),
489
- isStorybookEnabled && unwrap(import("./storybook-D3Bkozqd.js")),
490
- isNextjsEnabled && unwrap(import("./nextjs-BAZ7sZb7.js"))
481
+ isTypescriptEnabled && unwrap(import("./typescript-8inYuw4v.mjs")),
482
+ isReactEnabled && unwrap(import("./react-CfoK95bu.mjs")),
483
+ isTanstackQueryEnabled && unwrap(import("./tanstack-query-NIpT7cxZ.mjs")),
484
+ isAstroEnabled && unwrap(import("./astro-BQtDqyG3.mjs")),
485
+ isJestEnabled && unwrap(import("./jest-CErT1V1O.mjs")),
486
+ isVitestEnabled && unwrap(import("./vitest-C7UPbZQL.mjs")),
487
+ isTestingLibraryEnabled && unwrap(import("./testing-library-CK_eSFw4.mjs")),
488
+ isPlaywrightEnabled && unwrap(import("./playwright-BVt20EDw.mjs")),
489
+ isStorybookEnabled && unwrap(import("./storybook-DNFUDICT.mjs")),
490
+ isNextjsEnabled && unwrap(import("./nextjs-Bdvt4ntM.mjs"))
491
491
  ]);
492
492
  return [
493
493
  ...gitignore ? [gitignoreConfig({ strict: false })] : [],
@@ -1,5 +1,5 @@
1
- import { l as GLOB_TESTS, r as GLOB_E2E } from "./globs-C5FyFNuk.js";
2
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
1
+ import { l as GLOB_TESTS, r as GLOB_E2E } from "./globs-vEjrVS_T.mjs";
2
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
3
3
 
4
4
  //#region src/rules/jest.ts
5
5
  const jestRules = async () => {
@@ -1,6 +1,6 @@
1
- import { s as GLOB_NEXTJS } from "./globs-C5FyFNuk.js";
2
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
3
- import { t as upwarn } from "./upwarn-DItTz7lt.js";
1
+ import { s as GLOB_NEXTJS } from "./globs-vEjrVS_T.mjs";
2
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
3
+ import { t as upwarn } from "./upwarn-B1BG5US9.mjs";
4
4
 
5
5
  //#region src/rules/nextjs.ts
6
6
  const nextjsRules = async () => {
@@ -1,5 +1,5 @@
1
- import { c as GLOB_PLAYWRIGHT } from "./globs-C5FyFNuk.js";
2
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
1
+ import { c as GLOB_PLAYWRIGHT } from "./globs-vEjrVS_T.mjs";
2
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
3
3
 
4
4
  //#region src/rules/playwright.ts
5
5
  const playwrightRules = async () => {
@@ -1,7 +1,7 @@
1
- import { d as GLOB_TSX, o as GLOB_JSX } from "./globs-C5FyFNuk.js";
2
- import { l as hasTypescript, r as hasNext, u as hasVite } from "./has-dependency-lkRo7x2C.js";
3
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
4
- import { t as upwarn } from "./upwarn-DItTz7lt.js";
1
+ import { d as GLOB_TSX, o as GLOB_JSX } from "./globs-vEjrVS_T.mjs";
2
+ import { l as hasTypescript, r as hasNext, u as hasVite } from "./has-dependency-hb7rZeXZ.mjs";
3
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
4
+ import { t as upwarn } from "./upwarn-B1BG5US9.mjs";
5
5
  import globals from "globals";
6
6
 
7
7
  //#region src/rules/react.ts
@@ -1,5 +1,5 @@
1
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
2
- import { t as upwarn } from "./upwarn-DItTz7lt.js";
1
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
2
+ import { t as upwarn } from "./upwarn-B1BG5US9.mjs";
3
3
 
4
4
  //#region src/configs/storybook.ts
5
5
  async function storybookConfig() {
@@ -1,5 +1,5 @@
1
- import { d as GLOB_TSX, o as GLOB_JSX } from "./globs-C5FyFNuk.js";
2
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
1
+ import { d as GLOB_TSX, o as GLOB_JSX } from "./globs-vEjrVS_T.mjs";
2
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
3
3
 
4
4
  //#region src/configs/tanstack-query.ts
5
5
  async function tanstackQueryConfig() {
@@ -1,5 +1,5 @@
1
- import { l as GLOB_TESTS, r as GLOB_E2E } from "./globs-C5FyFNuk.js";
2
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
1
+ import { l as GLOB_TESTS, r as GLOB_E2E } from "./globs-vEjrVS_T.mjs";
2
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
3
3
 
4
4
  //#region src/rules/testing-library.ts
5
5
  const testingLibraryRules = async () => {
@@ -1,4 +1,4 @@
1
- import { a as GLOB_JS, l as GLOB_TESTS, o as GLOB_JSX } from "./globs-C5FyFNuk.js";
1
+ import { a as GLOB_JS, l as GLOB_TESTS, o as GLOB_JSX } from "./globs-vEjrVS_T.mjs";
2
2
 
3
3
  //#region src/rules/typescript.ts
4
4
  const disabledEslintRules = { "no-use-before-define": "off" };
@@ -1,5 +1,5 @@
1
- import { l as GLOB_TESTS, r as GLOB_E2E } from "./globs-C5FyFNuk.js";
2
- import { t as interopDefault } from "./interop-default-DQxo_rHy.js";
1
+ import { l as GLOB_TESTS, r as GLOB_E2E } from "./globs-vEjrVS_T.mjs";
2
+ import { t as interopDefault } from "./interop-default-B8s_f9DT.mjs";
3
3
 
4
4
  //#region src/rules/vitest.ts
5
5
  const vitestRules = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "6.16.0",
3
+ "version": "6.16.2",
4
4
  "description": "A simple, modern ESLint config that covers most use cases.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -25,39 +25,39 @@
25
25
  "type": "module",
26
26
  "exports": {
27
27
  ".": {
28
- "types": "./dist/index.d.ts",
29
- "default": "./dist/index.js"
28
+ "types": "./dist/index.d.mts",
29
+ "default": "./dist/index.mjs"
30
30
  },
31
31
  "./globs": {
32
- "types": "./dist/globs.d.ts",
33
- "default": "./dist/globs.js"
32
+ "types": "./dist/globs.d.mts",
33
+ "default": "./dist/globs.mjs"
34
34
  }
35
35
  },
36
- "main": "./dist/index.js",
37
- "types": "./dist/index.d.ts",
36
+ "main": "./dist/index.mjs",
37
+ "types": "./dist/index.d.mts",
38
38
  "files": [
39
39
  "dist"
40
40
  ],
41
41
  "dependencies": {
42
42
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
43
43
  "@eslint-react/eslint-plugin": "^2.3.1",
44
- "@eslint/js": "^9.38.0",
44
+ "@eslint/js": "^9.39.1",
45
45
  "@next/eslint-plugin-next": "^15.5.6",
46
46
  "@stylistic/eslint-plugin": "^5.5.0",
47
47
  "@tanstack/eslint-plugin-query": "^5.91.2",
48
48
  "@types/eslint": "9.6.1",
49
- "@typescript-eslint/parser": "^8.46.2",
50
- "@typescript-eslint/utils": "^8.46.2",
49
+ "@typescript-eslint/parser": "^8.46.3",
50
+ "@typescript-eslint/utils": "^8.46.3",
51
51
  "@vitest/eslint-plugin": "^1.4.0",
52
52
  "astro-eslint-parser": "^1.2.2",
53
53
  "eslint-config-flat-gitignore": "^2.1.0",
54
54
  "eslint-config-prettier": "^10.1.8",
55
55
  "eslint-import-resolver-typescript": "^4.4.4",
56
- "eslint-plugin-astro": "^1.4.0",
56
+ "eslint-plugin-astro": "^1.5.0",
57
57
  "eslint-plugin-import-x": "^4.16.1",
58
58
  "eslint-plugin-jest": "^29.0.1",
59
59
  "eslint-plugin-jest-dom": "^5.5.0",
60
- "eslint-plugin-jsdoc": "^61.1.11",
60
+ "eslint-plugin-jsdoc": "^61.1.12",
61
61
  "eslint-plugin-jsx-a11y": "^6.10.2",
62
62
  "eslint-plugin-n": "^17.23.1",
63
63
  "eslint-plugin-perfectionist": "^4.15.1",
@@ -75,7 +75,7 @@
75
75
  "eslint-plugin-unicorn": "^62.0.0",
76
76
  "globals": "^16.5.0",
77
77
  "local-pkg": "^1.1.2",
78
- "typescript-eslint": "^8.46.2"
78
+ "typescript-eslint": "^8.46.3"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "eslint": "^9.10.0"
File without changes
File without changes
File without changes