@santi020k/eslint-config-integrations 3.0.0 → 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 (210) 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 -132
  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 -57
  13. package/dist/index.js +6 -113
  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 +26 -102
  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/astro-doctor.d.ts +0 -5
  29. package/dist/extensions/astro-doctor.js +0 -17
  30. package/dist/extensions/astro-doctor.js.map +0 -1
  31. package/dist/extensions/best-practices.d.ts +0 -16
  32. package/dist/extensions/best-practices.js +0 -27
  33. package/dist/extensions/best-practices.js.map +0 -1
  34. package/dist/extensions/biome.d.ts +0 -9
  35. package/dist/extensions/biome.js +0 -18
  36. package/dist/extensions/biome.js.map +0 -1
  37. package/dist/extensions/boundaries.d.ts +0 -12
  38. package/dist/extensions/boundaries.js +0 -40
  39. package/dist/extensions/boundaries.js.map +0 -1
  40. package/dist/extensions/compat.d.ts +0 -9
  41. package/dist/extensions/compat.js +0 -16
  42. package/dist/extensions/compat.js.map +0 -1
  43. package/dist/extensions/de-morgan.d.ts +0 -9
  44. package/dist/extensions/de-morgan.js +0 -16
  45. package/dist/extensions/de-morgan.js.map +0 -1
  46. package/dist/extensions/depend.d.ts +0 -10
  47. package/dist/extensions/depend.js +0 -16
  48. package/dist/extensions/depend.js.map +0 -1
  49. package/dist/extensions/index.d.ts +0 -18
  50. package/dist/extensions/index.js +0 -35
  51. package/dist/extensions/index.js.map +0 -1
  52. package/dist/extensions/no-only-tests.d.ts +0 -9
  53. package/dist/extensions/no-only-tests.js +0 -21
  54. package/dist/extensions/no-only-tests.js.map +0 -1
  55. package/dist/extensions/node.d.ts +0 -11
  56. package/dist/extensions/node.js +0 -25
  57. package/dist/extensions/node.js.map +0 -1
  58. package/dist/extensions/oxlint.d.ts +0 -10
  59. package/dist/extensions/oxlint.js +0 -12
  60. package/dist/extensions/oxlint.js.map +0 -1
  61. package/dist/extensions/perfectionist.d.ts +0 -9
  62. package/dist/extensions/perfectionist.js +0 -25
  63. package/dist/extensions/perfectionist.js.map +0 -1
  64. package/dist/extensions/regexp.d.ts +0 -10
  65. package/dist/extensions/regexp.js +0 -27
  66. package/dist/extensions/regexp.js.map +0 -1
  67. package/dist/extensions/security.d.ts +0 -9
  68. package/dist/extensions/security.js +0 -21
  69. package/dist/extensions/security.js.map +0 -1
  70. package/dist/extensions/sonarjs.d.ts +0 -5
  71. package/dist/extensions/sonarjs.js +0 -16
  72. package/dist/extensions/sonarjs.js.map +0 -1
  73. package/dist/extensions/unicorn.d.ts +0 -9
  74. package/dist/extensions/unicorn.js +0 -46
  75. package/dist/extensions/unicorn.js.map +0 -1
  76. package/dist/formats/css.d.ts +0 -9
  77. package/dist/formats/css.js +0 -21
  78. package/dist/formats/css.js.map +0 -1
  79. package/dist/formats/graphql.d.ts +0 -9
  80. package/dist/formats/graphql.js +0 -41
  81. package/dist/formats/graphql.js.map +0 -1
  82. package/dist/formats/html.d.ts +0 -9
  83. package/dist/formats/html.js +0 -29
  84. package/dist/formats/html.js.map +0 -1
  85. package/dist/formats/index.d.ts +0 -10
  86. package/dist/formats/index.js +0 -21
  87. package/dist/formats/index.js.map +0 -1
  88. package/dist/formats/jsonc.d.ts +0 -9
  89. package/dist/formats/jsonc.js +0 -73
  90. package/dist/formats/jsonc.js.map +0 -1
  91. package/dist/formats/markdown.d.ts +0 -9
  92. package/dist/formats/markdown.js +0 -73
  93. package/dist/formats/markdown.js.map +0 -1
  94. package/dist/formats/mdx.d.ts +0 -9
  95. package/dist/formats/mdx.js +0 -55
  96. package/dist/formats/mdx.js.map +0 -1
  97. package/dist/formats/package-json.d.ts +0 -9
  98. package/dist/formats/package-json.js +0 -16
  99. package/dist/formats/package-json.js.map +0 -1
  100. package/dist/formats/toml.d.ts +0 -9
  101. package/dist/formats/toml.js +0 -12
  102. package/dist/formats/toml.js.map +0 -1
  103. package/dist/formats/yaml.d.ts +0 -9
  104. package/dist/formats/yaml.js +0 -28
  105. package/dist/formats/yaml.js.map +0 -1
  106. package/dist/lazy.d.ts +0 -24
  107. package/dist/lazy.js +0 -46
  108. package/dist/lazy.js.map +0 -1
  109. package/dist/libraries/ai.d.ts +0 -8
  110. package/dist/libraries/ai.js +0 -29
  111. package/dist/libraries/ai.js.map +0 -1
  112. package/dist/libraries/autogen.d.ts +0 -8
  113. package/dist/libraries/autogen.js +0 -24
  114. package/dist/libraries/autogen.js.map +0 -1
  115. package/dist/libraries/google-genai.d.ts +0 -8
  116. package/dist/libraries/google-genai.js +0 -30
  117. package/dist/libraries/google-genai.js.map +0 -1
  118. package/dist/libraries/i18next.d.ts +0 -9
  119. package/dist/libraries/i18next.js +0 -29
  120. package/dist/libraries/i18next.js.map +0 -1
  121. package/dist/libraries/index.d.ts +0 -17
  122. package/dist/libraries/index.js +0 -38
  123. package/dist/libraries/index.js.map +0 -1
  124. package/dist/libraries/langchain.d.ts +0 -8
  125. package/dist/libraries/langchain.js +0 -30
  126. package/dist/libraries/langchain.js.map +0 -1
  127. package/dist/libraries/llamaindex.d.ts +0 -8
  128. package/dist/libraries/llamaindex.js +0 -30
  129. package/dist/libraries/llamaindex.js.map +0 -1
  130. package/dist/libraries/mastra.d.ts +0 -8
  131. package/dist/libraries/mastra.js +0 -30
  132. package/dist/libraries/mastra.js.map +0 -1
  133. package/dist/libraries/mcp.d.ts +0 -8
  134. package/dist/libraries/mcp.js +0 -33
  135. package/dist/libraries/mcp.js.map +0 -1
  136. package/dist/libraries/openai-agents.d.ts +0 -8
  137. package/dist/libraries/openai-agents.js +0 -32
  138. package/dist/libraries/openai-agents.js.map +0 -1
  139. package/dist/libraries/orm.d.ts +0 -31
  140. package/dist/libraries/orm.js +0 -104
  141. package/dist/libraries/orm.js.map +0 -1
  142. package/dist/libraries/stencil.d.ts +0 -9
  143. package/dist/libraries/stencil.js +0 -49
  144. package/dist/libraries/stencil.js.map +0 -1
  145. package/dist/libraries/storybook.d.ts +0 -9
  146. package/dist/libraries/storybook.js +0 -11
  147. package/dist/libraries/storybook.js.map +0 -1
  148. package/dist/libraries/tailwind.d.ts +0 -9
  149. package/dist/libraries/tailwind.js +0 -21
  150. package/dist/libraries/tailwind.js.map +0 -1
  151. package/dist/libraries/tanstack.d.ts +0 -12
  152. package/dist/libraries/tanstack.js +0 -37
  153. package/dist/libraries/tanstack.js.map +0 -1
  154. package/dist/libraries/turbo.d.ts +0 -9
  155. package/dist/libraries/turbo.js +0 -25
  156. package/dist/libraries/turbo.js.map +0 -1
  157. package/dist/libraries/zod.d.ts +0 -9
  158. package/dist/libraries/zod.js +0 -21
  159. package/dist/libraries/zod.js.map +0 -1
  160. package/dist/testing/cypress.d.ts +0 -9
  161. package/dist/testing/cypress.js +0 -26
  162. package/dist/testing/cypress.js.map +0 -1
  163. package/dist/testing/index.d.ts +0 -7
  164. package/dist/testing/index.js +0 -15
  165. package/dist/testing/index.js.map +0 -1
  166. package/dist/testing/jest-dom.d.ts +0 -9
  167. package/dist/testing/jest-dom.js +0 -21
  168. package/dist/testing/jest-dom.js.map +0 -1
  169. package/dist/testing/jest.d.ts +0 -9
  170. package/dist/testing/jest.js +0 -24
  171. package/dist/testing/jest.js.map +0 -1
  172. package/dist/testing/playwright.d.ts +0 -9
  173. package/dist/testing/playwright.js +0 -24
  174. package/dist/testing/playwright.js.map +0 -1
  175. package/dist/testing/testing-library.d.ts +0 -9
  176. package/dist/testing/testing-library.js +0 -34
  177. package/dist/testing/testing-library.js.map +0 -1
  178. package/dist/testing/vitest.d.ts +0 -9
  179. package/dist/testing/vitest.js +0 -57
  180. package/dist/testing/vitest.js.map +0 -1
  181. package/dist/tools/command.d.ts +0 -9
  182. package/dist/tools/command.js +0 -16
  183. package/dist/tools/command.js.map +0 -1
  184. package/dist/tools/cspell.d.ts +0 -9
  185. package/dist/tools/cspell.js +0 -26
  186. package/dist/tools/cspell.js.map +0 -1
  187. package/dist/tools/docker.d.ts +0 -10
  188. package/dist/tools/docker.js +0 -21
  189. package/dist/tools/docker.js.map +0 -1
  190. package/dist/tools/github-actions.d.ts +0 -10
  191. package/dist/tools/github-actions.js +0 -16
  192. package/dist/tools/github-actions.js.map +0 -1
  193. package/dist/tools/index.d.ts +0 -10
  194. package/dist/tools/index.js +0 -21
  195. package/dist/tools/index.js.map +0 -1
  196. package/dist/tools/jsdoc.d.ts +0 -9
  197. package/dist/tools/jsdoc.js +0 -36
  198. package/dist/tools/jsdoc.js.map +0 -1
  199. package/dist/tools/nx.d.ts +0 -9
  200. package/dist/tools/nx.js +0 -18
  201. package/dist/tools/nx.js.map +0 -1
  202. package/dist/tools/pnpm.d.ts +0 -10
  203. package/dist/tools/pnpm.js +0 -12
  204. package/dist/tools/pnpm.js.map +0 -1
  205. package/dist/tools/prettier.d.ts +0 -9
  206. package/dist/tools/prettier.js +0 -14
  207. package/dist/tools/prettier.js.map +0 -1
  208. package/dist/tools/swagger.d.ts +0 -9
  209. package/dist/tools/swagger.js +0 -22
  210. 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": "3.0.0",
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,129 +17,57 @@
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.9",
46
- "@eslint/compat": "^2.1.0",
47
- "@eslint/css": "^1.4.0",
48
- "@eslint/markdown": "^8.0.3",
49
- "@graphql-eslint/eslint-plugin": "^4.4.0",
50
- "@html-eslint/eslint-plugin": "^0.64.0",
51
- "@html-eslint/parser": "^0.64.0",
52
- "@stencil-community/eslint-plugin": "^0.10.0",
53
- "@tanstack/eslint-plugin-query": "^5.101.4",
54
- "@tanstack/eslint-plugin-router": "^1.162.0",
55
- "@typescript-eslint/utils": "^8.65.0",
56
- "@vitest/eslint-plugin": "^1.6.24",
57
- "eslint-config-biome": "^2.1.3",
58
- "eslint-config-prettier": "^10.1.8",
59
- "eslint-plugin-better-tailwindcss": "^4.7.0",
60
- "eslint-plugin-command": "^3.5.3",
61
- "eslint-plugin-compat": "^7.0.2",
62
- "eslint-plugin-cypress": "^6.4.3",
63
- "eslint-plugin-de-morgan": "^2.1.3",
64
- "eslint-plugin-depend": "^1.5.0",
65
- "eslint-plugin-i18next": "^6.1.5",
66
- "eslint-plugin-jest": "^29.16.0",
67
- "eslint-plugin-jest-dom": "^5.5.0",
68
- "eslint-plugin-jsdoc": "^63.2.2",
69
- "eslint-plugin-jsonc": "^3.3.0",
70
- "eslint-plugin-jsx-a11y": "^6.10.2",
71
- "eslint-plugin-mdx": "^3.8.1",
72
- "eslint-plugin-n": "^18.2.2",
73
- "eslint-plugin-no-only-tests": "^3.4.0",
74
- "eslint-plugin-oxlint": "^1.75.0",
75
- "eslint-plugin-package-json": "^1.6.1",
76
- "eslint-plugin-perfectionist": "^5.10.0",
77
- "eslint-plugin-playwright": "^2.10.5",
78
- "eslint-plugin-pnpm": "^1.7.0",
79
- "eslint-plugin-regexp": "^3.1.1",
80
- "eslint-plugin-security": "^4.0.1",
81
- "eslint-plugin-sonarjs": "^4.2.0",
82
- "eslint-plugin-storybook": "^10.5.4",
83
- "eslint-plugin-testing-library": "^7.16.2",
84
- "eslint-plugin-toml": "^1.5.0",
85
- "eslint-plugin-tsdoc": "^0.5.2",
86
- "eslint-plugin-turbo": "^2.10.6",
87
- "eslint-plugin-unicorn": "^72.0.0",
88
- "eslint-plugin-vercel-ai-security": "^1.3.7",
89
- "eslint-plugin-vuejs-accessibility": "^2.5.0",
90
- "eslint-plugin-yml": "^3.6.0",
91
- "eslint-plugin-zod": "^4.8.0",
92
- "globals": "^17.7.0",
93
- "typescript-eslint": "^8.65.0",
94
- "@santi020k/eslint-config-core": "3.0.0"
95
- },
96
- "optionalDependencies": {
97
- "@santi020k/eslint-plugin-astro-doctor": "^1.0.4"
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"
98
52
  },
