@santi020k/eslint-config-integrations 2.1.1 → 3.1.0

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.
Files changed (207) hide show
  1. package/CHANGELOG.md +469 -0
  2. package/README.md +4 -0
  3. package/dist/compose.d.ts +5 -15
  4. package/dist/compose.js +18 -130
  5. package/dist/compose.js.map +1 -1
  6. package/dist/extensions.d.ts +5 -0
  7. package/dist/extensions.js +37 -0
  8. package/dist/extensions.js.map +1 -0
  9. package/dist/formats.d.ts +1 -0
  10. package/dist/formats.js +23 -0
  11. package/dist/formats.js.map +1 -0
  12. package/dist/index.d.ts +5 -56
  13. package/dist/index.js +6 -111
  14. package/dist/index.js.map +1 -1
  15. package/dist/libraries.d.ts +1 -0
  16. package/dist/libraries.js +47 -0
  17. package/dist/libraries.js.map +1 -0
  18. package/dist/testing.d.ts +1 -0
  19. package/dist/testing.js +17 -0
  20. package/dist/testing.js.map +1 -0
  21. package/dist/tools.d.ts +1 -0
  22. package/dist/tools.js +23 -0
  23. package/dist/tools.js.map +1 -0
  24. package/package.json +25 -77
  25. package/dist/extensions/a11y.d.ts +0 -9
  26. package/dist/extensions/a11y.js +0 -25
  27. package/dist/extensions/a11y.js.map +0 -1
  28. package/dist/extensions/best-practices.d.ts +0 -16
  29. package/dist/extensions/best-practices.js +0 -27
  30. package/dist/extensions/best-practices.js.map +0 -1
  31. package/dist/extensions/biome.d.ts +0 -9
  32. package/dist/extensions/biome.js +0 -18
  33. package/dist/extensions/biome.js.map +0 -1
  34. package/dist/extensions/boundaries.d.ts +0 -12
  35. package/dist/extensions/boundaries.js +0 -40
  36. package/dist/extensions/boundaries.js.map +0 -1
  37. package/dist/extensions/compat.d.ts +0 -9
  38. package/dist/extensions/compat.js +0 -16
  39. package/dist/extensions/compat.js.map +0 -1
  40. package/dist/extensions/de-morgan.d.ts +0 -9
  41. package/dist/extensions/de-morgan.js +0 -16
  42. package/dist/extensions/de-morgan.js.map +0 -1
  43. package/dist/extensions/depend.d.ts +0 -10
  44. package/dist/extensions/depend.js +0 -16
  45. package/dist/extensions/depend.js.map +0 -1
  46. package/dist/extensions/index.d.ts +0 -16
  47. package/dist/extensions/index.js +0 -33
  48. package/dist/extensions/index.js.map +0 -1
  49. package/dist/extensions/no-only-tests.d.ts +0 -9
  50. package/dist/extensions/no-only-tests.js +0 -21
  51. package/dist/extensions/no-only-tests.js.map +0 -1
  52. package/dist/extensions/node.d.ts +0 -11
  53. package/dist/extensions/node.js +0 -25
  54. package/dist/extensions/node.js.map +0 -1
  55. package/dist/extensions/oxlint.d.ts +0 -10
  56. package/dist/extensions/oxlint.js +0 -14
  57. package/dist/extensions/oxlint.js.map +0 -1
  58. package/dist/extensions/perfectionist.d.ts +0 -9
  59. package/dist/extensions/perfectionist.js +0 -25
  60. package/dist/extensions/perfectionist.js.map +0 -1
  61. package/dist/extensions/regexp.d.ts +0 -10
  62. package/dist/extensions/regexp.js +0 -27
  63. package/dist/extensions/regexp.js.map +0 -1
  64. package/dist/extensions/security.d.ts +0 -9
  65. package/dist/extensions/security.js +0 -21
  66. package/dist/extensions/security.js.map +0 -1
  67. package/dist/extensions/sonarjs.d.ts +0 -5
  68. package/dist/extensions/sonarjs.js +0 -16
  69. package/dist/extensions/sonarjs.js.map +0 -1
  70. package/dist/extensions/unicorn.d.ts +0 -9
  71. package/dist/extensions/unicorn.js +0 -47
  72. package/dist/extensions/unicorn.js.map +0 -1
  73. package/dist/formats/css.d.ts +0 -9
  74. package/dist/formats/css.js +0 -21
  75. package/dist/formats/css.js.map +0 -1
  76. package/dist/formats/graphql.d.ts +0 -9
  77. package/dist/formats/graphql.js +0 -41
  78. package/dist/formats/graphql.js.map +0 -1
  79. package/dist/formats/html.d.ts +0 -9
  80. package/dist/formats/html.js +0 -29
  81. package/dist/formats/html.js.map +0 -1
  82. package/dist/formats/index.d.ts +0 -10
  83. package/dist/formats/index.js +0 -21
  84. package/dist/formats/index.js.map +0 -1
  85. package/dist/formats/jsonc.d.ts +0 -9
  86. package/dist/formats/jsonc.js +0 -73
  87. package/dist/formats/jsonc.js.map +0 -1
  88. package/dist/formats/markdown.d.ts +0 -9
  89. package/dist/formats/markdown.js +0 -73
  90. package/dist/formats/markdown.js.map +0 -1
  91. package/dist/formats/mdx.d.ts +0 -9
  92. package/dist/formats/mdx.js +0 -55
  93. package/dist/formats/mdx.js.map +0 -1
  94. package/dist/formats/package-json.d.ts +0 -9
  95. package/dist/formats/package-json.js +0 -16
  96. package/dist/formats/package-json.js.map +0 -1
  97. package/dist/formats/toml.d.ts +0 -9
  98. package/dist/formats/toml.js +0 -14
  99. package/dist/formats/toml.js.map +0 -1
  100. package/dist/formats/yaml.d.ts +0 -9
  101. package/dist/formats/yaml.js +0 -28
  102. package/dist/formats/yaml.js.map +0 -1
  103. package/dist/lazy.d.ts +0 -24
  104. package/dist/lazy.js +0 -46
  105. package/dist/lazy.js.map +0 -1
  106. package/dist/libraries/ai.d.ts +0 -8
  107. package/dist/libraries/ai.js +0 -29
  108. package/dist/libraries/ai.js.map +0 -1
  109. package/dist/libraries/autogen.d.ts +0 -8
  110. package/dist/libraries/autogen.js +0 -24
  111. package/dist/libraries/autogen.js.map +0 -1
  112. package/dist/libraries/google-genai.d.ts +0 -8
  113. package/dist/libraries/google-genai.js +0 -30
  114. package/dist/libraries/google-genai.js.map +0 -1
  115. package/dist/libraries/i18next.d.ts +0 -9
  116. package/dist/libraries/i18next.js +0 -29
  117. package/dist/libraries/i18next.js.map +0 -1
  118. package/dist/libraries/index.d.ts +0 -17
  119. package/dist/libraries/index.js +0 -38
  120. package/dist/libraries/index.js.map +0 -1
  121. package/dist/libraries/langchain.d.ts +0 -8
  122. package/dist/libraries/langchain.js +0 -30
  123. package/dist/libraries/langchain.js.map +0 -1
  124. package/dist/libraries/llamaindex.d.ts +0 -8
  125. package/dist/libraries/llamaindex.js +0 -30
  126. package/dist/libraries/llamaindex.js.map +0 -1
  127. package/dist/libraries/mastra.d.ts +0 -8
  128. package/dist/libraries/mastra.js +0 -30
  129. package/dist/libraries/mastra.js.map +0 -1
  130. package/dist/libraries/mcp.d.ts +0 -8
  131. package/dist/libraries/mcp.js +0 -33
  132. package/dist/libraries/mcp.js.map +0 -1
  133. package/dist/libraries/openai-agents.d.ts +0 -8
  134. package/dist/libraries/openai-agents.js +0 -32
  135. package/dist/libraries/openai-agents.js.map +0 -1
  136. package/dist/libraries/orm.d.ts +0 -31
  137. package/dist/libraries/orm.js +0 -104
  138. package/dist/libraries/orm.js.map +0 -1
  139. package/dist/libraries/stencil.d.ts +0 -9
  140. package/dist/libraries/stencil.js +0 -49
  141. package/dist/libraries/stencil.js.map +0 -1
  142. package/dist/libraries/storybook.d.ts +0 -9
  143. package/dist/libraries/storybook.js +0 -11
  144. package/dist/libraries/storybook.js.map +0 -1
  145. package/dist/libraries/tailwind.d.ts +0 -9
  146. package/dist/libraries/tailwind.js +0 -21
  147. package/dist/libraries/tailwind.js.map +0 -1
  148. package/dist/libraries/tanstack.d.ts +0 -12
  149. package/dist/libraries/tanstack.js +0 -37
  150. package/dist/libraries/tanstack.js.map +0 -1
  151. package/dist/libraries/turbo.d.ts +0 -9
  152. package/dist/libraries/turbo.js +0 -25
  153. package/dist/libraries/turbo.js.map +0 -1
  154. package/dist/libraries/zod.d.ts +0 -9
  155. package/dist/libraries/zod.js +0 -21
  156. package/dist/libraries/zod.js.map +0 -1
  157. package/dist/testing/cypress.d.ts +0 -9
  158. package/dist/testing/cypress.js +0 -26
  159. package/dist/testing/cypress.js.map +0 -1
  160. package/dist/testing/index.d.ts +0 -7
  161. package/dist/testing/index.js +0 -15
  162. package/dist/testing/index.js.map +0 -1
  163. package/dist/testing/jest-dom.d.ts +0 -9
  164. package/dist/testing/jest-dom.js +0 -21
  165. package/dist/testing/jest-dom.js.map +0 -1
  166. package/dist/testing/jest.d.ts +0 -9
  167. package/dist/testing/jest.js +0 -24
  168. package/dist/testing/jest.js.map +0 -1
  169. package/dist/testing/playwright.d.ts +0 -9
  170. package/dist/testing/playwright.js +0 -24
  171. package/dist/testing/playwright.js.map +0 -1
  172. package/dist/testing/testing-library.d.ts +0 -9
  173. package/dist/testing/testing-library.js +0 -34
  174. package/dist/testing/testing-library.js.map +0 -1
  175. package/dist/testing/vitest.d.ts +0 -9
  176. package/dist/testing/vitest.js +0 -57
  177. package/dist/testing/vitest.js.map +0 -1
  178. package/dist/tools/command.d.ts +0 -9
  179. package/dist/tools/command.js +0 -16
  180. package/dist/tools/command.js.map +0 -1
  181. package/dist/tools/cspell.d.ts +0 -9
  182. package/dist/tools/cspell.js +0 -26
  183. package/dist/tools/cspell.js.map +0 -1
  184. package/dist/tools/docker.d.ts +0 -10
  185. package/dist/tools/docker.js +0 -21
  186. package/dist/tools/docker.js.map +0 -1
  187. package/dist/tools/github-actions.d.ts +0 -10
  188. package/dist/tools/github-actions.js +0 -16
  189. package/dist/tools/github-actions.js.map +0 -1
  190. package/dist/tools/index.d.ts +0 -10
  191. package/dist/tools/index.js +0 -21
  192. package/dist/tools/index.js.map +0 -1
  193. package/dist/tools/jsdoc.d.ts +0 -9
  194. package/dist/tools/jsdoc.js +0 -36
  195. package/dist/tools/jsdoc.js.map +0 -1
  196. package/dist/tools/nx.d.ts +0 -9
  197. package/dist/tools/nx.js +0 -18
  198. package/dist/tools/nx.js.map +0 -1
  199. package/dist/tools/pnpm.d.ts +0 -10
  200. package/dist/tools/pnpm.js +0 -12
  201. package/dist/tools/pnpm.js.map +0 -1
  202. package/dist/tools/prettier.d.ts +0 -9
  203. package/dist/tools/prettier.js +0 -14
  204. package/dist/tools/prettier.js.map +0 -1
  205. package/dist/tools/swagger.d.ts +0 -9
  206. package/dist/tools/swagger.js +0 -22
  207. package/dist/tools/swagger.js.map +0 -1
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@santi020k/eslint-config-integrations",
3
- "version": "2.1.1",
3
+ "version": "3.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
7
7
  },
