@santi020k/eslint-config-integrations 3.0.0 → 3.1.1

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 +486 -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 +28 -104
  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
@@ -1,21 +0,0 @@
1
- import { GLOB_JS_TS } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const zod = defineLazyConfig("zod", async () => {
4
- const pluginZod = await loadDefault("eslint-plugin-zod");
5
- return [
6
- {
7
- files: GLOB_JS_TS,
8
- name: "eslint-config-integrations/zod",
9
- plugins: {
10
- zod: pluginZod
11
- },
12
- rules: {
13
- ...pluginZod.configs.recommended.rules
14
- }
15
- }
16
- ];
17
- });
18
- export {
19
- zod
20
- };
21
- //# sourceMappingURL=zod.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/libraries/zod.ts"],"sourcesContent":["import { GLOB_JS_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 * Zod ESLint configuration\n * Provides validation rules for Zod schemas\n */\nexport const zod: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('zod', async () => {\n const pluginZod = await loadDefault<PluginWithConfigs<'recommended'>>('eslint-plugin-zod')\n\n return [\n {\n files: GLOB_JS_TS,\n name: 'eslint-config-integrations/zod',\n plugins: {\n zod: pluginZod\n },\n rules: {\n ...pluginZod.configs.recommended.rules\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,kBAAkB;AAI3B,SAAS,kBAAkB,mBAA2C;AAM/D,MAAM,MAAsD,iBAAiB,OAAO,YAAY;AACrG,QAAM,YAAY,MAAM,YAA8C,mBAAmB;AAEzF,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,QACP,KAAK;AAAA,MACP;AAAA,MACA,OAAO;AAAA,QACL,GAAG,UAAU,QAAQ,YAAY;AAAA,MACnC;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Cypress ESLint configuration
5
- * Provides linting rules for Cypress end-to-end test files
6
- */
7
- declare const cypress: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { cypress };
@@ -1,26 +0,0 @@
1
- import { fixupPluginRules } from "@eslint/compat";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const cypress = defineLazyConfig("cypress", async () => {
4
- const pluginCypress = await loadDefault("eslint-plugin-cypress");
5
- return [
6
- {
7
- files: [
8
- "**/cypress/**/*.{js,ts,jsx,tsx}",
9
- "**/*.cy.{js,ts,jsx,tsx}"
10
- ],
11
- name: "integrations/cypress",
12
- plugins: {
13
- cypress: fixupPluginRules(
14
- pluginCypress
15
- )
16
- },
17
- rules: {
18
- ...pluginCypress.configs.recommended.rules
19
- }
20
- }
21
- ];
22
- });
23
- export {
24
- cypress
25
- };
26
- //# sourceMappingURL=cypress.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/testing/cypress.ts"],"sourcesContent":["import { fixupPluginRules } from '@eslint/compat'\nimport type { TSESLint } from '@typescript-eslint/utils'\nimport type PluginCypress from 'eslint-plugin-cypress'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\n/**\n * Cypress ESLint configuration\n * Provides linting rules for Cypress end-to-end test files\n */\nexport const cypress: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('cypress', async () => {\n const pluginCypress = await loadDefault<typeof PluginCypress>('eslint-plugin-cypress')\n\n return [\n {\n files: [\n '**/cypress/**/*.{js,ts,jsx,tsx}',\n '**/*.cy.{js,ts,jsx,tsx}'\n ],\n name: 'integrations/cypress',\n plugins: {\n cypress: fixupPluginRules(\n pluginCypress\n )\n },\n rules: {\n ...pluginCypress.configs.recommended.rules\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,wBAAwB;AAIjC,SAAS,kBAAkB,mBAAmB;AAMvC,MAAM,UAA0D,iBAAiB,WAAW,YAAY;AAC7G,QAAM,gBAAgB,MAAM,YAAkC,uBAAuB;AAErF,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,QACL;AAAA,QACA;AAAA,MACF;AAAA,MACA,MAAM;AAAA,MACN,SAAS;AAAA,QACP,SAAS;AAAA,UACP;AAAA,QACF;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACL,GAAG,cAAc,QAAQ,YAAY;AAAA,MACvC;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,7 +0,0 @@
1
- export { cypress } from './cypress.js';
2
- export { jest } from './jest.js';
3
- export { jestDom } from './jest-dom.js';
4
- export { playwright } from './playwright.js';
5
- export { testingLibrary } from './testing-library.js';
6
- export { vitest } from './vitest.js';
7
- import '@typescript-eslint/utils';
@@ -1,15 +0,0 @@
1
- import { cypress } from "./cypress.js";
2
- import { jest } from "./jest.js";
3
- import { jestDom } from "./jest-dom.js";
4
- import { playwright } from "./playwright.js";
5
- import { testingLibrary } from "./testing-library.js";
6
- import { vitest } from "./vitest.js";
7
- export {
8
- cypress,
9
- jest,
10
- jestDom,
11
- playwright,
12
- testingLibrary,
13
- vitest
14
- };
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/testing/index.ts"],"sourcesContent":["export { cypress } from './cypress.js'\nexport { jest } from './jest.js'\nexport { jestDom } from './jest-dom.js'\nexport { playwright } from './playwright.js'\nexport { testingLibrary } from './testing-library.js'\nexport { vitest } from './vitest.js'\n"],"mappings":"AAAA,SAAS,eAAe;AACxB,SAAS,YAAY;AACrB,SAAS,eAAe;AACxB,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,cAAc;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Jest DOM ESLint configuration
5
- * Provides rules for \@testing-library/jest-dom
6
- */
7
- declare const jestDom: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { jestDom };
@@ -1,21 +0,0 @@
1
- import { GLOB_JS_TS } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const jestDom = defineLazyConfig("jestDom", async () => {
4
- const pluginJestDom = await loadDefault("eslint-plugin-jest-dom");
5
- return [
6
- {
7
- files: GLOB_JS_TS,
8
- name: "eslint-config-integrations/jest-dom",
9
- plugins: {
10
- "jest-dom": pluginJestDom
11
- },
12
- rules: {
13
- ...pluginJestDom.configs.recommended.rules
14
- }
15
- }
16
- ];
17
- });
18
- export {
19
- jestDom
20
- };
21
- //# sourceMappingURL=jest-dom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/testing/jest-dom.ts"],"sourcesContent":["import { GLOB_JS_TS } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\nimport type PluginJestDom from 'eslint-plugin-jest-dom'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\n/**\n * Jest DOM ESLint configuration\n * Provides rules for \\@testing-library/jest-dom\n */\nexport const jestDom: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('jestDom', async () => {\n const pluginJestDom = await loadDefault<typeof PluginJestDom>('eslint-plugin-jest-dom')\n\n return [\n {\n files: GLOB_JS_TS,\n name: 'eslint-config-integrations/jest-dom',\n plugins: {\n 'jest-dom': pluginJestDom\n },\n rules: {\n ...pluginJestDom.configs.recommended.rules\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,kBAAkB;AAK3B,SAAS,kBAAkB,mBAAmB;AAMvC,MAAM,UAA0D,iBAAiB,WAAW,YAAY;AAC7G,QAAM,gBAAgB,MAAM,YAAkC,wBAAwB;AAEtF,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,QACP,YAAY;AAAA,MACd;AAAA,MACA,OAAO;AAAA,QACL,GAAG,cAAc,QAAQ,YAAY;AAAA,MACvC;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Jest ESLint configuration
5
- * Provides linting rules for Jest test files
6
- */
7
- declare const jest: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { jest };
@@ -1,24 +0,0 @@
1
- import { defineLazyConfig, loadDefault } from "../lazy.js";
2
- const jest = defineLazyConfig("jest", async () => {
3
- const pluginJest = await loadDefault("eslint-plugin-jest");
4
- return [
5
- {
6
- files: [
7
- "**/*.test.{js,ts,jsx,tsx}",
8
- "**/*.spec.{js,ts,jsx,tsx}",
9
- "**/__tests__/**/*.{js,ts,jsx,tsx}"
10
- ],
11
- name: "integrations/jest",
12
- plugins: {
13
- jest: pluginJest
14
- },
15
- rules: {
16
- ...pluginJest.configs["flat/recommended"].rules
17
- }
18
- }
19
- ];
20
- });
21
- export {
22
- jest
23
- };
24
- //# sourceMappingURL=jest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/testing/jest.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils'\nimport type PluginJest from 'eslint-plugin-jest'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\n/**\n * Jest ESLint configuration\n * Provides linting rules for Jest test files\n */\nexport const jest: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('jest', async () => {\n const pluginJest = await loadDefault<typeof PluginJest>('eslint-plugin-jest')\n\n return [\n {\n files: [\n '**/*.test.{js,ts,jsx,tsx}',\n '**/*.spec.{js,ts,jsx,tsx}',\n '**/__tests__/**/*.{js,ts,jsx,tsx}'\n ],\n name: 'integrations/jest',\n plugins: {\n jest: pluginJest\n },\n rules: {\n ...pluginJest.configs['flat/recommended'].rules\n }\n }\n ]\n})\n"],"mappings":"AAGA,SAAS,kBAAkB,mBAAmB;AAMvC,MAAM,OAAuD,iBAAiB,QAAQ,YAAY;AACvG,QAAM,aAAa,MAAM,YAA+B,oBAAoB;AAE5E,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,MAAM;AAAA,MACN,SAAS;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,OAAO;AAAA,QACL,GAAG,WAAW,QAAQ,kBAAkB,EAAE;AAAA,MAC5C;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Playwright ESLint configuration
5
- * Provides linting rules for Playwright end-to-end test files
6
- */
7
- declare const playwright: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { playwright };
@@ -1,24 +0,0 @@
1
- import { defineLazyConfig, loadDefault } from "../lazy.js";
2
- const playwright = defineLazyConfig("playwright", async () => {
3
- const pluginPlaywright = await loadDefault("eslint-plugin-playwright");
4
- return [
5
- {
6
- files: [
7
- "**/e2e/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
8
- "**/tests/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
9
- "**/tests/e2e/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
10
- "**/*.e2e.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
11
- "**/*.e2e.spec.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
12
- "**/*.playwright.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
13
- "**/*.playwright.spec.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
14
- "**/playwright/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"
15
- ],
16
- name: "integrations/playwright",
17
- ...pluginPlaywright.configs["flat/recommended"]
18
- }
19
- ];
20
- });
21
- export {
22
- playwright
23
- };
24
- //# sourceMappingURL=playwright.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/testing/playwright.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault, type PluginWithConfigs } from '../lazy.js'\n\n/**\n * Playwright ESLint configuration\n * Provides linting rules for Playwright end-to-end test files\n */\nexport const playwright: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('playwright', async () => {\n const pluginPlaywright = await loadDefault<PluginWithConfigs<'flat/recommended'>>('eslint-plugin-playwright')\n\n return [\n {\n files: [\n '**/e2e/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',\n '**/tests/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',\n '**/tests/e2e/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',\n '**/*.e2e.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',\n '**/*.e2e.spec.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',\n '**/*.playwright.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',\n '**/*.playwright.spec.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',\n '**/playwright/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'\n ],\n name: 'integrations/playwright',\n ...pluginPlaywright.configs['flat/recommended']\n }\n ]\n})\n"],"mappings":"AAEA,SAAS,kBAAkB,mBAA2C;AAM/D,MAAM,aAA6D,iBAAiB,cAAc,YAAY;AACnH,QAAM,mBAAmB,MAAM,YAAmD,0BAA0B;AAE5G,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,MAAM;AAAA,MACN,GAAG,iBAAiB,QAAQ,kBAAkB;AAAA,IAChD;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Testing Library ESLint configuration
5
- * Provides linting rules for Testing Library usage in tests
6
- */
7
- declare const testingLibrary: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { testingLibrary };
@@ -1,34 +0,0 @@
1
- import { fixupPluginRules } from "@eslint/compat";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const testingLibrary = defineLazyConfig("testing-library", async () => {
4
- const pluginTestingLibrary = await loadDefault("eslint-plugin-testing-library");
5
- return [
6
- {
7
- files: [
8
- "**/*.test.{js,ts,jsx,tsx}",
9
- "**/*.spec.{js,ts,jsx,tsx}",
10
- "**/__tests__/**/*.{js,ts,jsx,tsx}"
11
- ],
12
- name: "integrations/testing-library",
13
- plugins: {
14
- "testing-library": fixupPluginRules(
15
- pluginTestingLibrary
16
- )
17
- },
18
- rules: {
19
- // Testing Library recommended rules
20
- "testing-library/await-async-queries": "error",
21
- "testing-library/no-await-sync-queries": "error",
22
- "testing-library/no-debugging-utils": "warn",
23
- "testing-library/no-dom-import": "error",
24
- "testing-library/no-unnecessary-act": "warn",
25
- "testing-library/prefer-find-by": "warn",
26
- "testing-library/prefer-screen-queries": "error"
27
- }
28
- }
29
- ];
30
- });
31
- export {
32
- testingLibrary
33
- };
34
- //# sourceMappingURL=testing-library.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/testing/testing-library.ts"],"sourcesContent":["import { fixupPluginRules } from '@eslint/compat'\nimport type { TSESLint } from '@typescript-eslint/utils'\nimport type PluginTestingLibrary from 'eslint-plugin-testing-library'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\n/**\n * Testing Library ESLint configuration\n * Provides linting rules for Testing Library usage in tests\n */\nexport const testingLibrary: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('testing-library', async () => {\n const pluginTestingLibrary = await loadDefault<typeof PluginTestingLibrary>('eslint-plugin-testing-library')\n\n return [\n {\n files: [\n '**/*.test.{js,ts,jsx,tsx}',\n '**/*.spec.{js,ts,jsx,tsx}',\n '**/__tests__/**/*.{js,ts,jsx,tsx}'\n ],\n name: 'integrations/testing-library',\n plugins: {\n 'testing-library': fixupPluginRules(\n pluginTestingLibrary\n )\n },\n rules: {\n // Testing Library recommended rules\n 'testing-library/await-async-queries': 'error',\n 'testing-library/no-await-sync-queries': 'error',\n 'testing-library/no-debugging-utils': 'warn',\n 'testing-library/no-dom-import': 'error',\n 'testing-library/no-unnecessary-act': 'warn',\n 'testing-library/prefer-find-by': 'warn',\n 'testing-library/prefer-screen-queries': 'error'\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,wBAAwB;AAIjC,SAAS,kBAAkB,mBAAmB;AAMvC,MAAM,iBAAiE,iBAAiB,mBAAmB,YAAY;AAC5H,QAAM,uBAAuB,MAAM,YAAyC,+BAA+B;AAE3G,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,MAAM;AAAA,MACN,SAAS;AAAA,QACP,mBAAmB;AAAA,UACjB;AAAA,QACF;AAAA,MACF;AAAA,MACA,OAAO;AAAA;AAAA,QAEL,uCAAuC;AAAA,QACvC,yCAAyC;AAAA,QACzC,sCAAsC;AAAA,QACtC,iCAAiC;AAAA,QACjC,sCAAsC;AAAA,QACtC,kCAAkC;AAAA,QAClC,yCAAyC;AAAA,MAC3C;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Vitest ESLint configuration
5
- * Provides linting rules for Vitest test files with best practices
6
- */
7
- declare const vitest: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { vitest };
@@ -1,57 +0,0 @@
1
- import { defineLazyConfig, loadDefault } from "../lazy.js";
2
- const vitest = defineLazyConfig("vitest", async () => {
3
- const globals = await loadDefault("globals");
4
- const pluginVitest = await loadDefault("@vitest/eslint-plugin");
5
- return [
6
- {
7
- files: [
8
- "tests/**/*.{js,ts,jsx,tsx}",
9
- "**/__tests__/**/*.{js,ts,jsx,tsx}",
10
- "**/__mocks__/**/*.{js,ts,jsx,tsx}",
11
- "**/test/**/*.{js,ts,jsx,tsx}",
12
- "**/spec/**/*.{js,ts,jsx,tsx}",
13
- "**/__spec__/**/*.{js,ts,jsx,tsx}",
14
- "**/*.test.{js,ts,jsx,tsx}",
15
- "**/*.spec.{js,ts,jsx,tsx}",
16
- "vitest.config.{js,ts}",
17
- "vitest.setup.{js,ts}",
18
- "vitest.workspace.{js,ts}"
19
- ],
20
- languageOptions: {
21
- globals: {
22
- ...globals.node
23
- }
24
- },
25
- name: "integrations/vitest",
26
- plugins: {
27
- vitest: pluginVitest
28
- },
29
- rules: {
30
- // Vitest recommended rules
31
- ...pluginVitest.configs.recommended.rules,
32
- "@stylistic/padding-line-between-statements": "off",
33
- // Disable some rules that conflict with test patterns
34
- "@typescript-eslint/no-explicit-any": "off",
35
- "vitest/consistent-test-it": ["warn", { fn: "test" }],
36
- "vitest/expect-expect": [
37
- "error",
38
- {
39
- assertFunctionNames: ["expect", "assert", "should"]
40
- }
41
- ],
42
- // Best practice rules for testing
43
- "vitest/max-nested-describe": ["error", { max: 3 }],
44
- "vitest/no-disabled-tests": "warn",
45
- "vitest/no-focused-tests": "error",
46
- "vitest/no-identical-title": "error",
47
- "vitest/prefer-to-be": "warn",
48
- "vitest/prefer-to-have-length": "warn",
49
- "vitest/valid-expect": "error"
50
- }
51
- }
52
- ];
53
- });
54
- export {
55
- vitest
56
- };
57
- //# sourceMappingURL=vitest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/testing/vitest.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils'\nimport type Globals from 'globals'\n\nimport { defineLazyConfig, loadDefault, type PluginWithConfigs } from '../lazy.js'\n\n/**\n * Vitest ESLint configuration\n * Provides linting rules for Vitest test files with best practices\n */\nexport const vitest: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('vitest', async () => {\n const globals = await loadDefault<typeof Globals>('globals')\n const pluginVitest = await loadDefault<PluginWithConfigs<'recommended'>>('@vitest/eslint-plugin')\n\n return [\n {\n files: [\n 'tests/**/*.{js,ts,jsx,tsx}',\n '**/__tests__/**/*.{js,ts,jsx,tsx}',\n '**/__mocks__/**/*.{js,ts,jsx,tsx}',\n '**/test/**/*.{js,ts,jsx,tsx}',\n '**/spec/**/*.{js,ts,jsx,tsx}',\n '**/__spec__/**/*.{js,ts,jsx,tsx}',\n '**/*.test.{js,ts,jsx,tsx}',\n '**/*.spec.{js,ts,jsx,tsx}',\n 'vitest.config.{js,ts}',\n 'vitest.setup.{js,ts}',\n 'vitest.workspace.{js,ts}'\n ],\n languageOptions: {\n globals: {\n ...globals.node\n }\n },\n name: 'integrations/vitest',\n plugins: {\n vitest: pluginVitest\n },\n rules: {\n // Vitest recommended rules\n ...pluginVitest.configs.recommended.rules,\n\n '@stylistic/padding-line-between-statements': 'off',\n // Disable some rules that conflict with test patterns\n '@typescript-eslint/no-explicit-any': 'off',\n 'vitest/consistent-test-it': ['warn', { fn: 'test' }],\n 'vitest/expect-expect': [\n 'error',\n {\n assertFunctionNames: ['expect', 'assert', 'should']\n }\n ],\n // Best practice rules for testing\n 'vitest/max-nested-describe': ['error', { max: 3 }],\n 'vitest/no-disabled-tests': 'warn',\n 'vitest/no-focused-tests': 'error',\n 'vitest/no-identical-title': 'error',\n 'vitest/prefer-to-be': 'warn',\n 'vitest/prefer-to-have-length': 'warn',\n 'vitest/valid-expect': 'error'\n }\n }\n ]\n})\n"],"mappings":"AAGA,SAAS,kBAAkB,mBAA2C;AAM/D,MAAM,SAAyD,iBAAiB,UAAU,YAAY;AAC3G,QAAM,UAAU,MAAM,YAA4B,SAAS;AAC3D,QAAM,eAAe,MAAM,YAA8C,uBAAuB;AAEhG,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,iBAAiB;AAAA,QACf,SAAS;AAAA,UACP,GAAG,QAAQ;AAAA,QACb;AAAA,MACF;AAAA,MACA,MAAM;AAAA,MACN,SAAS;AAAA,QACP,QAAQ;AAAA,MACV;AAAA,MACA,OAAO;AAAA;AAAA,QAEL,GAAG,aAAa,QAAQ,YAAY;AAAA,QAEpC,8CAA8C;AAAA;AAAA,QAE9C,sCAAsC;AAAA,QACtC,6BAA6B,CAAC,QAAQ,EAAE,IAAI,OAAO,CAAC;AAAA,QACpD,wBAAwB;AAAA,UACtB;AAAA,UACA;AAAA,YACE,qBAAqB,CAAC,UAAU,UAAU,QAAQ;AAAA,UACpD;AAAA,QACF;AAAA;AAAA,QAEA,8BAA8B,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC;AAAA,QAClD,4BAA4B;AAAA,QAC5B,2BAA2B;AAAA,QAC3B,6BAA6B;AAAA,QAC7B,uBAAuB;AAAA,QACvB,gCAAgC;AAAA,QAChC,uBAAuB;AAAA,MACzB;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Command ESLint configuration
5
- * Provides in-editor micro-fixes via magic comments (e.g., /// \@keep)
6
- */
7
- declare const command: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { command };
@@ -1,16 +0,0 @@
1
- import { GLOB_JS_TS_ALL } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const command = defineLazyConfig("command", async () => {
4
- const pluginCommandConfig = await loadDefault("eslint-plugin-command/config");
5
- return [
6
- {
7
- files: GLOB_JS_TS_ALL,
8
- name: "eslint-config-integrations/command",
9
- ...pluginCommandConfig()
10
- }
11
- ];
12
- });
13
- export {
14
- command
15
- };
16
- //# sourceMappingURL=command.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/tools/command.ts"],"sourcesContent":["import { GLOB_JS_TS_ALL } from '@santi020k/eslint-config-core'\n\nimport type { TSESLint } from '@typescript-eslint/utils'\nimport type PluginCommand from 'eslint-plugin-command/config'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\n/**\n * Command ESLint configuration\n * Provides in-editor micro-fixes via magic comments (e.g., /// \\@keep)\n */\nexport const command: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('command', async () => {\n const pluginCommandConfig = await loadDefault<typeof PluginCommand>('eslint-plugin-command/config')\n\n return [\n {\n files: GLOB_JS_TS_ALL,\n name: 'eslint-config-integrations/command',\n ...pluginCommandConfig()\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,sBAAsB;AAK/B,SAAS,kBAAkB,mBAAmB;AAMvC,MAAM,UAA0D,iBAAiB,WAAW,YAAY;AAC7G,QAAM,sBAAsB,MAAM,YAAkC,8BAA8B;AAElG,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,GAAG,oBAAoB;AAAA,IACzB;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * CSpell ESLint configuration
5
- * Enables spell checking in your codebase
6
- */
7
- declare const cspell: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { cspell };
@@ -1,26 +0,0 @@
1
- import { GLOB_JS_TS_ALL } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const cspell = defineLazyConfig("cspell", async () => {
4
- const pluginCspell = await loadDefault("@cspell/eslint-plugin");
5
- return [
6
- {
7
- files: GLOB_JS_TS_ALL,
8
- name: "integrations/cspell",
9
- plugins: { "@cspell": pluginCspell },
10
- rules: {
11
- "@cspell/spellchecker": ["warn", {
12
- autoFix: false,
13
- checkComments: true,
14
- checkIdentifiers: true,
15
- checkStrings: true,
16
- checkStringTemplates: true,
17
- numSuggestions: 3
18
- }]
19
- }
20
- }
21
- ];
22
- });
23
- export {
24
- cspell
25
- };
26
- //# sourceMappingURL=cspell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/tools/cspell.ts"],"sourcesContent":["import { GLOB_JS_TS_ALL } from '@santi020k/eslint-config-core'\n\nimport type PluginCspell from '@cspell/eslint-plugin'\nimport type { TSESLint } from '@typescript-eslint/utils'\n\nimport { defineLazyConfig, loadDefault } from '../lazy.js'\n\n/**\n * CSpell ESLint configuration\n * Enables spell checking in your codebase\n */\nexport const cspell: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('cspell', async () => {\n const pluginCspell = await loadDefault<typeof PluginCspell>('@cspell/eslint-plugin')\n\n return [\n {\n files: GLOB_JS_TS_ALL,\n name: 'integrations/cspell',\n plugins: { '@cspell': pluginCspell },\n rules: {\n '@cspell/spellchecker': ['warn', {\n autoFix: false,\n checkComments: true,\n checkIdentifiers: true,\n checkStrings: true,\n checkStringTemplates: true,\n numSuggestions: 3\n }]\n }\n }\n ]\n})\n"],"mappings":"AAAA,SAAS,sBAAsB;AAK/B,SAAS,kBAAkB,mBAAmB;AAMvC,MAAM,SAAyD,iBAAiB,UAAU,YAAY;AAC3G,QAAM,eAAe,MAAM,YAAiC,uBAAuB;AAEnF,SAAO;AAAA,IACL;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,SAAS,EAAE,WAAW,aAAa;AAAA,MACnC,OAAO;AAAA,QACL,wBAAwB,CAAC,QAAQ;AAAA,UAC/B,SAAS;AAAA,UACT,eAAe;AAAA,UACf,kBAAkB;AAAA,UAClB,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,gBAAgB;AAAA,QAClB,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1,10 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Docker tooling ESLint configuration
5
- * Covers Docker Compose YAML files. Dockerfile linting is intentionally left to
6
- * dedicated Dockerfile linters until a stable ESLint parser/plugin is added.
7
- */
8
- declare const docker: () => Promise<TSESLint.FlatConfig.ConfigArray>;
9
-
10
- export { docker };
@@ -1,21 +0,0 @@
1
- import { yaml } from "../formats/yaml.js";
2
- const docker = async () => [
3
- ...await yaml(),
4
- {
5
- files: [
6
- "**/compose.{yml,yaml}",
7
- "**/compose.*.{yml,yaml}",
8
- "**/docker-compose.{yml,yaml}",
9
- "**/docker-compose.*.{yml,yaml}"
10
- ],
11
- name: "eslint-config-integrations/docker",
12
- rules: {
13
- "yml/no-empty-mapping-value": "error",
14
- "yml/no-empty-sequence-entry": "error"
15
- }
16
- }
17
- ];
18
- export {
19
- docker
20
- };
21
- //# sourceMappingURL=docker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/tools/docker.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils'\n\nimport { yaml } from '../formats/yaml.js'\n\n/**\n * Docker tooling ESLint configuration\n * Covers Docker Compose YAML files. Dockerfile linting is intentionally left to\n * dedicated Dockerfile linters until a stable ESLint parser/plugin is added.\n */\nexport const docker = async (): Promise<TSESLint.FlatConfig.ConfigArray> => [\n ...await yaml(),\n {\n files: [\n '**/compose.{yml,yaml}',\n '**/compose.*.{yml,yaml}',\n '**/docker-compose.{yml,yaml}',\n '**/docker-compose.*.{yml,yaml}'\n ],\n name: 'eslint-config-integrations/docker',\n rules: {\n 'yml/no-empty-mapping-value': 'error',\n 'yml/no-empty-sequence-entry': 'error'\n }\n }\n]\n"],"mappings":"AAEA,SAAS,YAAY;AAOd,MAAM,SAAS,YAAsD;AAAA,EAC1E,GAAG,MAAM,KAAK;AAAA,EACd;AAAA,IACE,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA,MAAM;AAAA,IACN,OAAO;AAAA,MACL,8BAA8B;AAAA,MAC9B,+BAA+B;AAAA,IACjC;AAAA,EACF;AACF;","names":[]}
@@ -1,10 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * GitHub Actions ESLint configuration
5
- * Lints workflow YAML files with the shared YAML rules and workflow-specific
6
- * guardrails.
7
- */
8
- declare const githubActions: () => Promise<TSESLint.FlatConfig.ConfigArray>;
9
-
10
- export { githubActions };
@@ -1,16 +0,0 @@
1
- import { yaml } from "../formats/yaml.js";
2
- const githubActions = async () => [
3
- ...await yaml(),
4
- {
5
- files: [".github/workflows/*.{yml,yaml}", "**/.github/workflows/*.{yml,yaml}"],
6
- name: "eslint-config-integrations/github-actions",
7
- rules: {
8
- "yml/no-empty-mapping-value": "error",
9
- "yml/no-empty-sequence-entry": "error"
10
- }
11
- }
12
- ];
13
- export {
14
- githubActions
15
- };
16
- //# sourceMappingURL=github-actions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/tools/github-actions.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils'\n\nimport { yaml } from '../formats/yaml.js'\n\n/**\n * GitHub Actions ESLint configuration\n * Lints workflow YAML files with the shared YAML rules and workflow-specific\n * guardrails.\n */\nexport const githubActions = async (): Promise<TSESLint.FlatConfig.ConfigArray> => [\n ...await yaml(),\n {\n files: ['.github/workflows/*.{yml,yaml}', '**/.github/workflows/*.{yml,yaml}'],\n name: 'eslint-config-integrations/github-actions',\n rules: {\n 'yml/no-empty-mapping-value': 'error',\n 'yml/no-empty-sequence-entry': 'error'\n }\n }\n]\n"],"mappings":"AAEA,SAAS,YAAY;AAOd,MAAM,gBAAgB,YAAsD;AAAA,EACjF,GAAG,MAAM,KAAK;AAAA,EACd;AAAA,IACE,OAAO,CAAC,kCAAkC,mCAAmC;AAAA,IAC7E,MAAM;AAAA,IACN,OAAO;AAAA,MACL,8BAA8B;AAAA,MAC9B,+BAA+B;AAAA,IACjC;AAAA,EACF;AACF;","names":[]}
@@ -1,10 +0,0 @@
1
- export { command } from './command.js';
2
- export { cspell } from './cspell.js';
3
- export { docker } from './docker.js';
4
- export { githubActions } from './github-actions.js';
5
- export { jsdoc } from './jsdoc.js';
6
- export { nx } from './nx.js';
7
- export { pnpm } from './pnpm.js';
8
- export { prettier } from './prettier.js';
9
- export { swagger } from './swagger.js';
10
- import '@typescript-eslint/utils';
@@ -1,21 +0,0 @@
1
- import { command } from "./command.js";
2
- import { cspell } from "./cspell.js";
3
- import { docker } from "./docker.js";
4
- import { githubActions } from "./github-actions.js";
5
- import { jsdoc } from "./jsdoc.js";
6
- import { nx } from "./nx.js";
7
- import { pnpm } from "./pnpm.js";
8
- import { prettier } from "./prettier.js";
9
- import { swagger } from "./swagger.js";
10
- export {
11
- command,
12
- cspell,
13
- docker,
14
- githubActions,
15
- jsdoc,
16
- nx,
17
- pnpm,
18
- prettier,
19
- swagger
20
- };
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/tools/index.ts"],"sourcesContent":["export { command } from './command.js'\nexport { cspell } from './cspell.js'\nexport { docker } from './docker.js'\nexport { githubActions } from './github-actions.js'\nexport { jsdoc } from './jsdoc.js'\nexport { nx } from './nx.js'\nexport { pnpm } from './pnpm.js'\nexport { prettier } from './prettier.js'\nexport { swagger } from './swagger.js'\n"],"mappings":"AAAA,SAAS,eAAe;AACxB,SAAS,cAAc;AACvB,SAAS,cAAc;AACvB,SAAS,qBAAqB;AAC9B,SAAS,aAAa;AACtB,SAAS,UAAU;AACnB,SAAS,YAAY;AACrB,SAAS,gBAAgB;AACzB,SAAS,eAAe;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * JSDoc ESLint configuration
5
- * Provides rules for TSDoc/JSDoc validation and formatting.
6
- */
7
- declare const jsdoc: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { jsdoc };
@@ -1,36 +0,0 @@
1
- import { GLOB_JS_TS } from "@santi020k/eslint-config-core";
2
- import { defineLazyConfig, loadDefault } from "../lazy.js";
3
- const jsdoc = defineLazyConfig("jsdoc", async () => {
4
- const pluginJsdoc = await loadDefault("eslint-plugin-jsdoc");
5
- const pluginTsdoc = await loadDefault("eslint-plugin-tsdoc");
6
- const configs = [
7
- {
8
- files: GLOB_JS_TS,
9
- name: "eslint-config-integrations/jsdoc",
10
- plugins: {
11
- jsdoc: pluginJsdoc
12
- },
13
- rules: {
14
- ...pluginJsdoc.configs["flat/recommended-error"].rules
15
- }
16
- },
17
- {
18
- files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
19
- name: "eslint-config-integrations/tsdoc",
20
- plugins: {
21
- tsdoc: pluginTsdoc
22
- },
23
- rules: {
24
- "jsdoc/require-param-type": "off",
25
- "jsdoc/require-returns": "off",
26
- "jsdoc/require-returns-type": "off",
27
- "tsdoc/syntax": "warn"
28
- }
29
- }
30
- ];
31
- return configs;
32
- });
33
- export {
34
- jsdoc
35
- };
36
- //# sourceMappingURL=jsdoc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/tools/jsdoc.ts"],"sourcesContent":["import { GLOB_JS_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 * JSDoc ESLint configuration\n * Provides rules for TSDoc/JSDoc validation and formatting.\n */\nexport const jsdoc: () => Promise<TSESLint.FlatConfig.ConfigArray> = defineLazyConfig('jsdoc', async () => {\n const pluginJsdoc = await loadDefault<PluginWithConfigs<'flat/recommended-error'>>('eslint-plugin-jsdoc')\n const pluginTsdoc = await loadDefault<{ rules: TSESLint.FlatConfig.Plugin['rules'] }>('eslint-plugin-tsdoc')\n\n const configs: TSESLint.FlatConfig.ConfigArray = [\n {\n files: GLOB_JS_TS,\n name: 'eslint-config-integrations/jsdoc',\n plugins: {\n jsdoc: pluginJsdoc\n },\n rules: {\n ...pluginJsdoc.configs['flat/recommended-error'].rules\n }\n },\n {\n files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],\n name: 'eslint-config-integrations/tsdoc',\n plugins: {\n tsdoc: pluginTsdoc\n },\n rules: {\n 'jsdoc/require-param-type': 'off',\n 'jsdoc/require-returns': 'off',\n 'jsdoc/require-returns-type': 'off',\n 'tsdoc/syntax': 'warn'\n }\n }\n ]\n\n return configs\n})\n"],"mappings":"AAAA,SAAS,kBAAkB;AAI3B,SAAS,kBAAkB,mBAA2C;AAM/D,MAAM,QAAwD,iBAAiB,SAAS,YAAY;AACzG,QAAM,cAAc,MAAM,YAAyD,qBAAqB;AACxG,QAAM,cAAc,MAAM,YAA4D,qBAAqB;AAE3G,QAAM,UAA2C;AAAA,IAC/C;AAAA,MACE,OAAO;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,QACP,OAAO;AAAA,MACT;AAAA,MACA,OAAO;AAAA,QACL,GAAG,YAAY,QAAQ,wBAAwB,EAAE;AAAA,MACnD;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO,CAAC,WAAW,YAAY,YAAY,UAAU;AAAA,MACrD,MAAM;AAAA,MACN,SAAS;AAAA,QACP,OAAO;AAAA,MACT;AAAA,MACA,OAAO;AAAA,QACL,4BAA4B;AAAA,QAC5B,yBAAyB;AAAA,QACzB,8BAA8B;AAAA,QAC9B,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AACT,CAAC;","names":[]}
@@ -1,9 +0,0 @@
1
- import { TSESLint } from '@typescript-eslint/utils';
2
-
3
- /**
4
- * Nx ESLint configuration
5
- * Lints Nx workspace JSON/JSONC files using the shared JSONC parser rules.
6
- */
7
- declare const nx: () => Promise<TSESLint.FlatConfig.ConfigArray>;
8
-
9
- export { nx };
package/dist/tools/nx.js DELETED
@@ -1,18 +0,0 @@
1
- import { jsonc } from "../formats/jsonc.js";
2
- const nx = async () => [
3
- ...await jsonc(),
4
- {
5
- files: ["**/nx.json", "**/project.json"],
6
- name: "eslint-config-integrations/nx",
7
- rules: {
8
- "jsonc/sort-keys": ["warn", {
9
- order: ["extends", "npmScope", "affected", "tasksRunnerOptions", "targetDefaults", "namedInputs", "generators", "plugins"],
10
- pathPattern: "^$"
11
- }]
12
- }
13
- }
14
- ];
15
- export {
16
- nx
17
- };
18
- //# sourceMappingURL=nx.js.map