99
53
  "devDependencies": {
100
- "@types/eslint-plugin-jsx-a11y": "^6.10.1",
101
- "@types/node": "^26.1.1",
102
- "eslint": "^10.0.0",
103
- "graphql": "^16.14.2",
104
- "oxlint": "^1.75.0",
54
+ "@types/node": "^26.1.2",
55
+ "eslint": "^10.8.0",
105
56
  "publint": "^0.3.22",
106
- "storybook": "^10.5.4",
107
- "tailwindcss": "^4.3.3",
108
57
  "tsup": "^8.5.1",
109
- "typescript": "^6.0.2",
110
- "zod": "^4.4.3"
58
+ "typescript": "^6.0.3"
111
59
  },
112
60
  "peerDependencies": {
113
61
  "eslint": "^10.0.0",
114
- "graphql": "^16.0.0",
115
- "oxlint": "^1.0.0",
116
- "storybook": "^10.0.0",
117
- "tailwindcss": "^3.3.0 || ^4.1.0",
118
- "typescript": ">=5.0.0",
119
- "zod": "^4.0.0"
62
+ "typescript": ">=5.0.0"
120
63
  },
121
64
  "peerDependenciesMeta": {
122
- "graphql": {
123
- "optional": true
124
- },
125
- "oxlint": {
126
- "optional": true
127
- },
128
- "storybook": {
129
- "optional": true
130
- },
131
- "tailwindcss": {
132
- "optional": true
133
- },
134
65
  "typescript": {
135
66
  "optional": true
136
- },
137
- "zod": {
138
- "optional": true
139
67
  }
140
68
  },