8
- "description": "ESLint integrations for libraries, tools, testing, formats, and extensions",
8
+ "description": "Deprecated v3 compatibility aggregate; use the category feature packs directly",
9
9
  "type": "module",
10
10
  "main": "./dist/index.js",
11
11
  "module": "./dist/index.js",
@@ -17,91 +17,43 @@
17
17
  "import": "./dist/index.js"
18
18
  },
19
19
  "./extensions": {
20
- "types": "./dist/extensions/index.d.ts",
21
- "import": "./dist/extensions/index.js"
20
+ "types": "./dist/extensions.d.ts",
21
+ "import": "./dist/extensions.js"
22
22
  },
23
23
  "./formats": {
24
- "types": "./dist/formats/index.d.ts",
25
- "import": "./dist/formats/index.js"
24
+ "types": "./dist/formats.d.ts",
25
+ "import": "./dist/formats.js"
26
26
  },
27
27
  "./libraries": {
28
- "types": "./dist/libraries/index.d.ts",
29
- "import": "./dist/libraries/index.js"
28
+ "types": "./dist/libraries.d.ts",
29
+ "import": "./dist/libraries.js"
30
30
  },
31
31
  "./testing": {
32
- "types": "./dist/testing/index.d.ts",
33
- "import": "./dist/testing/index.js"
32
+ "types": "./dist/testing.d.ts",
33
+ "import": "./dist/testing.js"
34
34
  },
