typescript-eslint
Advanced tools
Comparing version 8.20.1-alpha.0 to 8.20.1-alpha.1
import type { TSESLint } from '@typescript-eslint/utils'; | ||
import { config } from './config-helper'; | ||
declare const parser: TSESLint.FlatConfig.Parser; | ||
declare const plugin: TSESLint.FlatConfig.Plugin; | ||
declare const configs: { | ||
export declare const parser: TSESLint.FlatConfig.Parser; | ||
export declare const plugin: TSESLint.FlatConfig.Plugin; | ||
export declare const configs: { | ||
/** | ||
@@ -155,4 +155,3 @@ * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured. | ||
export default _default; | ||
export { configs, parser, plugin }; | ||
export { config, type ConfigWithExtends, type InfiniteDepthConfigWithExtends, type ConfigArray, } from './config-helper'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -39,3 +39,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.config = exports.plugin = exports.parser = exports.configs = void 0; | ||
exports.config = exports.configs = exports.plugin = exports.parser = void 0; | ||
const eslint_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin")); | ||
@@ -57,7 +57,6 @@ const parserBase = __importStar(require("@typescript-eslint/parser")); | ||
const stylistic_type_checked_only_1 = __importDefault(require("./configs/stylistic-type-checked-only")); | ||
const parser = { | ||
exports.parser = { | ||
meta: parserBase.meta, | ||
parseForESLint: parserBase.parseForESLint, | ||
}; | ||
exports.parser = parser; | ||
/* | ||
@@ -86,5 +85,4 @@ we could build a plugin object here without the `configs` key - but if we do | ||
*/ | ||
const plugin = eslint_plugin_1.default; | ||
exports.plugin = plugin; | ||
const configs = { | ||
exports.plugin = eslint_plugin_1.default; | ||
exports.configs = { | ||
/** | ||
@@ -94,3 +92,3 @@ * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured. | ||
*/ | ||
all: (0, all_1.default)(plugin, parser), | ||
all: (0, all_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -101,3 +99,3 @@ * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint. | ||
*/ | ||
base: (0, base_1.default)(plugin, parser), | ||
base: (0, base_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -107,3 +105,3 @@ * A utility ruleset that will disable type-aware linting and all type-aware rules available in our project. | ||
*/ | ||
disableTypeChecked: (0, disable_type_checked_1.default)(plugin, parser), | ||
disableTypeChecked: (0, disable_type_checked_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -115,3 +113,3 @@ * This is a compatibility ruleset that: | ||
*/ | ||
eslintRecommended: (0, eslint_recommended_1.default)(plugin, parser), | ||
eslintRecommended: (0, eslint_recommended_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -121,3 +119,3 @@ * Recommended rules for code correctness that you can drop in without additional configuration. | ||
*/ | ||
recommended: (0, recommended_1.default)(plugin, parser), | ||
recommended: (0, recommended_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -127,3 +125,3 @@ * Contains all of `recommended` along with additional recommended rules that require type information. | ||
*/ | ||
recommendedTypeChecked: (0, recommended_type_checked_1.default)(plugin, parser), | ||
recommendedTypeChecked: (0, recommended_type_checked_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -133,3 +131,3 @@ * A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules. | ||
*/ | ||
recommendedTypeCheckedOnly: (0, recommended_type_checked_only_1.default)(plugin, parser), | ||
recommendedTypeCheckedOnly: (0, recommended_type_checked_only_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -139,3 +137,3 @@ * Contains all of `recommended`, as well as additional strict rules that can also catch bugs. | ||
*/ | ||
strict: (0, strict_1.default)(plugin, parser), | ||
strict: (0, strict_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -145,3 +143,3 @@ * Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information. | ||
*/ | ||
strictTypeChecked: (0, strict_type_checked_1.default)(plugin, parser), | ||
strictTypeChecked: (0, strict_type_checked_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -151,3 +149,3 @@ * A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules. | ||
*/ | ||
strictTypeCheckedOnly: (0, strict_type_checked_only_1.default)(plugin, parser), | ||
strictTypeCheckedOnly: (0, strict_type_checked_only_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -157,3 +155,3 @@ * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic. | ||
*/ | ||
stylistic: (0, stylistic_1.default)(plugin, parser), | ||
stylistic: (0, stylistic_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -163,3 +161,3 @@ * Contains all of `stylistic`, along with additional stylistic rules that require type information. | ||
*/ | ||
stylisticTypeChecked: (0, stylistic_type_checked_1.default)(plugin, parser), | ||
stylisticTypeChecked: (0, stylistic_type_checked_1.default)(exports.plugin, exports.parser), | ||
/** | ||
@@ -169,5 +167,4 @@ * A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules. | ||
*/ | ||
stylisticTypeCheckedOnly: (0, stylistic_type_checked_only_1.default)(plugin, parser), | ||
stylisticTypeCheckedOnly: (0, stylistic_type_checked_only_1.default)(exports.plugin, exports.parser), | ||
}; | ||
exports.configs = configs; | ||
/* | ||
@@ -216,5 +213,5 @@ we do both a default and named exports to allow people to use this package from | ||
config: config_helper_1.config, | ||
configs, | ||
parser, | ||
plugin, | ||
configs: exports.configs, | ||
parser: exports.parser, | ||
plugin: exports.plugin, | ||
}; | ||
@@ -221,0 +218,0 @@ var config_helper_2 = require("./config-helper"); |
{ | ||
"name": "typescript-eslint", | ||
"version": "8.20.1-alpha.0", | ||
"version": "8.20.1-alpha.1", | ||
"description": "Tooling which enables you to use TypeScript with ESLint", | ||
@@ -55,5 +55,5 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/eslint-plugin": "8.20.1-alpha.0", | ||
"@typescript-eslint/parser": "8.20.1-alpha.0", | ||
"@typescript-eslint/utils": "8.20.1-alpha.0" | ||
"@typescript-eslint/eslint-plugin": "8.20.1-alpha.1", | ||
"@typescript-eslint/parser": "8.20.1-alpha.1", | ||
"@typescript-eslint/utils": "8.20.1-alpha.1" | ||
}, | ||
@@ -60,0 +60,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
103140
1438
+ Added@eslint/config-array@0.19.1(transitive)
+ Added@eslint/object-schema@2.1.5(transitive)
+ Added@typescript-eslint/eslint-plugin@8.20.1-alpha.1(transitive)
+ Added@typescript-eslint/parser@8.20.1-alpha.18.22.0(transitive)
+ Added@typescript-eslint/scope-manager@8.20.1-alpha.18.22.0(transitive)
+ Added@typescript-eslint/type-utils@8.20.1-alpha.1(transitive)
+ Added@typescript-eslint/types@8.20.1-alpha.18.22.0(transitive)
+ Added@typescript-eslint/typescript-estree@8.20.1-alpha.18.22.0(transitive)
+ Added@typescript-eslint/utils@8.20.1-alpha.1(transitive)
+ Added@typescript-eslint/visitor-keys@8.20.1-alpha.18.22.0(transitive)
+ Addedimport-fresh@3.3.0(transitive)
+ Addedsemver@7.7.0(transitive)
+ Addedts-api-utils@2.0.0(transitive)
- Removed@eslint/config-array@0.19.2(transitive)
- Removed@eslint/object-schema@2.1.6(transitive)
- Removed@typescript-eslint/eslint-plugin@8.20.1-alpha.0(transitive)
- Removed@typescript-eslint/parser@8.20.1-alpha.08.23.0(transitive)
- Removed@typescript-eslint/scope-manager@8.20.1-alpha.08.23.0(transitive)
- Removed@typescript-eslint/type-utils@8.20.1-alpha.0(transitive)
- Removed@typescript-eslint/types@8.20.1-alpha.08.23.0(transitive)
- Removed@typescript-eslint/typescript-estree@8.20.1-alpha.08.23.0(transitive)
- Removed@typescript-eslint/utils@8.20.1-alpha.0(transitive)
- Removed@typescript-eslint/visitor-keys@8.20.1-alpha.08.23.0(transitive)
- Removedimport-fresh@3.3.1(transitive)
- Removedsemver@7.7.1(transitive)
- Removedts-api-utils@2.0.1(transitive)