141
69
  "engines": {
142
- "node": "^20.19.0 || >=22.18.0"
70
+ "node": ">=22.19.0"
143
71
  },
144
72
  "repository": {
145
73
  "type": "git",
@@ -147,10 +75,6 @@
147
75
  "directory": "packages/integrations"
148
76
  },
149
77
  "homepage": "https://eslint.santi020k.com/packages/integrations",
150
- "bugs": {
151
- "url": "https://github.com/santi020k/eslint-config-basic/issues"
152
- },
153
- "author": "santi020k",
154
78
  "license": "MIT",
155
79
  "scripts": {
156
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,5 +0,0 @@
1
- import { FlatConfigArray } from '@santi020k/eslint-config-core';
2
-
3
- declare const astroDoctor: () => Promise<FlatConfigArray>;
4
-
5
- export { astroDoctor };
@@ -1,17 +0,0 @@
1
- import { GLOB_ASTRO } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig } from "../lazy.js";
3
- const astroDoctor = defineLazyConfig("astro-doctor", async () => {
4
- const { default: astroDoctorPlugin, RECOMMENDED_RULES } = await import("@santi020k/eslint-plugin-astro-doctor");
5
- return [{
6
- files: GLOB_ASTRO,
7
- name: "eslint-config-integrations/astro-doctor",
8
- plugins: {
9
- "astro-doctor": astroDoctorPlugin
10
- },
11
- rules: RECOMMENDED_RULES
12
- }];
13
- });
14
- export {
15
- astroDoctor
16
- };
17
- //# sourceMappingURL=astro-doctor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/astro-doctor.ts"],"sourcesContent":["import { type FlatConfigArray, GLOB_ASTRO } from '@santi020k/eslint-config-core'\n\nimport { defineLazyConfig } from '../lazy.js'\n\nexport const astroDoctor: () => Promise<FlatConfigArray> = defineLazyConfig('astro-doctor', async () => {\n const { default: astroDoctorPlugin, RECOMMENDED_RULES } = await import('@santi020k/eslint-plugin-astro-doctor')\n\n return [{\n files: GLOB_ASTRO,\n name: 'eslint-config-integrations/astro-doctor',\n plugins: {\n 'astro-doctor': astroDoctorPlugin\n },\n rules: RECOMMENDED_RULES\n }]\n})\n"],"mappings":"AAAA,SAA+B,kBAAkB;AAEjD,SAAS,wBAAwB;AAE1B,MAAM,cAA8C,iBAAiB,gBAAgB,YAAY;AACtG,QAAM,EAAE,SAAS,mBAAmB,kBAAkB,IAAI,MAAM,OAAO,uCAAuC;AAE9G,SAAO,CAAC;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,MACP,gBAAgB;AAAA,IAClB;AAAA,IACA,OAAO;AAAA,EACT,CAAC;AACH,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,18 +0,0 @@
1
- export { a11y } from './a11y.js';
2
- export { astroDoctor } from './astro-doctor.js';
3
- export { bestPractices } from './best-practices.js';
4
- export { biome } from './biome.js';
5
- export { boundaries } from './boundaries.js';
6
- export { compat } from './compat.js';
7
- export { deMorgan } from './de-morgan.js';
8
- export { depend } from './depend.js';
9
- export { noOnlyTests } from './no-only-tests.js';
10
- export { node } from './node.js';
11
- export { oxlint } from './oxlint.js';
12
- export { perfectionist } from './perfectionist.js';
13
- export { regexp } from './regexp.js';
14
- export { security } from './security.js';
15
- export { sonarjs } from './sonarjs.js';
16
- export { unicorn } from './unicorn.js';
17
- import '@typescript-eslint/utils';
18
- import '@santi020k/eslint-config-core';
@@ -1,35 +0,0 @@
1
- import { a11y } from "./a11y.js";
2
- import { astroDoctor } from "./astro-doctor.js";
3
- import { bestPractices } from "./best-practices.js";
4
- import { biome } from "./biome.js";
5
- import { boundaries } from "./boundaries.js";
6
- import { compat } from "./compat.js";
7
- import { deMorgan } from "./de-morgan.js";
8
- import { depend } from "./depend.js";
9
- import { noOnlyTests } from "./no-only-tests.js";
10
- import { node } from "./node.js";
11
- import { oxlint } from "./oxlint.js";
12
- import { perfectionist } from "./perfectionist.js";
13
- import { regexp } from "./regexp.js";
14
- import { security } from "./security.js";
15
- import { sonarjs } from "./sonarjs.js";
16
- import { unicorn } from "./unicorn.js";
17
- export {
18
- a11y,
19
- astroDoctor,
20
- bestPractices,
21
- biome,
22
- boundaries,
23
- compat,
24
- deMorgan,
25
- depend,
26
- noOnlyTests,
27
- node,
28
- oxlint,
29
- perfectionist,
30
- regexp,
31
- security,
32
- sonarjs,
33
- unicorn
34
- };
35
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/extensions/index.ts"],"sourcesContent":["export { a11y } from './a11y.js'\nexport { astroDoctor } from './astro-doctor.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,mBAAmB;AAC5B,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,kBAAmC,kBAAkB;AAMvD,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