35
35
  "./tools": {
36
- "types": "./dist/tools/index.d.ts",
37
- "import": "./dist/tools/index.js"
36
+ "types": "./dist/tools.d.ts",
37
+ "import": "./dist/tools.js"
38
38
  }
39
39
  },
40
40
  "files": [
41
- "dist"
41
+ "dist",
42
+ "README.md",
43
+ "CHANGELOG.md"
42
44
  ],
43
45
  "dependencies": {
44
- "@cspell/eslint-plugin": "^10.0.1",
45
- "@darraghor/eslint-plugin-nestjs-typed": "^7.2.4",
46
- "@eslint/compat": "^2.1.0",
47
- "@eslint/css": "^1.3.0",
48
- "@eslint/markdown": "^8.0.2",
49
- "@graphql-eslint/eslint-plugin": "^4.4.0",
50
- "@html-eslint/eslint-plugin": "^0.62.0",
51
- "@html-eslint/parser": "^0.62.0",
52
- "@stencil-community/eslint-plugin": "^0.10.0",
53
- "@tanstack/eslint-plugin-query": "^5.101.0",
54
- "@tanstack/eslint-plugin-router": "^1.162.0",
55
- "@typescript-eslint/utils": "^8.61.1",
56
- "@vitest/eslint-plugin": "^1.6.20",
57
- "eslint-config-biome": "^2.1.3",
58
- "eslint-config-prettier": "^10.1.8",
59
- "eslint-plugin-better-tailwindcss": "^4.6.0",
60
- "eslint-plugin-command": "^3.5.2",
61
- "eslint-plugin-compat": "^7.0.2",
62
- "eslint-plugin-cypress": "^6.4.1",
63
- "eslint-plugin-de-morgan": "^2.1.2",
64
- "eslint-plugin-depend": "^1.5.0",
65
- "eslint-plugin-i18next": "^6.1.4",
66
- "eslint-plugin-jest": "^29.15.2",
67
- "eslint-plugin-jest-dom": "^5.5.0",
68
- "eslint-plugin-jsdoc": "^63.0.5",
69
- "eslint-plugin-jsonc": "^3.2.0",
70
- "eslint-plugin-jsx-a11y": "^6.10.2",
71
- "eslint-plugin-mdx": "^3.8.1",
72
- "eslint-plugin-n": "^18.1.0",
73
- "eslint-plugin-no-only-tests": "^3.4.0",
74
- "eslint-plugin-oxlint": "^1.70.0",
75
- "eslint-plugin-package-json": "^1.3.0",
76
- "eslint-plugin-perfectionist": "^5.9.1",
77
- "eslint-plugin-playwright": "^2.10.4",
78
- "eslint-plugin-pnpm": "^1.6.1",
79
- "eslint-plugin-regexp": "^3.1.0",
80
- "eslint-plugin-security": "^4.0.1",
81
- "eslint-plugin-sonarjs": "^4.0.3",
82
- "eslint-plugin-storybook": "^10.4.6",
83
- "eslint-plugin-testing-library": "^7.16.2",
84
- "eslint-plugin-toml": "^1.4.0",
85
- "eslint-plugin-tsdoc": "^0.5.2",
86
- "eslint-plugin-turbo": "^2.9.18",
87
- "eslint-plugin-unicorn": "^65.0.1",
88
- "eslint-plugin-vercel-ai-security": "^1.3.5",
89
- "eslint-plugin-vuejs-accessibility": "^2.5.0",
90
- "eslint-plugin-yml": "^3.4.0",
91
- "eslint-plugin-zod": "^4.7.0",
92
- "globals": "^17.6.0",
93
- "graphql": "^16.14.2",
94
- "storybook": "^10.4.6",
95
- "tailwindcss": "^4.3.1",
96
- "typescript-eslint": "^8.61.1",
97
- "zod": "^4.4.3",
98
- "@santi020k/eslint-config-core": "2.1.1"
46
+ "@santi020k/eslint-config-core": "^3.1.0",
47
+ "@santi020k/eslint-config-extensions": "^3.1.0",
48
+ "@santi020k/eslint-config-formats": "^3.1.0",
49
+ "@santi020k/eslint-config-libraries": "^3.1.0",
50
+ "@santi020k/eslint-config-testing": "^3.1.0",
51
+ "@santi020k/eslint-config-tools": "^3.1.0"
99
52
  },
