📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP →

typescript-eslint

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-eslint - npm Package Compare versions

Comparing version

to
8.29.2-alpha.3

@@ -148,6 +148,3 @@ import type { TSESLint } from '@typescript-eslint/utils';

};
parser: {
meta?: { [K in keyof TSESLint.Parser.ParserMeta]?: TSESLint.Parser.ParserMeta[K] | undefined; };
parseForESLint(text: string, options?: unknown): { [k in keyof TSESLint.Parser.ParseResult]: unknown; };
};
parser: TSESLint.Parser.LooseParserModule;
plugin: TSESLint.FlatConfig.Plugin;

@@ -154,0 +151,0 @@ };

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -41,21 +8,5 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

const eslint_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin"));
const parserBase = __importStar(require("@typescript-eslint/parser"));
const raw_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin/use-at-your-own-risk/raw-plugin"));
const config_helper_1 = require("./config-helper");
const all_1 = __importDefault(require("./configs/all"));
const base_1 = __importDefault(require("./configs/base"));
const disable_type_checked_1 = __importDefault(require("./configs/disable-type-checked"));
const eslint_recommended_1 = __importDefault(require("./configs/eslint-recommended"));
const recommended_1 = __importDefault(require("./configs/recommended"));
const recommended_type_checked_1 = __importDefault(require("./configs/recommended-type-checked"));
const recommended_type_checked_only_1 = __importDefault(require("./configs/recommended-type-checked-only"));
const strict_1 = __importDefault(require("./configs/strict"));
const strict_type_checked_1 = __importDefault(require("./configs/strict-type-checked"));
const strict_type_checked_only_1 = __importDefault(require("./configs/strict-type-checked-only"));
const stylistic_1 = __importDefault(require("./configs/stylistic"));
const stylistic_type_checked_1 = __importDefault(require("./configs/stylistic-type-checked"));
const stylistic_type_checked_only_1 = __importDefault(require("./configs/stylistic-type-checked-only"));
exports.parser = {
meta: parserBase.meta,
parseForESLint: parserBase.parseForESLint,
};
exports.parser = raw_plugin_1.default.parser;
/*

@@ -90,3 +41,3 @@ we could build a plugin object here without the `configs` key - but if we do

*/
all: (0, all_1.default)(exports.plugin, exports.parser),
all: raw_plugin_1.default.flatConfigs['flat/all'],
/**

@@ -97,3 +48,3 @@ * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint.

*/
base: (0, base_1.default)(exports.plugin, exports.parser),
base: raw_plugin_1.default.flatConfigs['flat/base'],
/**

@@ -103,3 +54,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)(exports.plugin, exports.parser),
disableTypeChecked: raw_plugin_1.default.flatConfigs['flat/disable-type-checked'],
/**

@@ -111,3 +62,3 @@ * This is a compatibility ruleset that:

*/
eslintRecommended: (0, eslint_recommended_1.default)(exports.plugin, exports.parser),
eslintRecommended: raw_plugin_1.default.flatConfigs['flat/eslint-recommended'],
/**

@@ -117,3 +68,3 @@ * Recommended rules for code correctness that you can drop in without additional configuration.

*/
recommended: (0, recommended_1.default)(exports.plugin, exports.parser),
recommended: raw_plugin_1.default.flatConfigs['flat/recommended'],
/**

@@ -123,3 +74,3 @@ * Contains all of `recommended` along with additional recommended rules that require type information.

*/
recommendedTypeChecked: (0, recommended_type_checked_1.default)(exports.plugin, exports.parser),
recommendedTypeChecked: raw_plugin_1.default.flatConfigs['flat/recommended-type-checked'],
/**

@@ -129,3 +80,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)(exports.plugin, exports.parser),
recommendedTypeCheckedOnly: raw_plugin_1.default.flatConfigs['flat/recommended-type-checked-only'],
/**

@@ -135,3 +86,3 @@ * Contains all of `recommended`, as well as additional strict rules that can also catch bugs.

*/
strict: (0, strict_1.default)(exports.plugin, exports.parser),
strict: raw_plugin_1.default.flatConfigs['flat/strict'],
/**

@@ -141,3 +92,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)(exports.plugin, exports.parser),
strictTypeChecked: raw_plugin_1.default.flatConfigs['flat/strict-type-checked'],
/**

@@ -147,3 +98,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)(exports.plugin, exports.parser),
strictTypeCheckedOnly: raw_plugin_1.default.flatConfigs['flat/strict-type-checked-only'],
/**

@@ -153,3 +104,3 @@ * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.

*/
stylistic: (0, stylistic_1.default)(exports.plugin, exports.parser),
stylistic: raw_plugin_1.default.flatConfigs['flat/stylistic'],
/**

@@ -159,3 +110,3 @@ * Contains all of `stylistic`, along with additional stylistic rules that require type information.

*/
stylisticTypeChecked: (0, stylistic_type_checked_1.default)(exports.plugin, exports.parser),
stylisticTypeChecked: raw_plugin_1.default.flatConfigs['flat/stylistic-type-checked'],
/**

@@ -165,3 +116,3 @@ * 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)(exports.plugin, exports.parser),
stylisticTypeCheckedOnly: raw_plugin_1.default.flatConfigs['flat/stylistic-type-checked-only'],
};

@@ -168,0 +119,0 @@ /*

{
"name": "typescript-eslint",
"version": "8.29.2-alpha.2",
"version": "8.29.2-alpha.3",
"description": "Tooling which enables you to use TypeScript with ESLint",

@@ -56,5 +56,5 @@ "files": [

"dependencies": {
"@typescript-eslint/eslint-plugin": "8.29.2-alpha.2",
"@typescript-eslint/parser": "8.29.2-alpha.2",
"@typescript-eslint/utils": "8.29.2-alpha.2"
"@typescript-eslint/eslint-plugin": "8.29.2-alpha.3",
"@typescript-eslint/parser": "8.29.2-alpha.3",
"@typescript-eslint/utils": "8.29.2-alpha.3"
},

@@ -61,0 +61,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet