@rebeccastevens/eslint-config 2.0.11 → 3.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +18 -89
- package/dist/index.d.mts +279 -0
- package/dist/index.mjs +3224 -0
- package/package.json +216 -73
- package/dist/common-overrides.cjs +0 -51
- package/dist/common-overrides.mjs +0 -49
- package/dist/modern.cjs +0 -1255
- package/dist/modern.mjs +0 -1253
- package/dist/script.cjs +0 -22
- package/dist/script.mjs +0 -20
- package/dist/test.cjs +0 -31
- package/dist/test.mjs +0 -29
- package/dist/typescript.cjs +0 -448
- package/dist/typescript.mjs +0 -446
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -5,16 +5,19 @@
|
|
|
5
5
|
An [ESLint Shareable Config](https://eslint.org/docs/developer-guide/shareable-configs.html).
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@rebeccastevens/eslint-config)
|
|
8
|
-
[](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/actions/workflows/release.yml)
|
|
9
|
+
[](https://codecov.io/gh/RebeccaStevens/eslint-config-rebeccastevens)\
|
|
9
10
|
[](https://github.com/prettier/prettier)
|
|
10
|
-
[](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/discussions)
|
|
12
|
+
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
12
13
|
[](https://commitizen.github.io/cz-cli/)
|
|
13
14
|
[](https://github.com/semantic-release/semantic-release)
|
|
14
15
|
|
|
15
16
|
</div>
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
## Donate
|
|
19
|
+
|
|
20
|
+
[Any donations would be much appreciated](./DONATIONS.md). 😄
|
|
18
21
|
|
|
19
22
|
## Installation
|
|
20
23
|
|
|
@@ -32,95 +35,21 @@ Note: This project doesn't strictly follow semantic versioning so be sure to pin
|
|
|
32
35
|
|
|
33
36
|
## Usage
|
|
34
37
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<summary>JavaScript (Modern)</summary>
|
|
39
|
-
|
|
40
|
-
Install Peer Dependencies:
|
|
38
|
+
```js
|
|
39
|
+
// eslint.config.js
|
|
40
|
+
import rsEslint from "@rebeccastevens/eslint-config";
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
eslint-plugin-eslint-comments \
|
|
46
|
-
eslint-plugin-functional \
|
|
47
|
-
eslint-plugin-import \
|
|
48
|
-
eslint-import-resolver-typescript \
|
|
49
|
-
eslint-plugin-jsdoc \
|
|
50
|
-
eslint-plugin-markdown \
|
|
51
|
-
eslint-plugin-n \
|
|
52
|
-
eslint-plugin-optimize-regex \
|
|
53
|
-
eslint-plugin-promise \
|
|
54
|
-
eslint-plugin-sonarjs \
|
|
55
|
-
eslint-plugin-unicorn
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Configure your project's `.eslintrc.json` file.
|
|
59
|
-
|
|
60
|
-
```jsonc
|
|
61
|
-
{
|
|
62
|
-
"root": true,
|
|
63
|
-
"extends": ["@rebeccastevens/eslint-config/modern"],
|
|
64
|
-
"rules": {
|
|
65
|
-
// Additional, per-project rules...
|
|
42
|
+
export default rsEslint(
|
|
43
|
+
{
|
|
44
|
+
// general config.
|
|
66
45
|
},
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"files": ["**/*.test.ts"],
|
|
70
|
-
"rules": {}
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
</details>
|
|
77
|
-
|
|
78
|
-
<details>
|
|
79
|
-
<summary>TypeScript</summary>
|
|
80
|
-
|
|
81
|
-
Install Peer Dependencies:
|
|
82
|
-
|
|
83
|
-
```sh
|
|
84
|
-
pnpm add -D \
|
|
85
|
-
@typescript-eslint/parser \
|
|
86
|
-
@typescript-eslint/eslint-plugin \
|
|
87
|
-
eslint-plugin-eslint-comments \
|
|
88
|
-
eslint-plugin-functional \
|
|
89
|
-
eslint-plugin-import \
|
|
90
|
-
eslint-import-resolver-typescript \
|
|
91
|
-
eslint-plugin-jsdoc \
|
|
92
|
-
eslint-plugin-markdown \
|
|
93
|
-
eslint-plugin-n \
|
|
94
|
-
eslint-plugin-optimize-regex \
|
|
95
|
-
eslint-plugin-promise \
|
|
96
|
-
eslint-plugin-sonarjs \
|
|
97
|
-
eslint-plugin-unicorn
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Configure your project's `.eslintrc.json` file.
|
|
101
|
-
|
|
102
|
-
```jsonc
|
|
103
|
-
{
|
|
104
|
-
"root": true,
|
|
105
|
-
"parserOptions": {
|
|
106
|
-
"project": "tsconfig.json"
|
|
46
|
+
{
|
|
47
|
+
// project specific config.
|
|
107
48
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"@rebeccastevens/eslint-config/typescript"
|
|
111
|
-
],
|
|
112
|
-
"rules": {
|
|
113
|
-
// Additional, per-project rules...
|
|
49
|
+
{
|
|
50
|
+
// another project specific config.
|
|
114
51
|
},
|
|
115
|
-
|
|
116
|
-
{
|
|
117
|
-
"files": ["**/*.test.ts"],
|
|
118
|
-
"rules": {}
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|
|
52
|
+
);
|
|
122
53
|
```
|
|
123
54
|
|
|
124
|
-
</details>
|
|
125
|
-
|
|
126
55
|
See [ESLint configuration](http://eslint.org/docs/user-guide/configuring) for more information.
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
/// <reference types="eslint" />
|
|
2
|
+
/// <reference types="ript-eslint" />
|
|
3
|
+
import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
4
|
+
import { ParserOptions } from "@typescript-eslint/parser";
|
|
5
|
+
import { TSESLint } from "@typescript-eslint/utils";
|
|
6
|
+
import { ESLint, Linter } from "eslint";
|
|
7
|
+
import { Options as VueBlocksOptions } from "eslint-processor-vue-blocks";
|
|
8
|
+
import { Options as PrettierOptions } from "prettier";
|
|
9
|
+
import { RuleOptions } from "./typegen";
|
|
10
|
+
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
11
|
+
type Awaitable<T> = T | Promise<T>;
|
|
12
|
+
type Rules = RuleOptions;
|
|
13
|
+
type FlatConfigItem = Omit<Linter.FlatConfig, "plugins" | "rules"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Custom name of each config item
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
plugins?: Record<string, Readonly<ESLint.Plugin | TSESLint.FlatConfig.Plugin>>;
|
|
19
|
+
/**
|
|
20
|
+
* An object containing a name-value mapping of rules to use.
|
|
21
|
+
*/
|
|
22
|
+
rules?: Record<string, Linter.RuleEntry> & Rules;
|
|
23
|
+
};
|
|
24
|
+
type OptionsFiles = {
|
|
25
|
+
/**
|
|
26
|
+
* Override the `files` option to provide custom globs.
|
|
27
|
+
*/
|
|
28
|
+
files?: string[];
|
|
29
|
+
};
|
|
30
|
+
type OptionsVue = {
|
|
31
|
+
/**
|
|
32
|
+
* Create virtual files for Vue SFC blocks to enable linting.
|
|
33
|
+
*
|
|
34
|
+
* @see https://github.com/antfu/eslint-processor-vue-blocks
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
sfcBlocks?: boolean | VueBlocksOptions;
|
|
38
|
+
/**
|
|
39
|
+
* Vue version. Apply different rules set from `eslint-plugin-vue`.
|
|
40
|
+
*
|
|
41
|
+
* @default 3
|
|
42
|
+
*/
|
|
43
|
+
vueVersion?: 2 | 3;
|
|
44
|
+
} & OptionsOverrides;
|
|
45
|
+
type OptionsTypescript = ((OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides)) & OptionsTypeScriptUnsafeSeverity;
|
|
46
|
+
type OptionsFormatters = {
|
|
47
|
+
js?: boolean;
|
|
48
|
+
ts?: boolean;
|
|
49
|
+
json?: boolean;
|
|
50
|
+
yaml?: boolean;
|
|
51
|
+
dts?: boolean;
|
|
52
|
+
css?: boolean;
|
|
53
|
+
html?: boolean;
|
|
54
|
+
markdown?: boolean;
|
|
55
|
+
graphql?: boolean;
|
|
56
|
+
prettierOptions?: PrettierOptions;
|
|
57
|
+
slidev?: boolean | {
|
|
58
|
+
files?: string[];
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
type OptionsComponentExts = {
|
|
62
|
+
/**
|
|
63
|
+
* Additional extensions for components.
|
|
64
|
+
*
|
|
65
|
+
* @example ['vue']
|
|
66
|
+
*
|
|
67
|
+
* @default []
|
|
68
|
+
*/
|
|
69
|
+
componentExts?: string[];
|
|
70
|
+
};
|
|
71
|
+
type OptionsTypeScriptParserOptions = {
|
|
72
|
+
/**
|
|
73
|
+
* Additional parser options for TypeScript.
|
|
74
|
+
*/
|
|
75
|
+
parserOptions?: Partial<ParserOptions>;
|
|
76
|
+
/**
|
|
77
|
+
* Glob patterns for files that should be type aware.
|
|
78
|
+
*
|
|
79
|
+
* @default ['**\/*.{ts,tsx}']
|
|
80
|
+
*/
|
|
81
|
+
filesTypeAware?: string[];
|
|
82
|
+
};
|
|
83
|
+
type OptionsTypeScriptWithTypes = {
|
|
84
|
+
/**
|
|
85
|
+
* When this options is provided, type aware rules will be enabled.
|
|
86
|
+
*
|
|
87
|
+
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
88
|
+
*/
|
|
89
|
+
tsconfig?: true | string | string[];
|
|
90
|
+
};
|
|
91
|
+
type OptionsTypeScriptUnsafeSeverity = {
|
|
92
|
+
unsafe?: "off" | "warn" | "error";
|
|
93
|
+
};
|
|
94
|
+
type OptionsHasTypeScript = {
|
|
95
|
+
typescript?: boolean;
|
|
96
|
+
};
|
|
97
|
+
type OptionsStylistic = {
|
|
98
|
+
stylistic?: boolean | StylisticConfig;
|
|
99
|
+
};
|
|
100
|
+
type StylisticConfig = {} & Pick<StylisticCustomizeOptions, "indent" | "quotes" | "jsx" | "semi">;
|
|
101
|
+
type OptionsOverrides = {
|
|
102
|
+
overrides?: FlatConfigItem["rules"];
|
|
103
|
+
};
|
|
104
|
+
type OptionsIsInEditor = {
|
|
105
|
+
isInEditor?: boolean;
|
|
106
|
+
};
|
|
107
|
+
type OptionsUnoCSS = {
|
|
108
|
+
/**
|
|
109
|
+
* Enable attributify support.
|
|
110
|
+
*/
|
|
111
|
+
attributify?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Enable strict mode by throwing errors about blocklisted classes.
|
|
114
|
+
*/
|
|
115
|
+
strict?: boolean;
|
|
116
|
+
} & OptionsOverrides;
|
|
117
|
+
type OptionsFunctional = {
|
|
118
|
+
functionalEnforcement?: "none" | "lite" | "default" | "strict";
|
|
119
|
+
};
|
|
120
|
+
type OptionsIgnores = Linter.FlatConfig["ignores"] | {
|
|
121
|
+
extend?: boolean;
|
|
122
|
+
files?: Linter.FlatConfig["ignores"];
|
|
123
|
+
};
|
|
124
|
+
type OptionsConfig = {
|
|
125
|
+
/**
|
|
126
|
+
* Core rules. Can't be disabled.
|
|
127
|
+
*/
|
|
128
|
+
javascript?: OptionsOverrides;
|
|
129
|
+
/**
|
|
130
|
+
* Enable TypeScript support.
|
|
131
|
+
*
|
|
132
|
+
* Passing an object to enable TypeScript Language Server support.
|
|
133
|
+
*
|
|
134
|
+
* @default auto-detect based on the dependencies
|
|
135
|
+
*/
|
|
136
|
+
typescript?: boolean | OptionsTypescript;
|
|
137
|
+
/**
|
|
138
|
+
* Enable JSX related rules.
|
|
139
|
+
*/
|
|
140
|
+
jsx?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Enable test support.
|
|
143
|
+
*/
|
|
144
|
+
test?: boolean | OptionsOverrides;
|
|
145
|
+
/**
|
|
146
|
+
* Enforce functional programming.
|
|
147
|
+
*/
|
|
148
|
+
functional?: boolean | OptionsFunctional["functionalEnforcement"] | (OptionsOverrides & OptionsFunctional);
|
|
149
|
+
/**
|
|
150
|
+
* Enable Vue support.
|
|
151
|
+
*
|
|
152
|
+
* @default auto-detect based on the dependencies
|
|
153
|
+
*/
|
|
154
|
+
vue?: boolean | OptionsVue;
|
|
155
|
+
/**
|
|
156
|
+
* Enable JSONC support.
|
|
157
|
+
*/
|
|
158
|
+
jsonc?: boolean | OptionsOverrides;
|
|
159
|
+
/**
|
|
160
|
+
* Enable YAML support.
|
|
161
|
+
*/
|
|
162
|
+
yaml?: boolean | OptionsOverrides;
|
|
163
|
+
/**
|
|
164
|
+
* Enable TOML support.
|
|
165
|
+
*/
|
|
166
|
+
toml?: boolean | OptionsOverrides;
|
|
167
|
+
/**
|
|
168
|
+
* Enable linting for **code snippets** in Markdown.
|
|
169
|
+
*
|
|
170
|
+
* For formatting Markdown content, enable also `formatters.markdown`.
|
|
171
|
+
*/
|
|
172
|
+
markdown?: boolean | OptionsOverrides;
|
|
173
|
+
/**
|
|
174
|
+
* Enable stylistic rules.
|
|
175
|
+
*/
|
|
176
|
+
stylistic?: boolean | (StylisticConfig & OptionsOverrides);
|
|
177
|
+
/**
|
|
178
|
+
* Enable unocss rules.
|
|
179
|
+
*/
|
|
180
|
+
unocss?: boolean | OptionsUnoCSS;
|
|
181
|
+
/**
|
|
182
|
+
* Use external formatters to format files.
|
|
183
|
+
*
|
|
184
|
+
* When set to `true`, it will enable all formatters.
|
|
185
|
+
*/
|
|
186
|
+
formatters?: boolean | OptionsFormatters;
|
|
187
|
+
/**
|
|
188
|
+
* Control to disable some rules in editors.
|
|
189
|
+
*/
|
|
190
|
+
isInEditor?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Automatically rename plugins in the config.
|
|
193
|
+
*/
|
|
194
|
+
autoRenamePlugins?: boolean;
|
|
195
|
+
ignores?: OptionsIgnores;
|
|
196
|
+
} & OptionsComponentExts;
|
|
197
|
+
declare function comments(options?: unknown): Promise<FlatConfigItem[]>;
|
|
198
|
+
declare function formatters(opts?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<FlatConfigItem[]>;
|
|
199
|
+
declare function functional(options?: OptionsFunctional & OptionsStylistic & OptionsOverrides & OptionsTypeScriptParserOptions): Promise<FlatConfigItem[]>;
|
|
200
|
+
declare function ignores(options?: Readonly<{
|
|
201
|
+
ignores?: OptionsIgnores;
|
|
202
|
+
}>): FlatConfigItem[];
|
|
203
|
+
declare function imports(options?: OptionsStylistic & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions): Promise<FlatConfigItem[]>;
|
|
204
|
+
declare function inEditor(options?: unknown): FlatConfigItem[];
|
|
205
|
+
declare function javascript(options?: OptionsOverrides & OptionsFunctional): Promise<FlatConfigItem[]>;
|
|
206
|
+
declare function jsdoc(options?: OptionsStylistic): Promise<FlatConfigItem[]>;
|
|
207
|
+
declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<FlatConfigItem[]>;
|
|
208
|
+
declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<FlatConfigItem[]>;
|
|
209
|
+
declare function node(options?: unknown): Promise<FlatConfigItem[]>;
|
|
210
|
+
declare function overrides(): Promise<FlatConfigItem[]>;
|
|
211
|
+
/**
|
|
212
|
+
* Sort tsconfig.json
|
|
213
|
+
*
|
|
214
|
+
* Requires `jsonc` config
|
|
215
|
+
*/
|
|
216
|
+
declare function sortTsconfig(): FlatConfigItem[];
|
|
217
|
+
declare const StylisticConfigDefaults: StylisticConfig;
|
|
218
|
+
declare function stylistic(options?: StylisticConfig & OptionsOverrides): Promise<FlatConfigItem[]>;
|
|
219
|
+
declare function test(options?: OptionsFiles & OptionsOverrides): Promise<FlatConfigItem[]>;
|
|
220
|
+
declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<FlatConfigItem[]>;
|
|
221
|
+
declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsTypeScriptUnsafeSeverity): Promise<FlatConfigItem[]>;
|
|
222
|
+
declare function unicorn(options?: unknown): Promise<FlatConfigItem[]>;
|
|
223
|
+
declare function unocss(options?: OptionsUnoCSS): Promise<FlatConfigItem[]>;
|
|
224
|
+
/* eslint-enable ts/naming-convention */
|
|
225
|
+
declare function vue(options?: Readonly<OptionsVue & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsFiles>): Promise<FlatConfigItem[]>;
|
|
226
|
+
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<FlatConfigItem[]>;
|
|
227
|
+
declare const defaultPluginRenaming: {
|
|
228
|
+
"@stylistic": string;
|
|
229
|
+
"@typescript-eslint": string;
|
|
230
|
+
"import-x": string;
|
|
231
|
+
"optimize-regex": string;
|
|
232
|
+
n: string;
|
|
233
|
+
sonarjs: string;
|
|
234
|
+
vitest: string;
|
|
235
|
+
yml: string;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Construct an array of ESLint flat config items.
|
|
239
|
+
*
|
|
240
|
+
* @param {OptionsConfig & FlatConfigItem} options - The options for generating the ESLint configurations.
|
|
241
|
+
* @param {Awaitable<FlatConfigItem | FlatConfigItem[]>[]} userConfigs - The user configurations to be merged with the generated configurations.
|
|
242
|
+
* @returns {Promise<FlatConfigItem[]>} The merged ESLint configurations.
|
|
243
|
+
*/
|
|
244
|
+
declare function rsEslint(options?: OptionsConfig & FlatConfigItem, ...userConfigs: ReadonlyArray<Awaitable<FlatConfigItem | FlatConfigItem[]>>): FlatConfigComposer<FlatConfigItem>;
|
|
245
|
+
type ResolvedOptions<T> = T extends boolean ? never : T extends string ? never : NonNullable<T>;
|
|
246
|
+
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: Readonly<OptionsConfig>, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
247
|
+
declare function getOverrides<K extends keyof OptionsConfig>(options: Readonly<OptionsConfig>, key: K): (Record<string, import("eslint").Linter.RuleEntry<any[]>> & import("typegen").RuleOptions) | undefined;
|
|
248
|
+
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
249
|
+
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
250
|
+
declare const GLOB_JS = "**/*.?([cm])js";
|
|
251
|
+
declare const GLOB_JSX = "**/*.?([cm])jsx";
|
|
252
|
+
declare const GLOB_TS = "**/*.?([cm])ts";
|
|
253
|
+
declare const GLOB_TSX = "**/*.?([cm])tsx";
|
|
254
|
+
declare const GLOB_DTS = "**/*.d.?([cm])ts";
|
|
255
|
+
declare const GLOB_TYPINGS = "typings/**/*.?([cm])ts";
|
|
256
|
+
declare const GLOB_MJS = "**/*.mjs";
|
|
257
|
+
declare const GLOB_MTS = "**/*.mts";
|
|
258
|
+
declare const GLOB_CJS = "**/*.cjs";
|
|
259
|
+
declare const GLOB_CTS = "**/*.cts";
|
|
260
|
+
declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
261
|
+
declare const GLOB_CSS = "**/*.css";
|
|
262
|
+
declare const GLOB_POSTCSS = "**/*.{p,post}css";
|
|
263
|
+
declare const GLOB_LESS = "**/*.less";
|
|
264
|
+
declare const GLOB_SCSS = "**/*.scss";
|
|
265
|
+
declare const GLOB_JSON = "**/*.json";
|
|
266
|
+
declare const GLOB_JSON5 = "**/*.json5";
|
|
267
|
+
declare const GLOB_JSONC = "**/*.jsonc";
|
|
268
|
+
declare const GLOB_MARKDOWN = "**/*.md";
|
|
269
|
+
declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
270
|
+
declare const GLOB_VUE = "**/*.vue";
|
|
271
|
+
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
272
|
+
declare const GLOB_TOML = "**/*.toml";
|
|
273
|
+
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
274
|
+
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
275
|
+
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
276
|
+
declare const GLOB_TESTS: string[];
|
|
277
|
+
declare const GLOB_ALL_SRC: string[];
|
|
278
|
+
declare const GLOB_EXCLUDE: string[];
|
|
279
|
+
export { comments, formatters, functional, ignores, imports, inEditor, javascript, jsdoc, jsonc, markdown, node, overrides, sortTsconfig, StylisticConfigDefaults, stylistic, test, toml, typescript, unicorn, unocss, vue, yaml, defaultPluginRenaming, rsEslint, rsEslint as default, ResolvedOptions, resolveSubOptions, getOverrides, GLOB_SRC_EXT, GLOB_SRC, GLOB_JS, GLOB_JSX, GLOB_TS, GLOB_TSX, GLOB_DTS, GLOB_TYPINGS, GLOB_MJS, GLOB_MTS, GLOB_CJS, GLOB_CTS, GLOB_STYLE, GLOB_CSS, GLOB_POSTCSS, GLOB_LESS, GLOB_SCSS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_MARKDOWN, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_VUE, GLOB_YAML, GLOB_TOML, GLOB_HTML, GLOB_GRAPHQL, GLOB_MARKDOWN_CODE, GLOB_TESTS, GLOB_ALL_SRC, GLOB_EXCLUDE, Awaitable, Rules, FlatConfigItem, OptionsFiles, OptionsVue, OptionsTypescript, OptionsFormatters, OptionsComponentExts, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypeScriptUnsafeSeverity, OptionsHasTypeScript, OptionsStylistic, StylisticConfig, OptionsOverrides, OptionsIsInEditor, OptionsUnoCSS, OptionsFunctional, OptionsIgnores, OptionsConfig };
|