100
53
  "devDependencies": {
101
- "@types/eslint-plugin-jsx-a11y": "^6.10.1",
102
- "@types/node": "^26.0.0",
103
- "eslint": "^10.0.0",
104
- "publint": "^0.3.21",
54
+ "@types/node": "^26.1.2",
55
+ "eslint": "^10.8.0",
56
+ "publint": "^0.3.22",
105
57
  "tsup": "^8.5.1",
106
58
  "typescript": "^6.0.3"
107
59
  },
@@ -115,7 +67,7 @@
115
67
  }
116
68
  },
117
69
  "engines": {
118
- "node": "^20.19.0 || >=22.18.0"
70
+ "node": ">=22.19.0"
119
71
  },
120
72
  "repository": {
121
73
  "type": "git",
@@ -123,10 +75,6 @@
123
75
  "directory": "packages/integrations"
124
76
  },
125
77
  "homepage": "https://eslint.santi020k.com/packages/integrations",
126
- "bugs": {
127
- "url": "https://github.com/santi020k/eslint-config-basic/issues"
128
- },
129
- "author": "santi020k",
130
78
  "license": "MIT",
131
79
  "scripts": {
132
80
  "build": "tsup",
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * A11y extension configurations
5
- * Provides accessibility linting for JSX and Vue
6
- */
7
- declare const a11y: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { a11y };
@@ -1,25 +0,0 @@
1
- import { GLOB_JS_TS_ALL, GLOB_VUE } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const a11y = defineLazyConfig("a11y", async () => {
4
- const pluginJsxA11y = await loadDefault("eslint-plugin-jsx-a11y");
5
- const pluginVueA11y = await loadDefault("eslint-plugin-vuejs-accessibility");
6
- return [
7
- {
8
- files: GLOB_JS_TS_ALL,
9
- name: "eslint-config-integrations/a11y/jsx",
10
- plugins: {
11
- "jsx-a11y": pluginJsxA11y
12
- },
13
- rules: pluginJsxA11y.configs.recommended.rules
14
- },
15
- ...pluginVueA11y.configs["flat/recommended"].map((config) => ({
16
- ...config,
17
- files: GLOB_VUE,
18
- name: `eslint-config-integrations/a11y/vue${config.name ? `/${config.name}` : ""}`
19
- }))
20
- ];
21
- });
22
- export {
23
- a11y
24
- };
25
- //# sourceMappingURL=a11y.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/a11y.ts"],"sourcesContent":["import { GLOB_JS_TS_ALL, GLOB_VUE } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\nimport type PluginJsxA11y from 'eslint-plugin-jsx-a11y'\nimport type PluginVueA11y from 'eslint-plugin-vuejs-accessibility'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\n/**\n * A11y extension configurations\n * Provides accessibility linting for JSX and Vue\n */\nexport const a11y: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('a11y', async () => {\n const pluginJsxA11y = await loadDefault<typeof PluginJsxA11y>('eslint-plugin-jsx-a11y')\n const pluginVueA11y = await loadDefault<typeof PluginVueA11y>('eslint-plugin-vuejs-accessibility')\n\n return [\n {\n files: GLOB_JS_TS_ALL,\n name: 'eslint-config-integrations/a11y/jsx',\n plugins: {\n 'jsx-a11y': pluginJsxA11y\n },\n rules: pluginJsxA11y.configs.recommended.rules\n },\n ...pluginVueA11y.configs['flat/recommended'].map((config: TSESLint.FlatConfig.Config) => ({\n ...config,\n files: GLOB_VUE,\n name: `eslint-config-integrations/a11y/vue${config.name ? `/${config.name}` : ''}`\n }))\n ]\n})\n"],"mappings":"AAAA,SAAS,gBAAgB,gBAAgB;AAMzC,SAAS,kBAAkB,mBAAmB;AAMvC,MAAM,OAAuD,iBAAiB,QAAQ,YAAY;AACvG,QAAM,gBAAgB,MAAM,YAAkC,wBAAwB;AACtF,QAAM,gBAAgB,MAAM,YAAkC,mCAAmC;AAEjG,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,QACP,YAAY;AAAA,MACd;AAAA,MACA,OAAO,cAAc,QAAQ,YAAY;AAAA,IAC3C;AAAA,IACA,GAAG,cAAc,QAAQ,kBAAkB,EAAE,IAAI,CAAC,YAAwC;AAAA,MACxF,GAAG;AAAA,MACH,OAAO;AAAA,MACP,MAAM,sCAAsC,OAAO,OAAO,IAAI,OAAO,IAAI,KAAK,EAAE;AAAA,IAClF,EAAE;AAAA,EACJ;AACF,CAAC;","names":[]}
@@ -1,16 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Best-practices ESLint configuration
5
- *
6
- * Adds commonly-recommended quality rules that go beyond stylistic formatting:
7
- * - `no-console` — warn when console.* calls are left in production code
8
- * - `no-alert` — error on browser alert / confirm / prompt
9
- * - `complexity` — warn when cyclomatic complexity exceeds 10
10
- * - `max-depth` — warn when block nesting exceeds 4 levels
11
- *
12
- * All rules use built-in ESLint only; no extra dependencies are required.
13
- */
14
- declare const bestPractices: TSESLint.FlatConfig.ConfigArray;
15
-
16
- export { bestPractices };
@@ -1,27 +0,0 @@
1
- import { GLOB_JS_TS } from "@santi020k/eslint-config-core";
2
- const bestPractices = [
3
- {
4
- files: GLOB_JS_TS,
5
- name: "eslint-config/best-practices",
6
- rules: {
7
- /**
8
- * Warn when a function's cyclomatic complexity exceeds 10.
9
- * Complex functions are harder to test and understand.
10
- */
11
- complexity: ["warn", { max: 10 }],
12
- /**
13
- * Warn when blocks are nested more than 4 levels deep.
14
- * Deep nesting is a common sign that logic should be extracted.
15
- */
16
- "max-depth": ["warn", { max: 4 }],
17
- /** Disallow browser dialogs — use proper UI instead. */
18
- "no-alert": "error",
19
- /** Warn on console usage so developers remember to remove debug output. */
20
- "no-console": "warn"
21
- }
22
- }
23
- ];
24
- export {
25
- bestPractices
26
- };
27
- //# sourceMappingURL=best-practices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/best-practices.ts"],"sourcesContent":["import { GLOB_JS_TS } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\n/**\n * Best-practices ESLint configuration\n *\n * Adds commonly-recommended quality rules that go beyond stylistic formatting:\n * - `no-console` — warn when console.* calls are left in production code\n * - `no-alert` — error on browser alert / confirm / prompt\n * - `complexity` — warn when cyclomatic complexity exceeds 10\n * - `max-depth` — warn when block nesting exceeds 4 levels\n *\n * All rules use built-in ESLint only; no extra dependencies are required.\n */\nexport const bestPractices: TSESLint.FlatConfig.ConfigArray = [\n {\n files: GLOB_JS_TS,\n name: 'eslint-config/best-practices',\n rules: {\n\n /**\n * Warn when a function's cyclomatic complexity exceeds 10.\n * Complex functions are harder to test and understand.\n */\n complexity: ['warn', { max: 10 }],\n\n /**\n * Warn when blocks are nested more than 4 levels deep.\n * Deep nesting is a common sign that logic should be extracted.\n */\n 'max-depth': ['warn', { max: 4 }],\n\n /** Disallow browser dialogs — use proper UI instead. */\n 'no-alert': 'error',\n\n /** Warn on console usage so developers remember to remove debug output. */\n 'no-console': 'warn'\n }\n }\n]\n"],"mappings":"AAAA,SAAS,kBAAkB;AAepB,MAAM,gBAAiD;AAAA,EAC5D;AAAA,IACE,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,MAML,YAAY,CAAC,QAAQ,EAAE,KAAK,GAAG,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,MAMhC,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC;AAAA;AAAA,MAGhC,YAAY;AAAA;AAAA,MAGZ,cAAc;AAAA,IAChB;AAAA,EACF;AACF;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Biome extension configurations
5
- * Disables rules that conflict with Biome formatting and linting.
6
- */
7
- declare const biome: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { biome };
@@ -1,18 +0,0 @@
1
- import { GLOB_JS_TS_ALL } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const biome = defineLazyConfig("biome", async () => {
4
- const biomeConfig = await loadDefault("eslint-config-biome");
5
- return [
6
- {
7
- files: GLOB_JS_TS_ALL,
8
- name: "eslint-config-integrations/biome",
9
- rules: {
10
- ...biomeConfig.rules
11
- }
12
- }
13
- ];
14
- });
15
- export {
16
- biome
17
- };
18
- //# sourceMappingURL=biome.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/biome.ts"],"sourcesContent":["import { GLOB_JS_TS_ALL } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\ninterface BiomeConfig { rules?: TSESLint.FlatConfig.Rules }\n\n/**\n * Biome extension configurations\n * Disables rules that conflict with Biome formatting and linting.\n */\nexport const biome: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('biome', async () => {\n const biomeConfig = await loadDefault<BiomeConfig>('eslint-config-biome')\n\n return [\n {\n files: GLOB_JS_TS_ALL,\n name: 'eslint-config-integrations/biome',\n rules: {\n ...biomeConfig.rules\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,sBAAsB;AAI/B,SAAS,kBAAkB,mBAAmB;AAQvC,MAAM,QAAwD,iBAAiB,SAAS,YAAY;AACzG,QAAM,cAAc,MAAM,YAAyB,qBAAqB;AAExE,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,OAAO;AAAA,QACL,GAAG,YAAY;AAAA,MACjB;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,12 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Import-boundary ESLint configuration
5
- *
6
- * Prevents importing generated modules or test modules from production source.
7
- * Relies on import/no-relative-packages and import/no-self-import from
8
- * eslint-plugin-import-x, which the base config already loads.
9
- */
10
- declare const boundaries: TSESLint.FlatConfig.ConfigArray;
11
-
12
- export { boundaries };
@@ -1,40 +0,0 @@
1
- import { GLOB_JS_TS } from "@santi020k/eslint-config-core";
2
- const boundaries = [
3
- {
4
- files: GLOB_JS_TS,
5
- name: "eslint-config-integrations/import-boundaries",
6
- rules: {
7
- "import/no-relative-packages": "warn",
8
- "import/no-self-import": "error",
9
- "no-restricted-imports": ["error", {
10
- patterns: [
11
- {
12
- group: [
13
- "**/__generated__/**",
14
- "**/generated/**",
15
- "**/*.generated",
16
- "**/*.generated.*",
17
- "**/*.gen",
18
- "**/*.gen.*"
19
- ],
20
- message: "Generated modules should stay behind stable source exports."
21
- },
22
- {
23
- group: [
24
- "**/*.test",
25
- "**/*.spec",
26
- "**/__tests__/**",
27
- "**/test/**",
28
- "**/tests/**"
29
- ],
30
- message: "Test modules should not be imported by production source."
31
- }
32
- ]
33
- }]
34
- }
35
- }
36
- ];
37
- export {
38
- boundaries
39
- };
40
- //# sourceMappingURL=boundaries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/boundaries.ts"],"sourcesContent":["import { GLOB_JS_TS } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\n/**\n * Import-boundary ESLint configuration\n *\n * Prevents importing generated modules or test modules from production source.\n * Relies on import/no-relative-packages and import/no-self-import from\n * eslint-plugin-import-x, which the base config already loads.\n */\nexport const boundaries: TSESLint.FlatConfig.ConfigArray = [\n {\n files: GLOB_JS_TS,\n name: 'eslint-config-integrations/import-boundaries',\n rules: {\n 'import/no-relative-packages': 'warn',\n 'import/no-self-import': 'error',\n 'no-restricted-imports': ['error', {\n patterns: [\n {\n group: [\n '**/__generated__/**',\n '**/generated/**',\n '**/*.generated',\n '**/*.generated.*',\n '**/*.gen',\n '**/*.gen.*'\n ],\n message: 'Generated modules should stay behind stable source exports.'\n },\n {\n group: [\n '**/*.test',\n '**/*.spec',\n '**/__tests__/**',\n '**/test/**',\n '**/tests/**'\n ],\n message: 'Test modules should not be imported by production source.'\n }\n ]\n }]\n }\n }\n]\n"],"mappings":"AAAA,SAAS,kBAAkB;AAWpB,MAAM,aAA8C;AAAA,EACzD;AAAA,IACE,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,MACL,+BAA+B;AAAA,MAC/B,yBAAyB;AAAA,MACzB,yBAAyB,CAAC,SAAS;AAAA,QACjC,UAAU;AAAA,UACR;AAAA,YACE,OAAO;AAAA,cACL;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,YACF;AAAA,YACA,SAAS;AAAA,UACX;AAAA,UACA;AAAA,YACE,OAAO;AAAA,cACL;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,YACF;AAAA,YACA,SAAS;AAAA,UACX;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Browser compatibility extension configuration
5
- * Checks code against the project browserslist using `eslint-plugin-compat`
6
- */
7
- declare const compat: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { compat };
@@ -1,16 +0,0 @@
1
- import { GLOB_JS_TS_ALL } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const compat = defineLazyConfig("compat", async () => {
4
- const pluginCompat = await loadDefault("eslint-plugin-compat");
5
- return [
6
- {
7
- ...pluginCompat.configs["flat/recommended"],
8
- files: GLOB_JS_TS_ALL,
9
- name: "integrations/compat/recommended"
10
- }
11
- ];
12
- });
13
- export {
14
- compat
15
- };
16
- //# sourceMappingURL=compat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/compat.ts"],"sourcesContent":["import { GLOB_JS_TS_ALL } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault, type PluginWithConfigs } from '../lazy.js'\n\n/**\n * Browser compatibility extension configuration\n * Checks code against the project browserslist using `eslint-plugin-compat`\n */\nexport const compat: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('compat', async () => {\n const pluginCompat = await loadDefault<PluginWithConfigs<'flat/recommended'>>('eslint-plugin-compat')\n\n return [\n {\n ...pluginCompat.configs['flat/recommended'],\n files: GLOB_JS_TS_ALL,\n name: 'integrations/compat/recommended'\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,sBAAsB;AAI/B,SAAS,kBAAkB,mBAA2C;AAM/D,MAAM,SAAyD,iBAAiB,UAAU,YAAY;AAC3G,QAAM,eAAe,MAAM,YAAmD,sBAAsB;AAEpG,SAAO;AAAA,IACL;AAAA,MACE,GAAG,aAAa,QAAQ,kBAAkB;AAAA,MAC1C,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * De Morgan extension configuration
5
- * Simplifies negated logical expressions using `eslint-plugin-de-morgan`
6
- */
7
- declare const deMorgan: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { deMorgan };
@@ -1,16 +0,0 @@
1
- import { GLOB_JS_TS_ALL } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const deMorgan = defineLazyConfig("de-morgan", async () => {
4
- const pluginDeMorgan = await loadDefault("eslint-plugin-de-morgan");
5
- return [
6
- {
7
- ...pluginDeMorgan.configs.recommended,
8
- files: GLOB_JS_TS_ALL,
9
- name: "integrations/de-morgan/recommended"
10
- }
11
- ];
12
- });
13
- export {
14
- deMorgan
15
- };
16
- //# sourceMappingURL=de-morgan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/de-morgan.ts"],"sourcesContent":["import { GLOB_JS_TS_ALL } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault, type PluginWithConfigs } from '../lazy.js'\n\n/**\n * De Morgan extension configuration\n * Simplifies negated logical expressions using `eslint-plugin-de-morgan`\n */\nexport const deMorgan: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('de-morgan', async () => {\n const pluginDeMorgan = await loadDefault<PluginWithConfigs<'recommended'>>('eslint-plugin-de-morgan')\n\n return [\n {\n ...pluginDeMorgan.configs.recommended,\n files: GLOB_JS_TS_ALL,\n name: 'integrations/de-morgan/recommended'\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,sBAAsB;AAI/B,SAAS,kBAAkB,mBAA2C;AAM/D,MAAM,WAA2D,iBAAiB,aAAa,YAAY;AAChH,QAAM,iBAAiB,MAAM,YAA8C,yBAAyB;AAEpG,SAAO;AAAA,IACL;AAAA,MACE,GAAG,eAAe,QAAQ;AAAA,MAC1B,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,10 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Depend extension configuration
5
- * Suggests lighter or native alternatives to heavy dependencies using
6
- * `eslint-plugin-depend`
7
- */
8
- declare const depend: () => Promise<TSESLint.FlatConfig.ConfigArray>;
9
-
10
- export { depend };
@@ -1,16 +0,0 @@
1
- import { GLOB_JS_TS_ALL } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const depend = defineLazyConfig("depend", async () => {
4
- const pluginDepend = await loadDefault("eslint-plugin-depend");
5
- return [
6
- {
7
- ...pluginDepend.configs["flat/recommended"],
8
- files: GLOB_JS_TS_ALL,
9
- name: "integrations/depend/recommended"
10
- }
11
- ];
12
- });
13
- export {
14
- depend
15
- };
16
- //# sourceMappingURL=depend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/depend.ts"],"sourcesContent":["import { GLOB_JS_TS_ALL } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault, type PluginWithConfigs } from '../lazy.js'\n\n/**\n * Depend extension configuration\n * Suggests lighter or native alternatives to heavy dependencies using\n * `eslint-plugin-depend`\n */\nexport const depend: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('depend', async () => {\n const pluginDepend = await loadDefault<PluginWithConfigs<'flat/recommended'>>('eslint-plugin-depend')\n\n return [\n {\n ...pluginDepend.configs['flat/recommended'],\n files: GLOB_JS_TS_ALL,\n name: 'integrations/depend/recommended'\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,sBAAsB;AAI/B,SAAS,kBAAkB,mBAA2C;AAO/D,MAAM,SAAyD,iBAAiB,UAAU,YAAY;AAC3G,QAAM,eAAe,MAAM,YAAmD,sBAAsB;AAEpG,SAAO;AAAA,IACL;AAAA,MACE,GAAG,aAAa,QAAQ,kBAAkB;AAAA,MAC1C,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,16 +0,0 @@
1
- export { a11y } from './a11y.js';
2
- export { bestPractices } from './best-practices.js';
3
- export { biome } from './biome.js';
4
- export { boundaries } from './boundaries.js';
5
- export { compat } from './compat.js';
6
- export { deMorgan } from './de-morgan.js';
7
- export { depend } from './depend.js';
8
- export { noOnlyTests } from './no-only-tests.js';
9
- export { node } from './node.js';
10
- export { oxlint } from './oxlint.js';
11
- export { perfectionist } from './perfectionist.js';
12
- export { regexp } from './regexp.js';
13
- export { security } from './security.js';
14
- export { sonarjs } from './sonarjs.js';
15
- export { unicorn } from './unicorn.js';
16
- import '@typescript-eslint/utils';
@@ -1,33 +0,0 @@
1
- import { a11y } from "./a11y.js";
2
- import { bestPractices } from "./best-practices.js";
3
- import { biome } from "./biome.js";
4
- import { boundaries } from "./boundaries.js";
5
- import { compat } from "./compat.js";
6
- import { deMorgan } from "./de-morgan.js";
7
- import { depend } from "./depend.js";
8
- import { noOnlyTests } from "./no-only-tests.js";
9
- import { node } from "./node.js";
10
- import { oxlint } from "./oxlint.js";
11
- import { perfectionist } from "./perfectionist.js";
12
- import { regexp } from "./regexp.js";
13
- import { security } from "./security.js";
14
- import { sonarjs } from "./sonarjs.js";
15
- import { unicorn } from "./unicorn.js";
16
- export {
17
- a11y,
18
- bestPractices,
19
- biome,
20
- boundaries,
21
- compat,
22
- deMorgan,
23
- depend,
24
- noOnlyTests,
25
- node,
26
- oxlint,
27
- perfectionist,
28
- regexp,
29
- security,
30
- sonarjs,
31
- unicorn
32
- };
33
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/index.ts"],"sourcesContent":["export { a11y } from './a11y.js'\nexport { bestPractices } from './best-practices.js'\nexport { biome } from './biome.js'\nexport { boundaries } from './boundaries.js'\nexport { compat } from './compat.js'\nexport { deMorgan } from './de-morgan.js'\nexport { depend } from './depend.js'\nexport { noOnlyTests } from './no-only-tests.js'\nexport { node } from './node.js'\nexport { oxlint } from './oxlint.js'\nexport { perfectionist } from './perfectionist.js'\nexport { regexp } from './regexp.js'\nexport { security } from './security.js'\nexport { sonarjs } from './sonarjs.js'\nexport { unicorn } from './unicorn.js'\n"],"mappings":"AAAA,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,aAAa;AACtB,SAAS,kBAAkB;AAC3B,SAAS,cAAc;AACvB,SAAS,gBAAgB;AACzB,SAAS,cAAc;AACvB,SAAS,mBAAmB;AAC5B,SAAS,YAAY;AACrB,SAAS,cAAc;AACvB,SAAS,qBAAqB;AAC9B,SAAS,cAAc;AACvB,SAAS,gBAAgB;AACzB,SAAS,eAAe;AACxB,SAAS,eAAe;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Prevents `test.only` / `describe.only` from being committed to version
5
- * control. Uses `eslint-plugin-no-only-tests`.
6
- */
7
- declare const noOnlyTests: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { noOnlyTests };
@@ -1,21 +0,0 @@
1
- import { GLOB_JS_TS } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadModule } from "../lazy.js";
3
- const noOnlyTests = defineLazyConfig("no-only-tests", async () => {
4
- const plugin = (await loadModule("eslint-plugin-no-only-tests")).default;
5
- return [
6
- {
7
- files: GLOB_JS_TS,
8
- name: "eslint-config-integrations/no-only-tests",
9
- plugins: {
10
- "no-only-tests": plugin
11
- },
12
- rules: {
13
- "no-only-tests/no-only-tests": "error"
14
- }
15
- }
16
- ];
17
- });
18
- export {
19
- noOnlyTests
20
- };
21
- //# sourceMappingURL=no-only-tests.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/no-only-tests.ts"],"sourcesContent":["import { GLOB_JS_TS } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, type FlatPlugin,loadModule } from '../lazy.js'\n\n/**\n * Prevents `test.only` / `describe.only` from being committed to version\n * control. Uses `eslint-plugin-no-only-tests`.\n */\nexport const noOnlyTests: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('no-only-tests', async () => {\n const plugin = (await loadModule<{ default: FlatPlugin }>('eslint-plugin-no-only-tests')).default\n\n return [\n {\n files: GLOB_JS_TS,\n name: 'eslint-config-integrations/no-only-tests',\n plugins: {\n 'no-only-tests': plugin\n },\n rules: {\n 'no-only-tests/no-only-tests': 'error'\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,kBAAkB;AAI3B,SAAS,kBAAkC,kBAAkB;AAMtD,MAAM,cAA8D,iBAAiB,iBAAiB,YAAY;AACvH,QAAM,UAAU,MAAM,WAAoC,6BAA6B,GAAG;AAE1F,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,MACA,OAAO;AAAA,QACL,+BAA+B;AAAA,MACjC;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,11 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Node.js extension configuration
5
- * Applies `eslint-plugin-n` recommended rules for Node.js codebases.
6
- * Module-resolution rules are disabled for TypeScript files where the
7
- * TypeScript compiler already validates imports.
8
- */
9
- declare const node: () => Promise<TSESLint.FlatConfig.ConfigArray>;
10
-
11
- export { node };
@@ -1,25 +0,0 @@
1
- import { GLOB_JS_TS, GLOB_TS } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const node = defineLazyConfig("node", async () => {
4
- const pluginNode = await loadDefault("eslint-plugin-n");
5
- return [
6
- {
7
- ...pluginNode.configs["flat/recommended"],
8
- files: GLOB_JS_TS,
9
- name: "integrations/node/recommended"
10
- },
11
- {
12
- files: GLOB_TS,
13
- name: "integrations/node/typescript-overrides",
14
- rules: {
15
- // TypeScript already validates module resolution
16
- "n/no-missing-import": "off",
17
- "n/no-missing-require": "off"
18
- }
19
- }
20
- ];
21
- });
22
- export {
23
- node
24
- };
25
- //# sourceMappingURL=node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/node.ts"],"sourcesContent":["import { GLOB_JS_TS, GLOB_TS } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault, type PluginWithConfigs } from '../lazy.js'\n\n/**\n * Node.js extension configuration\n * Applies `eslint-plugin-n` recommended rules for Node.js codebases.\n * Module-resolution rules are disabled for TypeScript files where the\n * TypeScript compiler already validates imports.\n */\nexport const node: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('node', async () => {\n const pluginNode = await loadDefault<PluginWithConfigs<'flat/recommended'>>('eslint-plugin-n')\n\n return [\n {\n ...pluginNode.configs['flat/recommended'],\n files: GLOB_JS_TS,\n name: 'integrations/node/recommended'\n },\n {\n files: GLOB_TS,\n name: 'integrations/node/typescript-overrides',\n rules: {\n // TypeScript already validates module resolution\n 'n/no-missing-import': 'off',\n 'n/no-missing-require': 'off'\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,YAAY,eAAe;AAIpC,SAAS,kBAAkB,mBAA2C;AAQ/D,MAAM,OAAuD,iBAAiB,QAAQ,YAAY;AACvG,QAAM,aAAa,MAAM,YAAmD,iBAAiB;AAE7F,SAAO;AAAA,IACL;AAAA,MACE,GAAG,WAAW,QAAQ,kBAAkB;AAAA,MACxC,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,OAAO;AAAA;AAAA,QAEL,uBAAuB;AAAA,QACvB,wBAAwB;AAAA,MAC1B;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,10 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Oxlint extension configuration
5
- * Disables ESLint rules already covered by Oxlint so both linters can run
6
- * side by side without duplicate reports (analogous to the Biome extension)
7
- */
8
- declare const oxlint: () => Promise<TSESLint.FlatConfig.ConfigArray>;
9
-
10
- export { oxlint };
@@ -1,14 +0,0 @@
1
- import { defineLazyConfig, loadDefault } from "../lazy.js";
2
- const oxlint = defineLazyConfig("oxlint", async () => {
3
- const pluginOxlint = await loadDefault("eslint-plugin-oxlint");
4
- return [
5
- ...pluginOxlint.configs["flat/recommended"].map((config) => ({
6
- ...config,
7
- name: `integrations/oxlint${config.name ? `/${config.name}` : ""}`
8
- }))
9
- ];
10
- });
11
- export {
12
- oxlint
13
- };
14
- //# sourceMappingURL=oxlint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/oxlint.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\ninterface OxlintPlugin {\n configs: Record<string, TSESLint.FlatConfig.ConfigArray>\n}\n\n/**\n * Oxlint extension configuration\n * Disables ESLint rules already covered by Oxlint so both linters can run\n * side by side without duplicate reports (analogous to the Biome extension)\n */\nexport const oxlint: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('oxlint', async () => {\n const pluginOxlint = await loadDefault<OxlintPlugin>('eslint-plugin-oxlint')\n\n return [\n ...pluginOxlint.configs['flat/recommended'].map(config => ({\n ...config,\n name: `integrations/oxlint${config.name ? `/${config.name}` : ''}`\n }))\n ]\n})\n"],"mappings":"AAEA,SAAS,kBAAkB,mBAAmB;AAWvC,MAAM,SAAyD,iBAAiB,UAAU,YAAY;AAC3G,QAAM,eAAe,MAAM,YAA0B,sBAAsB;AAE3E,SAAO;AAAA,IACL,GAAG,aAAa,QAAQ,kBAAkB,EAAE,IAAI,aAAW;AAAA,MACzD,GAAG;AAAA,MACH,MAAM,sBAAsB,OAAO,OAAO,IAAI,OAAO,IAAI,KAAK,EAAE;AAAA,IAClE,EAAE;AAAA,EACJ;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Perfectionist ESLint configuration
5
- * Provides rules for sorting and organizing code (imports, exports, object keys, etc.)
6
- */
7
- declare const perfectionist: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { perfectionist };