@kazupon/eslint-config 0.16.0 → 0.18.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 (60) hide show
  1. package/README.md +8 -1
  2. package/dist/config.d.cts +1 -1
  3. package/dist/config.d.ts +1 -1
  4. package/dist/configs/comments.d.cts +1 -1
  5. package/dist/configs/comments.d.ts +1 -1
  6. package/dist/configs/imports.d.cts +9 -4
  7. package/dist/configs/imports.d.ts +9 -4
  8. package/dist/configs/index.d.cts +17 -16
  9. package/dist/configs/index.d.ts +17 -16
  10. package/dist/configs/javascript.d.cts +1 -1
  11. package/dist/configs/javascript.d.ts +1 -1
  12. package/dist/configs/jsdoc.d.cts +1 -1
  13. package/dist/configs/jsdoc.d.ts +1 -1
  14. package/dist/configs/jsonc.d.cts +1 -1
  15. package/dist/configs/jsonc.d.ts +1 -1
  16. package/dist/configs/markdown.d.cts +28 -0
  17. package/dist/configs/markdown.d.ts +28 -0
  18. package/dist/configs/prettier.d.cts +1 -1
  19. package/dist/configs/prettier.d.ts +1 -1
  20. package/dist/configs/promise.d.cts +1 -1
  21. package/dist/configs/promise.d.ts +1 -1
  22. package/dist/configs/react.d.cts +2 -2
  23. package/dist/configs/react.d.ts +2 -2
  24. package/dist/configs/regexp.d.cts +1 -1
  25. package/dist/configs/regexp.d.ts +1 -1
  26. package/dist/configs/svelte.d.cts +2 -2
  27. package/dist/configs/svelte.d.ts +2 -2
  28. package/dist/configs/toml.d.cts +1 -1
  29. package/dist/configs/toml.d.ts +1 -1
  30. package/dist/configs/typescript.d.cts +1 -1
  31. package/dist/configs/typescript.d.ts +1 -1
  32. package/dist/configs/unicorn.d.cts +1 -1
  33. package/dist/configs/unicorn.d.ts +1 -1
  34. package/dist/configs/vitest.d.cts +1 -1
  35. package/dist/configs/vitest.d.ts +1 -1
  36. package/dist/configs/vue.d.cts +2 -2
  37. package/dist/configs/vue.d.ts +2 -2
  38. package/dist/configs/yml.d.cts +1 -1
  39. package/dist/configs/yml.d.ts +1 -1
  40. package/dist/globs.d.cts +1 -0
  41. package/dist/globs.d.ts +1 -0
  42. package/dist/index.cjs +399 -259
  43. package/dist/index.d.cts +3 -3
  44. package/dist/index.d.ts +3 -3
  45. package/dist/index.js +388 -260
  46. package/dist/types/gens/eslint.d.cts +2 -1
  47. package/dist/types/gens/eslint.d.ts +2 -1
  48. package/dist/types/gens/imports.d.cts +478 -0
  49. package/dist/types/gens/imports.d.ts +478 -0
  50. package/dist/types/gens/javascript.d.cts +6 -1
  51. package/dist/types/gens/javascript.d.ts +6 -1
  52. package/dist/types/gens/markdown.d.cts +42 -0
  53. package/dist/types/gens/markdown.d.ts +42 -0
  54. package/dist/types/gens/unicorn.d.cts +153 -138
  55. package/dist/types/gens/unicorn.d.ts +153 -138
  56. package/dist/types/index.d.cts +19 -18
  57. package/dist/types/index.d.ts +19 -18
  58. package/dist/types/overrides.d.cts +1 -1
  59. package/dist/types/overrides.d.ts +1 -1
  60. package/package.json +22 -7
package/README.md CHANGED
@@ -25,6 +25,7 @@ ESLint config for @kazupon
25
25
  - `jsonc`
26
26
  - `yml`
27
27
  - `toml`
28
+ - `markdown`
28
29
  - Support primitive eslint flat configuration
29
30
  - Support overrides for built-in configurations
30
31
  - `rules`
@@ -85,6 +86,8 @@ Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?it
85
86
 
86
87
  Add the following settings to your `.vscode/settings.json`:
87
88
 
