@jsse/eslint-config 0.2.20 → 0.2.21
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/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/esm/cli.d.ts +1 -0
- package/dist/esm/cli.js +96 -0
- package/dist/esm/cli.js.map +1 -0
- package/dist/esm/config-fns.d.ts +56 -0
- package/dist/esm/config-fns.js +76 -0
- package/dist/esm/config-fns.js.map +1 -0
- package/dist/esm/configs/antfu.d.ts +4 -0
- package/dist/esm/configs/antfu.js +31 -0
- package/dist/esm/configs/antfu.js.map +1 -0
- package/dist/esm/configs/comments.d.ts +2 -0
- package/dist/esm/configs/comments.js +17 -0
- package/dist/esm/configs/comments.js.map +1 -0
- package/dist/esm/configs/gql.d.ts +2 -0
- package/dist/esm/configs/gql.js +5 -0
- package/dist/esm/configs/gql.js.map +1 -0
- package/dist/esm/configs/ignores.d.ts +2 -0
- package/dist/esm/configs/ignores.js +10 -0
- package/dist/esm/configs/ignores.js.map +1 -0
- package/dist/esm/configs/imports.d.ts +2 -0
- package/dist/esm/configs/imports.js +30 -0
- package/dist/esm/configs/imports.js.map +1 -0
- package/dist/esm/configs/javascript.d.ts +6 -0
- package/dist/esm/configs/javascript.js +263 -0
- package/dist/esm/configs/javascript.js.map +1 -0
- package/dist/esm/configs/jsdoc.d.ts +2 -0
- package/dist/esm/configs/jsdoc.js +32 -0
- package/dist/esm/configs/jsdoc.js.map +1 -0
- package/dist/esm/configs/jsonc.d.ts +4 -0
- package/dist/esm/configs/jsonc.js +77 -0
- package/dist/esm/configs/jsonc.js.map +1 -0
- package/dist/esm/configs/markdown.d.ts +4 -0
- package/dist/esm/configs/markdown.js +123 -0
- package/dist/esm/configs/markdown.js.map +1 -0
- package/dist/esm/configs/n.d.ts +2 -0
- package/dist/esm/configs/n.js +22 -0
- package/dist/esm/configs/n.js.map +1 -0
- package/dist/esm/configs/no-only-tests.d.ts +4 -0
- package/dist/esm/configs/no-only-tests.js +32 -0
- package/dist/esm/configs/no-only-tests.js.map +1 -0
- package/dist/esm/configs/perfectionist.d.ts +7 -0
- package/dist/esm/configs/perfectionist.js +61 -0
- package/dist/esm/configs/perfectionist.js.map +1 -0
- package/dist/esm/configs/prettier.d.ts +7 -0
- package/dist/esm/configs/prettier.js +127 -0
- package/dist/esm/configs/prettier.js.map +1 -0
- package/dist/esm/configs/react.d.ts +6 -0
- package/dist/esm/configs/react.js +302 -0
- package/dist/esm/configs/react.js.map +1 -0
- package/dist/esm/configs/sort-package-json.d.ts +7 -0
- package/dist/esm/configs/sort-package-json.js +90 -0
- package/dist/esm/configs/sort-package-json.js.map +1 -0
- package/dist/esm/configs/sort-tsconfig.d.ts +14 -0
- package/dist/esm/configs/sort-tsconfig.js +134 -0
- package/dist/esm/configs/sort-tsconfig.js.map +1 -0
- package/dist/esm/configs/stylistic.d.ts +2 -0
- package/dist/esm/configs/stylistic.js +38 -0
- package/dist/esm/configs/stylistic.js.map +1 -0
- package/dist/esm/configs/tailwind.d.ts +2 -0
- package/dist/esm/configs/tailwind.js +49 -0
- package/dist/esm/configs/tailwind.js.map +1 -0
- package/dist/esm/configs/toml.d.ts +2 -0
- package/dist/esm/configs/toml.js +51 -0
- package/dist/esm/configs/toml.js.map +1 -0
- package/dist/esm/configs/ts/parser.d.ts +7 -0
- package/dist/esm/configs/ts/parser.js +66 -0
- package/dist/esm/configs/ts/parser.js.map +1 -0
- package/dist/esm/configs/ts/requires-type-checking.d.ts +1 -0
- package/dist/esm/configs/ts/requires-type-checking.js +58 -0
- package/dist/esm/configs/ts/requires-type-checking.js.map +1 -0
- package/dist/esm/configs/ts/typescript-language-options.d.ts +2 -0
- package/dist/esm/configs/ts/typescript-language-options.js +23 -0
- package/dist/esm/configs/ts/typescript-language-options.js.map +1 -0
- package/dist/esm/configs/ts/typescript-rules.d.ts +6 -0
- package/dist/esm/configs/ts/typescript-rules.js +416 -0
- package/dist/esm/configs/ts/typescript-rules.js.map +1 -0
- package/dist/esm/configs/ts/typescript.d.ts +4 -0
- package/dist/esm/configs/ts/typescript.js +110 -0
- package/dist/esm/configs/ts/typescript.js.map +1 -0
- package/dist/esm/configs/tsdoc.d.ts +2 -0
- package/dist/esm/configs/tsdoc.js +17 -0
- package/dist/esm/configs/tsdoc.js.map +1 -0
- package/dist/esm/configs/unicorn.d.ts +2 -0
- package/dist/esm/configs/unicorn.js +116 -0
- package/dist/esm/configs/unicorn.js.map +1 -0
- package/dist/esm/configs/vitest.d.ts +4 -0
- package/dist/esm/configs/vitest.js +30 -0
- package/dist/esm/configs/vitest.js.map +1 -0
- package/dist/esm/configs/yml.d.ts +4 -0
- package/dist/esm/configs/yml.js +52 -0
- package/dist/esm/configs/yml.js.map +1 -0
- package/dist/esm/const.d.ts +5 -0
- package/dist/esm/const.js +12 -0
- package/dist/esm/const.js.map +1 -0
- package/dist/esm/define-config.d.ts +7 -0
- package/dist/esm/define-config.js +234 -0
- package/dist/esm/define-config.js.map +1 -0
- package/dist/esm/dev.d.ts +4 -0
- package/dist/esm/dev.js +26 -0
- package/dist/esm/dev.js.map +1 -0
- package/dist/esm/fixable.d.ts +1 -0
- package/dist/esm/fixable.js +390 -0
- package/dist/esm/fixable.js.map +1 -0
- package/dist/esm/globs.d.ts +25 -0
- package/dist/esm/globs.js +74 -0
- package/dist/esm/globs.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lager.d.ts +31 -0
- package/dist/esm/lager.js +87 -0
- package/dist/esm/lager.js.map +1 -0
- package/dist/esm/plugindex.d.ts +7 -0
- package/dist/esm/plugindex.js +61 -0
- package/dist/esm/plugindex.js.map +1 -0
- package/dist/esm/plugins-all.d.ts +23 -0
- package/dist/esm/plugins-all.js +27 -0
- package/dist/esm/plugins-all.js.map +1 -0
- package/dist/esm/plugins.d.ts +983 -0
- package/dist/esm/plugins.js +113 -0
- package/dist/esm/plugins.js.map +1 -0
- package/dist/esm/presets.d.ts +2 -0
- package/dist/esm/presets.js +13 -0
- package/dist/esm/presets.js.map +1 -0
- package/dist/esm/types.d.ts +255 -0
- package/dist/esm/types.js +2 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/utils.d.ts +51 -0
- package/dist/esm/utils.js +157 -0
- package/dist/esm/utils.js.map +1 -0
- package/dist/index.cjs +188 -143
- package/dist/index.d.cts +18 -20
- package/dist/index.d.ts +18 -20
- package/dist/index.js +193 -151
- package/package.json +12 -5
package/dist/index.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ import * as eslint_plugin_jsonc_types from 'eslint-plugin-jsonc/types';
|
|
|
14
14
|
import * as eslint_plugin_jsonc_meta from 'eslint-plugin-jsonc/meta';
|
|
15
15
|
import * as jsonc_eslint_parser from 'jsonc-eslint-parser';
|
|
16
16
|
import * as eslint_plugin_react from 'eslint-plugin-react';
|
|
17
|
+
export { default as pluginEslintComments } from '@eslint-community/eslint-plugin-eslint-comments';
|
|
17
18
|
export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
|
|
18
19
|
export { default as pluginAntfu } from 'eslint-plugin-antfu';
|
|
19
|
-
export { default as pluginEslintComments } from 'eslint-plugin-eslint-comments';
|
|
20
20
|
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
21
21
|
export { eslintPluginImportX as pluginImport };
|
|
22
22
|
export { default as pluginN } from 'eslint-plugin-n';
|
|
@@ -4242,47 +4242,47 @@ type AntfuIndentUnindent =
|
|
|
4242
4242
|
interface EslintCommentsRuleOptions {
|
|
4243
4243
|
/**
|
|
4244
4244
|
* require a `eslint-enable` comment for every `eslint-disable` comment
|
|
4245
|
-
* @see https://
|
|
4245
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
|
|
4246
4246
|
*/
|
|
4247
4247
|
"eslint-comments/disable-enable-pair"?: Linter.RuleEntry<EslintCommentsDisableEnablePair>;
|
|
4248
4248
|
/**
|
|
4249
4249
|
* disallow a `eslint-enable` comment for multiple `eslint-disable` comments
|
|
4250
|
-
* @see https://
|
|
4250
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
|
|
4251
4251
|
*/
|
|
4252
4252
|
"eslint-comments/no-aggregating-enable"?: Linter.RuleEntry<[]>;
|
|
4253
4253
|
/**
|
|
4254
4254
|
* disallow duplicate `eslint-disable` comments
|
|
4255
|
-
* @see https://
|
|
4255
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
|
|
4256
4256
|
*/
|
|
4257
4257
|
"eslint-comments/no-duplicate-disable"?: Linter.RuleEntry<[]>;
|
|
4258
4258
|
/**
|
|
4259
4259
|
* disallow `eslint-disable` comments about specific rules
|
|
4260
|
-
* @see https://
|
|
4260
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
|
|
4261
4261
|
*/
|
|
4262
4262
|
"eslint-comments/no-restricted-disable"?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>;
|
|
4263
4263
|
/**
|
|
4264
4264
|
* disallow `eslint-disable` comments without rule names
|
|
4265
|
-
* @see https://
|
|
4265
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
|
|
4266
4266
|
*/
|
|
4267
4267
|
"eslint-comments/no-unlimited-disable"?: Linter.RuleEntry<[]>;
|
|
4268
4268
|
/**
|
|
4269
4269
|
* disallow unused `eslint-disable` comments
|
|
4270
|
-
* @see https://
|
|
4270
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
|
|
4271
4271
|
*/
|
|
4272
4272
|
"eslint-comments/no-unused-disable"?: Linter.RuleEntry<[]>;
|
|
4273
4273
|
/**
|
|
4274
4274
|
* disallow unused `eslint-enable` comments
|
|
4275
|
-
* @see https://
|
|
4275
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
|
|
4276
4276
|
*/
|
|
4277
4277
|
"eslint-comments/no-unused-enable"?: Linter.RuleEntry<[]>;
|
|
4278
4278
|
/**
|
|
4279
4279
|
* disallow ESLint directive-comments
|
|
4280
|
-
* @see https://
|
|
4280
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html
|
|
4281
4281
|
*/
|
|
4282
4282
|
"eslint-comments/no-use"?: Linter.RuleEntry<EslintCommentsNoUse>;
|
|
4283
4283
|
/**
|
|
4284
4284
|
* require include descriptions in ESLint directive-comments
|
|
4285
|
-
* @see https://
|
|
4285
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
|
|
4286
4286
|
*/
|
|
4287
4287
|
"eslint-comments/require-description"?: Linter.RuleEntry<EslintCommentsRequireDescription>;
|
|
4288
4288
|
}
|
|
@@ -21360,7 +21360,7 @@ type RuleOptionsUnion = BuiltinsRuleOptions &
|
|
|
21360
21360
|
type Awaitable<T> = T | Promise<T>;
|
|
21361
21361
|
type Rules = RuleOptionsUnion;
|
|
21362
21362
|
type LanguageOptions = Linter.Config["languageOptions"];
|
|
21363
|
-
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"
|
|
21363
|
+
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
|
|
21364
21364
|
/**
|
|
21365
21365
|
* Custom name of each config item
|
|
21366
21366
|
*/
|
|
@@ -21371,12 +21371,6 @@ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plug
|
|
|
21371
21371
|
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
21372
21372
|
*/
|
|
21373
21373
|
plugins?: Record<string, any>;
|
|
21374
|
-
/**
|
|
21375
|
-
* An object containing a name-value mapping of rules to use.
|
|
21376
|
-
*/
|
|
21377
|
-
rules?: {
|
|
21378
|
-
[key: string]: Linter.RuleEntry;
|
|
21379
|
-
} & Rules;
|
|
21380
21374
|
};
|
|
21381
21375
|
type RuleName = keyof Rules;
|
|
21382
21376
|
type TypedFlatConfigItemWithId = TypedFlatConfigItem & {
|
|
@@ -21625,6 +21619,8 @@ declare const SLOW_RULES: RuleName[];
|
|
|
21625
21619
|
* Construct an array of ESLint flat config items.
|
|
21626
21620
|
*/
|
|
21627
21621
|
declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
|
|
21622
|
+
declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
|
|
21623
|
+
type DefineConfig = typeof defineConfig;
|
|
21628
21624
|
|
|
21629
21625
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
21630
21626
|
declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
|
@@ -22626,8 +22622,7 @@ declare function safeImportPluginTailwind(): Promise<neverthrow.Ok<{
|
|
|
22626
22622
|
pluginTailwind: any;
|
|
22627
22623
|
}, never> | neverthrow.Err<never, Error>>;
|
|
22628
22624
|
|
|
22629
|
-
declare
|
|
22630
|
-
declare function jsseReact(): Promise<TypedFlatConfigItem[]>;
|
|
22625
|
+
declare const jsseReact: DefineConfig;
|
|
22631
22626
|
|
|
22632
22627
|
/**
|
|
22633
22628
|
* Combine array and non-array configs into a single array.
|
|
@@ -22675,5 +22670,8 @@ declare const parserPlain: {
|
|
|
22675
22670
|
};
|
|
22676
22671
|
};
|
|
22677
22672
|
declare function turnOffRules(configs: TypedFlatConfigItem[], off: string[]): TypedFlatConfigItem[];
|
|
22673
|
+
declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, level: Linter.RuleSeverity): Linter.RuleEntry<any>;
|
|
22674
|
+
declare function error2warn<T extends TypedFlatConfigItem>(configs: T[]): T[];
|
|
22675
|
+
declare function warn2error<T extends TypedFlatConfigItem>(configs: T[]): T[];
|
|
22678
22676
|
|
|
22679
|
-
export { type Awaitable, type EslintConfigFn, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_YAML, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type PromiseFlatConfigItem, type RenamePefix, type RuleName, type Rules, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, type TypedFlatConfigItemWithId, combine, combineAsync, jsse as default, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact,
|
|
22677
|
+
export { type Awaitable, type EslintConfigFn, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_YAML, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type PromiseFlatConfigItem, type RenamePefix, type RuleName, type Rules, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, type TypedFlatConfigItemWithId, changeRuleEntrySeverity, combine, combineAsync, jsse as default, defineConfig, error2warn, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, renameRules, safeImportPluginTailwind, turnOffRules, uniqueStrings, warn2error };
|
package/dist/index.js
CHANGED
|
@@ -3018,7 +3018,7 @@ var SLOW_RULES = [
|
|
|
3018
3018
|
"unicorn/no-unnecessary-polyfills"
|
|
3019
3019
|
];
|
|
3020
3020
|
|
|
3021
|
-
// src/
|
|
3021
|
+
// src/define-config.ts
|
|
3022
3022
|
import fs2 from "node:fs";
|
|
3023
3023
|
import process6 from "node:process";
|
|
3024
3024
|
|
|
@@ -9879,81 +9879,6 @@ function resolvePackage(name, options = {}) {
|
|
|
9879
9879
|
}
|
|
9880
9880
|
}
|
|
9881
9881
|
|
|
9882
|
-
// src/globs.ts
|
|
9883
|
-
var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
9884
|
-
var GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
|
9885
|
-
var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
9886
|
-
var GLOB_JS = "**/*.?([cm])js";
|
|
9887
|
-
var GLOB_JSX = "**/*.?([cm])jsx";
|
|
9888
|
-
var GLOB_TS = "**/*.?([cm])ts";
|
|
9889
|
-
var GLOB_TSX = "**/*.?([cm])tsx";
|
|
9890
|
-
var GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
9891
|
-
var GLOB_CSS = "**/*.css";
|
|
9892
|
-
var GLOB_LESS = "**/*.less";
|
|
9893
|
-
var GLOB_SCSS = "**/*.scss";
|
|
9894
|
-
var GLOB_JSON = "**/*.json";
|
|
9895
|
-
var GLOB_JSON5 = "**/*.json5";
|
|
9896
|
-
var GLOB_JSONC = "**/*.jsonc";
|
|
9897
|
-
var GLOB_TOML = "**/*.toml";
|
|
9898
|
-
var GLOB_MARKDOWN = "**/*.md";
|
|
9899
|
-
var GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
9900
|
-
var GLOB_GRAPHQL = ["**/*.graphql", "**/*.gql"];
|
|
9901
|
-
var GLOB_YAML = "**/*.y?(a)ml";
|
|
9902
|
-
var GLOB_HTML = "**/*.htm?(l)";
|
|
9903
|
-
var GLOB_TSCONFIG = ["**/tsconfig.json", "**/tsconfig.*.json"];
|
|
9904
|
-
var GLOB_MARKDOWN_CODE = `${GLOB_MARKDOWN}/${GLOB_SRC}`;
|
|
9905
|
-
var GLOB_TESTS = [
|
|
9906
|
-
`**/__tests__/**/*.${GLOB_SRC_EXT}`,
|
|
9907
|
-
`**/*.spec.${GLOB_SRC_EXT}`,
|
|
9908
|
-
`**/*.test.${GLOB_SRC_EXT}`,
|
|
9909
|
-
`**/*.bench.${GLOB_SRC_EXT}`,
|
|
9910
|
-
`**/*.benchmark.${GLOB_SRC_EXT}`
|
|
9911
|
-
];
|
|
9912
|
-
var GLOB_ALL_SRC = [
|
|
9913
|
-
GLOB_SRC,
|
|
9914
|
-
GLOB_STYLE,
|
|
9915
|
-
GLOB_JSON,
|
|
9916
|
-
GLOB_JSON5,
|
|
9917
|
-
GLOB_MARKDOWN,
|
|
9918
|
-
GLOB_YAML,
|
|
9919
|
-
GLOB_HTML
|
|
9920
|
-
];
|
|
9921
|
-
var GLOB_EXCLUDE = [
|
|
9922
|
-
"**/__snapshots__",
|
|
9923
|
-
"**/.cache",
|
|
9924
|
-
"**/.changeset",
|
|
9925
|
-
"**/.history",
|
|
9926
|
-
"**/.idea",
|
|
9927
|
-
"**/.next",
|
|
9928
|
-
"**/.nuxt",
|
|
9929
|
-
"**/.output",
|
|
9930
|
-
"**/.temp",
|
|
9931
|
-
"**/.tmp",
|
|
9932
|
-
"**/.vercel",
|
|
9933
|
-
"**/.vite-inspect",
|
|
9934
|
-
"**/.vitepress/cache",
|
|
9935
|
-
"**/*.bak",
|
|
9936
|
-
"**/*.min.*",
|
|
9937
|
-
"**/.yarn",
|
|
9938
|
-
"**/.pnp.*",
|
|
9939
|
-
"**/auto-import?(s).d.ts",
|
|
9940
|
-
"**/bun.lockb",
|
|
9941
|
-
"**/CHANGELOG*.md",
|
|
9942
|
-
"**/components.d.ts",
|
|
9943
|
-
"**/coverage",
|
|
9944
|
-
"**/dist",
|
|
9945
|
-
"**/LICENSE*",
|
|
9946
|
-
"**/node_modules",
|
|
9947
|
-
"**/out",
|
|
9948
|
-
"**/output",
|
|
9949
|
-
"**/package-lock.json",
|
|
9950
|
-
"**/pnpm-lock.yaml",
|
|
9951
|
-
"**/scratch",
|
|
9952
|
-
"**/temp",
|
|
9953
|
-
"**/tmp",
|
|
9954
|
-
"**/yarn.lock"
|
|
9955
|
-
];
|
|
9956
|
-
|
|
9957
9882
|
// node_modules/.pnpm/neverthrow@8.0.0/node_modules/neverthrow/dist/index.es.js
|
|
9958
9883
|
var defaultErrorConfig = {
|
|
9959
9884
|
withStackTrace: false
|
|
@@ -10373,7 +10298,7 @@ var fromThrowable = Result.fromThrowable;
|
|
|
10373
10298
|
import process3 from "node:process";
|
|
10374
10299
|
|
|
10375
10300
|
// src/lager.ts
|
|
10376
|
-
var
|
|
10301
|
+
var LAGER_LEVELS = {
|
|
10377
10302
|
trace: 10,
|
|
10378
10303
|
debug: 20,
|
|
10379
10304
|
info: 30,
|
|
@@ -10387,7 +10312,7 @@ function isLagerLevel(level) {
|
|
|
10387
10312
|
var Lager = class {
|
|
10388
10313
|
_level = "info";
|
|
10389
10314
|
id = "lager";
|
|
10390
|
-
levelNo =
|
|
10315
|
+
levelNo = LAGER_LEVELS[this._level];
|
|
10391
10316
|
prefix = "";
|
|
10392
10317
|
constructor(options) {
|
|
10393
10318
|
const { level, id, prefix } = {
|
|
@@ -10398,7 +10323,7 @@ var Lager = class {
|
|
|
10398
10323
|
};
|
|
10399
10324
|
this.id = id;
|
|
10400
10325
|
this._level = isLagerLevel(level) ? level : "info";
|
|
10401
|
-
this.levelNo =
|
|
10326
|
+
this.levelNo = LAGER_LEVELS[this._level];
|
|
10402
10327
|
this.prefix = prefix;
|
|
10403
10328
|
this.log = this.log.bind(this);
|
|
10404
10329
|
this.debug = this.debug.bind(this);
|
|
@@ -10408,46 +10333,41 @@ var Lager = class {
|
|
|
10408
10333
|
}
|
|
10409
10334
|
set level(level) {
|
|
10410
10335
|
this._level = level;
|
|
10411
|
-
this.levelNo =
|
|
10336
|
+
this.levelNo = LAGER_LEVELS[level];
|
|
10412
10337
|
}
|
|
10413
10338
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10414
10339
|
log(...args) {
|
|
10415
|
-
console.log(...args);
|
|
10340
|
+
console.log(this.prefix, ...args);
|
|
10416
10341
|
}
|
|
10417
10342
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10418
10343
|
trace(...args) {
|
|
10419
|
-
if (this.levelNo
|
|
10420
|
-
|
|
10344
|
+
if (this.levelNo <= LAGER_LEVELS.trace) {
|
|
10345
|
+
console.trace(this.prefix, ...args);
|
|
10421
10346
|
}
|
|
10422
|
-
console.trace(...args);
|
|
10423
10347
|
}
|
|
10424
10348
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10425
10349
|
debug(...args) {
|
|
10426
|
-
if (this.levelNo
|
|
10427
|
-
|
|
10350
|
+
if (this.levelNo <= LAGER_LEVELS.debug) {
|
|
10351
|
+
console.debug(this.prefix, ...args);
|
|
10428
10352
|
}
|
|
10429
|
-
console.debug(...args);
|
|
10430
10353
|
}
|
|
10431
10354
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10432
10355
|
info(...args) {
|
|
10433
|
-
if (this.levelNo
|
|
10434
|
-
|
|
10356
|
+
if (this.levelNo <= LAGER_LEVELS.info) {
|
|
10357
|
+
console.info(this.prefix, ...args);
|
|
10435
10358
|
}
|
|
10436
|
-
console.info("[@jsse/eslint-config]", ...args);
|
|
10437
10359
|
}
|
|
10438
10360
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10439
10361
|
warn(...args) {
|
|
10440
|
-
if (this.levelNo
|
|
10441
|
-
|
|
10362
|
+
if (this.levelNo <= LAGER_LEVELS.warn) {
|
|
10363
|
+
console.warn(this.prefix, ...args);
|
|
10442
10364
|
}
|
|
10443
|
-
console.warn(...args);
|
|
10444
10365
|
}
|
|
10445
10366
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10446
10367
|
error(...args) {
|
|
10447
|
-
if (this.levelNo
|
|
10448
|
-
|
|
10368
|
+
if (this.levelNo <= LAGER_LEVELS.error) {
|
|
10369
|
+
console.error(this.prefix, ...args);
|
|
10449
10370
|
}
|
|
10450
|
-
console.error(...args);
|
|
10451
10371
|
}
|
|
10452
10372
|
};
|
|
10453
10373
|
var log = new Lager();
|
|
@@ -10537,12 +10457,11 @@ function turnOffRules(configs, off) {
|
|
|
10537
10457
|
}
|
|
10538
10458
|
}
|
|
10539
10459
|
for (const config of configs) {
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
}
|
|
10460
|
+
const cfgRules = config.rules;
|
|
10461
|
+
if (cfgRules) {
|
|
10462
|
+
for (const rule of off) {
|
|
10463
|
+
if (cfgRules[rule] !== void 0 && cfgRules[rule] !== "off" && cfgRules[rule] !== 0) {
|
|
10464
|
+
cfgRules[rule] = "off";
|
|
10546
10465
|
}
|
|
10547
10466
|
}
|
|
10548
10467
|
}
|
|
@@ -10550,12 +10469,57 @@ function turnOffRules(configs, off) {
|
|
|
10550
10469
|
}
|
|
10551
10470
|
return configs;
|
|
10552
10471
|
}
|
|
10472
|
+
function changeRuleEntrySeverity(ruleConfig, level) {
|
|
10473
|
+
if (Array.isArray(ruleConfig)) {
|
|
10474
|
+
if (ruleConfig[0] !== level) {
|
|
10475
|
+
ruleConfig[0] = level;
|
|
10476
|
+
}
|
|
10477
|
+
return ruleConfig;
|
|
10478
|
+
}
|
|
10479
|
+
return level;
|
|
10480
|
+
}
|
|
10481
|
+
function error2warn(configs) {
|
|
10482
|
+
for (const config of configs) {
|
|
10483
|
+
if (config.rules) {
|
|
10484
|
+
config.rules = Object.fromEntries(
|
|
10485
|
+
Object.entries(config.rules).map(([key, value]) => {
|
|
10486
|
+
if (value === "error" || value === 2) {
|
|
10487
|
+
return [key, changeRuleEntrySeverity(value, "warn")];
|
|
10488
|
+
}
|
|
10489
|
+
if (Array.isArray(value) && (value[0] === "error" || value[0] === 2)) {
|
|
10490
|
+
return [key, changeRuleEntrySeverity(value, "warn")];
|
|
10491
|
+
}
|
|
10492
|
+
return [key, value];
|
|
10493
|
+
})
|
|
10494
|
+
);
|
|
10495
|
+
}
|
|
10496
|
+
}
|
|
10497
|
+
return configs;
|
|
10498
|
+
}
|
|
10499
|
+
function warn2error(configs) {
|
|
10500
|
+
for (const config of configs) {
|
|
10501
|
+
if (config.rules) {
|
|
10502
|
+
config.rules = Object.fromEntries(
|
|
10503
|
+
Object.entries(config.rules).map(([key, value]) => {
|
|
10504
|
+
if (value === "warn" || value === 1) {
|
|
10505
|
+
return [key, changeRuleEntrySeverity(value, "error")];
|
|
10506
|
+
}
|
|
10507
|
+
if (Array.isArray(value) && (value[0] === "warn" || value[0] === 1)) {
|
|
10508
|
+
return [key, changeRuleEntrySeverity(value, "error")];
|
|
10509
|
+
}
|
|
10510
|
+
return [key, value];
|
|
10511
|
+
})
|
|
10512
|
+
);
|
|
10513
|
+
}
|
|
10514
|
+
}
|
|
10515
|
+
return configs;
|
|
10516
|
+
}
|
|
10553
10517
|
|
|
10554
10518
|
// src/plugins.ts
|
|
10555
|
-
import { default as default2 } from "@
|
|
10519
|
+
import { default as default2 } from "@eslint-community/eslint-plugin-eslint-comments";
|
|
10520
|
+
import { default as default3 } from "@typescript-eslint/eslint-plugin";
|
|
10556
10521
|
import * as parserTs from "@typescript-eslint/parser";
|
|
10557
|
-
import { default as
|
|
10558
|
-
import { default as default4 } from "eslint-plugin-eslint-comments";
|
|
10522
|
+
import { default as default4 } from "eslint-plugin-antfu";
|
|
10559
10523
|
import * as pluginImport from "eslint-plugin-import-x";
|
|
10560
10524
|
import { default as default5 } from "eslint-plugin-n";
|
|
10561
10525
|
import { default as default6 } from "eslint-plugin-perfectionist";
|
|
@@ -10668,35 +10632,33 @@ async function safeImportPluginTailwind() {
|
|
|
10668
10632
|
}
|
|
10669
10633
|
|
|
10670
10634
|
// src/configs/antfu.ts
|
|
10671
|
-
var antfu = async () => {
|
|
10635
|
+
var antfu = async (options) => {
|
|
10672
10636
|
return [
|
|
10673
10637
|
{
|
|
10674
10638
|
name: "jsse/antfu",
|
|
10675
10639
|
plugins: {
|
|
10676
|
-
antfu:
|
|
10640
|
+
antfu: default4
|
|
10677
10641
|
},
|
|
10678
|
-
// @ts-expect-error - antfu plugin types err
|
|
10679
10642
|
rules: {
|
|
10680
|
-
|
|
10681
|
-
"antfu/top-level-function": "
|
|
10682
|
-
}
|
|
10683
|
-
},
|
|
10684
|
-
{
|
|
10685
|
-
files: ["**/src/**/*"],
|
|
10686
|
-
name: "jsse/antfu/src",
|
|
10687
|
-
// @ts-expect-error - antfu plugin types err
|
|
10688
|
-
rules: {
|
|
10689
|
-
"antfu/no-import-dist": "error"
|
|
10690
|
-
}
|
|
10691
|
-
},
|
|
10692
|
-
{
|
|
10693
|
-
files: ["**/bin/**/*", `**/bin.${GLOB_SRC_EXT}`],
|
|
10694
|
-
name: "jsse/antfu/bin",
|
|
10695
|
-
rules: {
|
|
10696
|
-
"antfu/no-import-dist": "off",
|
|
10697
|
-
"antfu/no-import-node-modules-by-path": "off"
|
|
10643
|
+
// used to like the following rule, but now find it annoying
|
|
10644
|
+
"antfu/top-level-function": options?.topLevelFunction ?? "off"
|
|
10698
10645
|
}
|
|
10699
10646
|
}
|
|
10647
|
+
// {
|
|
10648
|
+
// files: ["**/src/**/*"],
|
|
10649
|
+
// name: "jsse/antfu/src",
|
|
10650
|
+
// rules: {
|
|
10651
|
+
// "antfu/no-import-dist": "error",
|
|
10652
|
+
// },
|
|
10653
|
+
// },
|
|
10654
|
+
// {
|
|
10655
|
+
// files: ["**/bin/**/*", `**/bin.${GLOB_SRC_EXT}`],
|
|
10656
|
+
// name: "jsse/antfu/bin",
|
|
10657
|
+
// rules: {
|
|
10658
|
+
// "antfu/no-import-dist": "off",
|
|
10659
|
+
// "antfu/no-import-node-modules-by-path": "off",
|
|
10660
|
+
// },
|
|
10661
|
+
// },
|
|
10700
10662
|
];
|
|
10701
10663
|
};
|
|
10702
10664
|
|
|
@@ -10706,7 +10668,7 @@ var comments = async () => [
|
|
|
10706
10668
|
name: "jsse/eslint-comments",
|
|
10707
10669
|
plugins: {
|
|
10708
10670
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10709
|
-
"eslint-comments":
|
|
10671
|
+
"eslint-comments": default2
|
|
10710
10672
|
},
|
|
10711
10673
|
rules: {
|
|
10712
10674
|
"eslint-comments/no-aggregating-enable": "error",
|
|
@@ -10717,6 +10679,81 @@ var comments = async () => [
|
|
|
10717
10679
|
}
|
|
10718
10680
|
];
|
|
10719
10681
|
|
|
10682
|
+
// src/globs.ts
|
|
10683
|
+
var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
10684
|
+
var GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
|
10685
|
+
var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
10686
|
+
var GLOB_JS = "**/*.?([cm])js";
|
|
10687
|
+
var GLOB_JSX = "**/*.?([cm])jsx";
|
|
10688
|
+
var GLOB_TS = "**/*.?([cm])ts";
|
|
10689
|
+
var GLOB_TSX = "**/*.?([cm])tsx";
|
|
10690
|
+
var GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
10691
|
+
var GLOB_CSS = "**/*.css";
|
|
10692
|
+
var GLOB_LESS = "**/*.less";
|
|
10693
|
+
var GLOB_SCSS = "**/*.scss";
|
|
10694
|
+
var GLOB_JSON = "**/*.json";
|
|
10695
|
+
var GLOB_JSON5 = "**/*.json5";
|
|
10696
|
+
var GLOB_JSONC = "**/*.jsonc";
|
|
10697
|
+
var GLOB_TOML = "**/*.toml";
|
|
10698
|
+
var GLOB_MARKDOWN = "**/*.md";
|
|
10699
|
+
var GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
10700
|
+
var GLOB_GRAPHQL = ["**/*.graphql", "**/*.gql"];
|
|
10701
|
+
var GLOB_YAML = "**/*.y?(a)ml";
|
|
10702
|
+
var GLOB_HTML = "**/*.htm?(l)";
|
|
10703
|
+
var GLOB_TSCONFIG = ["**/tsconfig.json", "**/tsconfig.*.json"];
|
|
10704
|
+
var GLOB_MARKDOWN_CODE = `${GLOB_MARKDOWN}/${GLOB_SRC}`;
|
|
10705
|
+
var GLOB_TESTS = [
|
|
10706
|
+
`**/__tests__/**/*.${GLOB_SRC_EXT}`,
|
|
10707
|
+
`**/*.spec.${GLOB_SRC_EXT}`,
|
|
10708
|
+
`**/*.test.${GLOB_SRC_EXT}`,
|
|
10709
|
+
`**/*.bench.${GLOB_SRC_EXT}`,
|
|
10710
|
+
`**/*.benchmark.${GLOB_SRC_EXT}`
|
|
10711
|
+
];
|
|
10712
|
+
var GLOB_ALL_SRC = [
|
|
10713
|
+
GLOB_SRC,
|
|
10714
|
+
GLOB_STYLE,
|
|
10715
|
+
GLOB_JSON,
|
|
10716
|
+
GLOB_JSON5,
|
|
10717
|
+
GLOB_MARKDOWN,
|
|
10718
|
+
GLOB_YAML,
|
|
10719
|
+
GLOB_HTML
|
|
10720
|
+
];
|
|
10721
|
+
var GLOB_EXCLUDE = [
|
|
10722
|
+
"**/__snapshots__",
|
|
10723
|
+
"**/.cache",
|
|
10724
|
+
"**/.changeset",
|
|
10725
|
+
"**/.history",
|
|
10726
|
+
"**/.idea",
|
|
10727
|
+
"**/.next",
|
|
10728
|
+
"**/.nuxt",
|
|
10729
|
+
"**/.output",
|
|
10730
|
+
"**/.temp",
|
|
10731
|
+
"**/.tmp",
|
|
10732
|
+
"**/.vercel",
|
|
10733
|
+
"**/.vite-inspect",
|
|
10734
|
+
"**/.vitepress/cache",
|
|
10735
|
+
"**/*.bak",
|
|
10736
|
+
"**/*.min.*",
|
|
10737
|
+
"**/.yarn",
|
|
10738
|
+
"**/.pnp.*",
|
|
10739
|
+
"**/auto-import?(s).d.ts",
|
|
10740
|
+
"**/bun.lockb",
|
|
10741
|
+
"**/CHANGELOG*.md",
|
|
10742
|
+
"**/components.d.ts",
|
|
10743
|
+
"**/coverage",
|
|
10744
|
+
"**/dist",
|
|
10745
|
+
"**/LICENSE*",
|
|
10746
|
+
"**/node_modules",
|
|
10747
|
+
"**/out",
|
|
10748
|
+
"**/output",
|
|
10749
|
+
"**/package-lock.json",
|
|
10750
|
+
"**/pnpm-lock.yaml",
|
|
10751
|
+
"**/scratch",
|
|
10752
|
+
"**/temp",
|
|
10753
|
+
"**/tmp",
|
|
10754
|
+
"**/yarn.lock"
|
|
10755
|
+
];
|
|
10756
|
+
|
|
10720
10757
|
// src/configs/ignores.ts
|
|
10721
10758
|
var ignores = async () => {
|
|
10722
10759
|
return [
|
|
@@ -12632,9 +12669,9 @@ var typescript = async (options) => {
|
|
|
12632
12669
|
const tsPrefixTo = prefix?.to ?? "@typescript-eslint";
|
|
12633
12670
|
const tsRules = {
|
|
12634
12671
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
12635
|
-
...(
|
|
12672
|
+
...(default3.configs["eslint-recommended"]?.overrides ?? [])[0]?.rules,
|
|
12636
12673
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
12637
|
-
...
|
|
12674
|
+
...default3.configs.strict?.rules,
|
|
12638
12675
|
"no-invalid-this": "off",
|
|
12639
12676
|
...typescriptRules({
|
|
12640
12677
|
typeAware: false
|
|
@@ -12647,7 +12684,7 @@ var typescript = async (options) => {
|
|
|
12647
12684
|
name: "jsse/typescript/setup",
|
|
12648
12685
|
plugins: {
|
|
12649
12686
|
import: pluginImport,
|
|
12650
|
-
[tsPrefixTo]:
|
|
12687
|
+
[tsPrefixTo]: default3
|
|
12651
12688
|
}
|
|
12652
12689
|
},
|
|
12653
12690
|
...parserConfigs,
|
|
@@ -12919,7 +12956,7 @@ var yml = async (options) => {
|
|
|
12919
12956
|
];
|
|
12920
12957
|
};
|
|
12921
12958
|
|
|
12922
|
-
// src/
|
|
12959
|
+
// src/define-config.ts
|
|
12923
12960
|
var flatConfigProps = [
|
|
12924
12961
|
"files",
|
|
12925
12962
|
"ignores",
|
|
@@ -13170,23 +13207,25 @@ async function jsse(options = {}, ...userConfigs) {
|
|
|
13170
13207
|
}
|
|
13171
13208
|
return combinedConfigs;
|
|
13172
13209
|
}
|
|
13210
|
+
async function defineConfig(options = {}, ...userConfigs) {
|
|
13211
|
+
return jsse(options, ...userConfigs);
|
|
13212
|
+
}
|
|
13173
13213
|
|
|
13174
13214
|
// src/presets.ts
|
|
13175
|
-
|
|
13176
|
-
return jsse(
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
|
|
13189
|
-
}
|
|
13215
|
+
var jsseReact = (options, ...configs) => {
|
|
13216
|
+
return jsse(
|
|
13217
|
+
{
|
|
13218
|
+
react: true,
|
|
13219
|
+
reactRefresh: true,
|
|
13220
|
+
tailwind: true,
|
|
13221
|
+
typescript: {
|
|
13222
|
+
tsconfig: ["./tsconfig.json", "./tsconfig.eslint.json"]
|
|
13223
|
+
},
|
|
13224
|
+
...options
|
|
13225
|
+
},
|
|
13226
|
+
...configs
|
|
13227
|
+
);
|
|
13228
|
+
};
|
|
13190
13229
|
export {
|
|
13191
13230
|
GLOB_ALL_SRC,
|
|
13192
13231
|
GLOB_CSS,
|
|
@@ -13214,9 +13253,12 @@ export {
|
|
|
13214
13253
|
GLOB_TSX,
|
|
13215
13254
|
GLOB_YAML,
|
|
13216
13255
|
SLOW_RULES,
|
|
13256
|
+
changeRuleEntrySeverity,
|
|
13217
13257
|
combine,
|
|
13218
13258
|
combineAsync,
|
|
13219
13259
|
jsse as default,
|
|
13260
|
+
defineConfig,
|
|
13261
|
+
error2warn,
|
|
13220
13262
|
importJsoncLibs,
|
|
13221
13263
|
importParserJsonc,
|
|
13222
13264
|
importPluginJsdoc,
|
|
@@ -13235,19 +13277,19 @@ export {
|
|
|
13235
13277
|
isInEditor,
|
|
13236
13278
|
jsse,
|
|
13237
13279
|
jsseReact,
|
|
13238
|
-
jssestd,
|
|
13239
13280
|
parserPlain,
|
|
13240
13281
|
parserTs,
|
|
13241
|
-
|
|
13242
|
-
|
|
13282
|
+
default4 as pluginAntfu,
|
|
13283
|
+
default2 as pluginEslintComments,
|
|
13243
13284
|
pluginImport,
|
|
13244
13285
|
default5 as pluginN,
|
|
13245
13286
|
default6 as pluginPerfectionist,
|
|
13246
|
-
|
|
13287
|
+
default3 as pluginTs,
|
|
13247
13288
|
default7 as pluginUnicorn,
|
|
13248
13289
|
default8 as pluginUnusedImports,
|
|
13249
13290
|
renameRules,
|
|
13250
13291
|
safeImportPluginTailwind,
|
|
13251
13292
|
turnOffRules,
|
|
13252
|
-
uniqueStrings
|
|
13293
|
+
uniqueStrings,
|
|
13294
|
+
warn2error
|
|
13253
13295
|
};
|