89
+ <!-- eslint-skip -->
90
+
88
91
  ```jsonc
89
92
  {
90
93
  // Auto fix
@@ -94,12 +97,15 @@ Add the following settings to your `.vscode/settings.json`:
94
97
  // Enable eslint for supported languages
95
98
  "eslint.validate": [
96
99
  "javascript",
100
+ "javascriptreact",
97
101
  "typescript",
102
+ "typescriptreact",
98
103
  "vue",
99
104
  "svelte",
100
105
  "json",
101
106
  "jsonc",
102
107
  "json5",
108
+ "markdown",
103
109
  "yaml",
104
110
  "toml"
105
111
  ],
@@ -117,7 +123,7 @@ The following built-in preset configurations are supported:
117
123
  | `javascript` | [`@eslint/js`](https://www.npmjs.com/package/@eslint/js) | no (built-in) |
118
124
  | `comments` | [`@eslint-community/eslint-plugin-eslint-comments`](https://www.npmjs.com/package/@eslint-community/eslint-plugin-eslint-comments) | no (built-in) |
119
125
  | `typescript` | [`typescript-eslint`](https://www.npmjs.com/package/typescript-eslint) | yes |
120
- | `imports` | [`eslint-plugin-unused-imports`](https://www.npmjs.com/package/eslint-plugin-unused-imports) | yes |
126
+ | `imports` | [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import), [`eslint-plugin-unused-imports`](https://www.npmjs.com/package/eslint-plugin-unused-imports) | yes |
121
127
  | `jsdoc` | [`eslint-plugin-jsdoc`](https://www.npmjs.com/package/eslint-plugin-jsdoc) | yes |
122
128
  | `regexp` | [`eslint-plugin-regexp`](https://www.npmjs.com/package/eslint-plugin-regexp) | yes |
123
129
  | `promise` | [`eslint-plugin-promise`](https://www.npmjs.com/package/eslint-plugin-promise) | yes |
@@ -130,6 +136,7 @@ The following built-in preset configurations are supported:
130
136
  | `jsonc` | [`eslint-plugin-jsonc`](https://www.npmjs.com/package/eslint-plugin-jsonc) | yes |
131
137
  | `yml` | [`eslint-plugin-yml`](https://www.npmjs.com/package/eslint-plugin-yml) | yes |
132
138
  | `toml` | [`eslint-plugin-toml`](https://www.npmjs.com/package/eslint-plugin-toml) | yes |
139
+ | `markdown` | [`@eslint/markdown`](https://www.npmjs.com/package/@eslint/markdown) | yes |
133
140
 
134
141
  You can use `import` syntax:
135
142
 
package/dist/config.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { FlatConfigComposer } from 'eslint-flat-config-utils';
2
- import type { Linter } from 'eslint';
3
2
  import type { Awaitable } from '@kazupon/jts-utils/types';
3
+ import type { Linter } from 'eslint';
4
4
  /**
5
5
  * define eslint configurations
6
6
  * @param {Awaitable<Linter.Config | Linter.Config[]>[]} configs eslint flat configurations
package/dist/config.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { FlatConfigComposer } from 'eslint-flat-config-utils';
2
- import type { Linter } from 'eslint';
3
2
  import type { Awaitable } from '@kazupon/jts-utils/types';
3
+ import type { Linter } from 'eslint';
4
4
  /**
5
5
  * define eslint configurations
6
6
  * @param {Awaitable<Linter.Config | Linter.Config[]>[]} configs eslint flat configurations
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, CommentsRules } from '../types';
2
+ import type { CommentsRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * eslint comments configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, CommentsRules } from '../types';
2
+ import type { CommentsRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * eslint comments configuration options
5
5
  */
@@ -1,16 +1,21 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, ImportsRules } from '../types';
2
+ import type { ImportsRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * imports configuration options
5
5
  */
6
6
  export interface ImportsOptions {
7
+ /**
8
+ * use typescript
9
+ * @default false
10
+ */
11
+ typescript?: boolean;
7
12
  }
8
13
  /**
9
- * `eslint-plugin-unused-imports` and overrides configuration options
14
+ * `eslint-plugin-import-x`, `eslint-plugin-unused-imports` and overrides configuration options
10
15
  * @description **if you want to use this preset, you need to put after `javascirpt` and `typescript` presets**
11
16
  * @param {ImportsOptions & OverridesOptions} options
12
17
  * import configuration options
13
18
  * @returns {Promise<Linter.Config[]>}
14
- * eslint flat configurations with `eslint-plugin-unused-imports` and overrides
19
+ * eslint flat configurations with `eslint-plugin-import-x`, `eslint-plugin-unused-imports` and overrides
15
20
  */
16
- export declare function imports(options?: ImportsRules & OverridesOptions<ImportsRules>): Promise<Linter.Config[]>;
21
+ export declare function imports(options?: ImportsOptions & OverridesOptions<ImportsRules>): Promise<Linter.Config[]>;
@@ -1,16 +1,21 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, ImportsRules } from '../types';
2
+ import type { ImportsRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * imports configuration options
5
5
  */
6
6
  export interface ImportsOptions {
7
+ /**
8
+ * use typescript
9
+ * @default false
10
+ */
11
+ typescript?: boolean;
7
12
  }
8
13
  /**
9
- * `eslint-plugin-unused-imports` and overrides configuration options
14
+ * `eslint-plugin-import-x`, `eslint-plugin-unused-imports` and overrides configuration options
10
15
  * @description **if you want to use this preset, you need to put after `javascirpt` and `typescript` presets**
11
16
  * @param {ImportsOptions & OverridesOptions} options
12
17
  * import configuration options
13
18
  * @returns {Promise<Linter.Config[]>}
14
- * eslint flat configurations with `eslint-plugin-unused-imports` and overrides
19
+ * eslint flat configurations with `eslint-plugin-import-x`, `eslint-plugin-unused-imports` and overrides
15
20
  */
16
- export declare function imports(options?: ImportsRules & OverridesOptions<ImportsRules>): Promise<Linter.Config[]>;
21
+ export declare function imports(options?: ImportsOptions & OverridesOptions<ImportsRules>): Promise<Linter.Config[]>;
@@ -1,16 +1,17 @@
1
- export * from './javascript';
2
- export * from './comments';
3
- export * from './typescript';
4
- export * from './jsdoc';
5
- export * from './imports';
6
- export * from './promise';
7
- export * from './regexp';
8
- export * from './toml';
9
- export * from './unicorn';
10
- export * from './prettier';
11
- export * from './jsonc';
12
- export * from './yml';
13
- export * from './vue';
14
- export * from './react';
15
- export * from './svelte';
16
- export * from './vitest';
1
+ export * from './comments.ts';
2
+ export * from './imports.ts';
3
+ export * from './javascript.ts';
4
+ export * from './jsdoc.ts';
5
+ export * from './jsonc.ts';
6
+ export * from './markdown.ts';
7
+ export * from './prettier.ts';
8
+ export * from './promise.ts';
9
+ export * from './react.ts';
10
+ export * from './regexp.ts';
11
+ export * from './svelte.ts';
12
+ export * from './toml.ts';
13
+ export * from './typescript.ts';
14
+ export * from './unicorn.ts';
15
+ export * from './vitest.ts';
16
+ export * from './vue.ts';
17
+ export * from './yml.ts';
@@ -1,16 +1,17 @@
1
- export * from './javascript';
2
- export * from './comments';
3
- export * from './typescript';
4
- export * from './jsdoc';
5
- export * from './imports';
6
- export * from './promise';
7
- export * from './regexp';
8
- export * from './toml';
9
- export * from './unicorn';
10
- export * from './prettier';
11
- export * from './jsonc';
12
- export * from './yml';
13
- export * from './vue';
14
- export * from './react';
15
- export * from './svelte';
16
- export * from './vitest';
1
+ export * from './comments.ts';
2
+ export * from './imports.ts';
3
+ export * from './javascript.ts';
4
+ export * from './jsdoc.ts';
5
+ export * from './jsonc.ts';
6
+ export * from './markdown.ts';
7
+ export * from './prettier.ts';
8
+ export * from './promise.ts';
9
+ export * from './react.ts';
10
+ export * from './regexp.ts';
11
+ export * from './svelte.ts';
12
+ export * from './toml.ts';
13
+ export * from './typescript.ts';
14
+ export * from './unicorn.ts';
15
+ export * from './vitest.ts';
16
+ export * from './vue.ts';
17
+ export * from './yml.ts';
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, JavascriptRules } from '../types';
2
+ import type { JavascriptRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * JavaScript configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, JavascriptRules } from '../types';
2
+ import type { JavascriptRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * JavaScript configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, JsdocRules } from '../types';
2
+ import type { JsdocRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * jsdoc configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, JsdocRules } from '../types';
2
+ import type { JsdocRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * jsdoc configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, JsoncRules } from '../types';
2
+ import type { JsoncRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * eslint jsonc configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, JsoncRules } from '../types';
2
+ import type { JsoncRules, OverridesOptions } from '../types/index.ts';
3
3
  /**
4
4
  * eslint jsonc configuration options
5
5
  */
@@ -0,0 +1,28 @@
1
+ import type { Linter } from 'eslint';
2
+ import type { MarkdownRules, OverridesOptions } from '../types/index.ts';
3
+ /**
4
+ * eslint unicorn configuration options
5
+ */
6
+ export interface MarkdownOptions {
7
+ /**
8
+ * makrdown language
9
+ * @see https://github.com/eslint/markdown?tab=readme-ov-file#languages
10
+ * @default 'gfm'
11
+ */
12
+ language?: 'commonmark' | 'gfm';
13
+ /**
14
+ * enable fenced code blocks
15
+ * @see https://github.com/eslint/markdown/blob/main/docs/processors/markdown.md
16
+ * @default true
17
+ */
18
+ fencedCodeBlocks?: boolean;
19
+ }
20
+ /**
21
+ * `@eslint/markdown` and overrides configuration options
22
+ * @param {MarkdownOptions & OverridesOptions} options
23
+ * eslint unicorn configuration options
24
+ * @returns {Promise<Linter.Config[]>}
25
+ * eslint flat configurations with `@eslint/markdown` and overrides
26
+ */
27
+ export declare function markdown(options?: MarkdownOptions & OverridesOptions<MarkdownRules>): Promise<Linter.Config[]>;
28
+ export declare const md: typeof markdown;
@@ -0,0 +1,28 @@
1
+ import type { Linter } from 'eslint';
2
+ import type { MarkdownRules, OverridesOptions } from '../types/index.ts';
3
+ /**
4
+ * eslint unicorn configuration options
5
+ */
6
+ export interface MarkdownOptions {
7
+ /**
8
+ * makrdown language
9
+ * @see https://github.com/eslint/markdown?tab=readme-ov-file#languages
10
+ * @default 'gfm'
11
+ */
12
+ language?: 'commonmark' | 'gfm';
13
+ /**
14
+ * enable fenced code blocks
15
+ * @see https://github.com/eslint/markdown/blob/main/docs/processors/markdown.md
16
+ * @default true
17
+ */
18
+ fencedCodeBlocks?: boolean;
19
+ }
20
+ /**
21
+ * `@eslint/markdown` and overrides configuration options
22
+ * @param {MarkdownOptions & OverridesOptions} options
23
+ * eslint unicorn configuration options
24
+ * @returns {Promise<Linter.Config[]>}
25
+ * eslint flat configurations with `@eslint/markdown` and overrides
26
+ */
27
+ export declare function markdown(options?: MarkdownOptions & OverridesOptions<MarkdownRules>): Promise<Linter.Config[]>;
28
+ export declare const md: typeof markdown;
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, PrettierRules } from '../types';
2
+ import type { OverridesOptions, PrettierRules } from '../types/index.ts';
3
3
  /**
4
4
  * Prettier configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, PrettierRules } from '../types';
2
+ import type { OverridesOptions, PrettierRules } from '../types/index.ts';
3
3
  /**
4
4
  * Prettier configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, PromiseRules } from '../types';
2
+ import type { OverridesOptions, PromiseRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint promise configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, PromiseRules } from '../types';
2
+ import type { OverridesOptions, PromiseRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint promise configuration options
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { TypeScriptOptions } from './typescript';
3
- import type { OverridesOptions, ReactRules } from '../types';
2
+ import type { OverridesOptions, ReactRules } from '../types/index.ts';
3
+ import type { TypeScriptOptions } from './typescript.ts';
4
4
  /**
5
5
  * eslint react configuration options
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { TypeScriptOptions } from './typescript';
3
- import type { OverridesOptions, ReactRules } from '../types';
2
+ import type { OverridesOptions, ReactRules } from '../types/index.ts';
3
+ import type { TypeScriptOptions } from './typescript.ts';
4
4
  /**
5
5
  * eslint react configuration options
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, RegexpRules } from '../types';
2
+ import type { OverridesOptions, RegexpRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint regexp configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, RegexpRules } from '../types';
2
+ import type { OverridesOptions, RegexpRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint regexp configuration options
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { TypeScriptOptions } from './typescript';
3
- import type { OverridesOptions, SvelteRules } from '../types';
2
+ import type { OverridesOptions, SvelteRules } from '../types/index.ts';
3
+ import type { TypeScriptOptions } from './typescript.ts';
4
4
  /**
5
5
  * Svelte configuration options
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { TypeScriptOptions } from './typescript';
3
- import type { OverridesOptions, SvelteRules } from '../types';
2
+ import type { OverridesOptions, SvelteRules } from '../types/index.ts';
3
+ import type { TypeScriptOptions } from './typescript.ts';
4
4
  /**
5
5
  * Svelte configuration options
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, TomlRules } from '../types';
2
+ import type { OverridesOptions, TomlRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint toml configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, TomlRules } from '../types';
2
+ import type { OverridesOptions, TomlRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint toml configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, TypescriptRules } from '../types';
2
+ import type { OverridesOptions, TypescriptRules } from '../types/index.ts';
3
3
  /**
4
4
  * TypeScript configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, TypescriptRules } from '../types';
2
+ import type { OverridesOptions, TypescriptRules } from '../types/index.ts';
3
3
  /**
4
4
  * TypeScript configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, UnicornRules } from '../types';
2
+ import type { OverridesOptions, UnicornRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint unicorn configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, UnicornRules } from '../types';
2
+ import type { OverridesOptions, UnicornRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint unicorn configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, VitestRules } from '../types';
2
+ import type { OverridesOptions, VitestRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint vitest configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, VitestRules } from '../types';
2
+ import type { OverridesOptions, VitestRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint vitest configuration options
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, VueRules } from '../types';
3
- import type { TypeScriptOptions } from './typescript';
2
+ import type { OverridesOptions, VueRules } from '../types/index.ts';
3
+ import type { TypeScriptOptions } from './typescript.ts';
4
4
  /**
5
5
  * Vue configuration options
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, VueRules } from '../types';
3
- import type { TypeScriptOptions } from './typescript';
2
+ import type { OverridesOptions, VueRules } from '../types/index.ts';
3
+ import type { TypeScriptOptions } from './typescript.ts';
4
4
  /**
5
5
  * Vue configuration options
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, YmlRules } from '../types';
2
+ import type { OverridesOptions, YmlRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint yml configuration options
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
- import type { OverridesOptions, YmlRules } from '../types';
2
+ import type { OverridesOptions, YmlRules } from '../types/index.ts';
3
3
  /**
4
4
  * eslint yml configuration options
5
5
  */
package/dist/globs.d.cts CHANGED
@@ -9,5 +9,6 @@ export declare const GLOB_YAML = "**/*.y?(a)ml";
9
9
  export declare const GLOB_TOML = "**/*.toml";
10
10
  export declare const GLOB_VUE = "**/*.vue";
11
11
  export declare const GLOB_SVELTE = "**/*.svelte";
12
+ export declare const GLOB_MARKDOWN = "**/*.md";
12
13
  export declare const GLOB_TESTS: string[];
13
14
  export declare const GLOB_TESTS_TYPE: string[];
package/dist/globs.d.ts CHANGED
@@ -9,5 +9,6 @@ export declare const GLOB_YAML = "**/*.y?(a)ml";
9
9
  export declare const GLOB_TOML = "**/*.toml";
10
10
  export declare const GLOB_VUE = "**/*.vue";
11
11
  export declare const GLOB_SVELTE = "**/*.svelte";
12
+ export declare const GLOB_MARKDOWN = "**/*.md";
12
13
  export declare const GLOB_TESTS: string[];
13
14
  export declare const GLOB_TESTS_TYPE: string[];