Changeset e29cc2e for trip-planner-front/node_modules/@types/eslint
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- Location:
- trip-planner-front/node_modules/@types/eslint
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/@types/eslint/README.md
r59329aa re29cc2e 9 9 10 10 ### Additional Details 11 * Last updated: Fri, 08 Oct 2021 17:01:24GMT11 * Last updated: Wed, 17 Nov 2021 21:01:26 GMT 12 12 * Dependencies: [@types/json-schema](https://npmjs.com/package/@types/json-schema), [@types/estree](https://npmjs.com/package/@types/estree) 13 13 * Global values: none -
trip-planner-front/node_modules/@types/eslint/index.d.ts
r59329aa re29cc2e 1 // Type definitions for eslint 7.281 // Type definitions for eslint 8.2 2 2 // Project: https://eslint.org 3 3 // Definitions by: Pierre-Marie Dartus <https://github.com/pmdartus> … … 10 10 11 11 /// <reference path="helpers.d.ts" /> 12 /// <reference path="lib/rules/index.d.ts" />13 12 14 13 import { JSONSchema4 } from "json-schema"; … … 718 717 719 718 interface ParserOptions { 720 ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | undefined;719 ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | "latest" |undefined; 721 720 sourceType?: "script" | "module" | undefined; 722 721 ecmaFeatures?: { … … 818 817 lintText(code: string, options?: { filePath?: string | undefined; warnIgnored?: boolean | undefined }): Promise<ESLint.LintResult[]>; 819 818 819 getRulesMetaForResults(results: ESLint.LintResult[]): ESLint.LintResultData['rulesMeta']; 820 820 821 calculateConfigForFile(filePath: string): Promise<any>; 821 822 … … 860 861 messages: Linter.LintMessage[]; 861 862 errorCount: number; 863 fatalErrorCount: number; 862 864 warningCount: number; 863 865 fixableErrorCount: number; … … 885 887 // Docs reference the type by this name 886 888 type EditInfo = Rule.Fix; 887 }888 889 //#endregion890 891 //#region CLIEngine892 893 /** @deprecated Deprecated in favor of `ESLint` */894 export class CLIEngine {895 static version: string;896 897 constructor(options: CLIEngine.Options);898 899 executeOnFiles(patterns: string[]): CLIEngine.LintReport;900 901 resolveFileGlobPatterns(patterns: string[]): string[];902 903 getConfigForFile(filePath: string): Linter.Config;904 905 executeOnText(text: string, filename?: string): CLIEngine.LintReport;906 907 addPlugin(name: string, pluginObject: any): void;908 909 isPathIgnored(filePath: string): boolean;910 911 getFormatter(format?: string): CLIEngine.Formatter;912 913 getRules(): Map<string, Rule.RuleModule>;914 915 static getErrorResults(results: CLIEngine.LintResult[]): CLIEngine.LintResult[];916 917 static getFormatter(format?: string): CLIEngine.Formatter;918 919 static outputFixes(report: CLIEngine.LintReport): void;920 }921 922 /** @deprecated Deprecated in favor of `ESLint` */923 export namespace CLIEngine {924 class Options {925 allowInlineConfig?: boolean | undefined;926 baseConfig?: false | { [name: string]: any } | undefined;927 cache?: boolean | undefined;928 cacheFile?: string | undefined;929 cacheLocation?: string | undefined;930 cacheStrategy?: "content" | "metadata" | undefined;931 configFile?: string | undefined;932 cwd?: string | undefined;933 envs?: string[] | undefined;934 errorOnUnmatchedPattern?: boolean | undefined;935 extensions?: string[] | undefined;936 fix?: boolean | undefined;937 globals?: string[] | undefined;938 ignore?: boolean | undefined;939 ignorePath?: string | undefined;940 ignorePattern?: string | string[] | undefined;941 useEslintrc?: boolean | undefined;942 parser?: string | undefined;943 parserOptions?: Linter.ParserOptions | undefined;944 plugins?: string[] | undefined;945 resolvePluginsRelativeTo?: string | undefined;946 rules?: {947 [name: string]: Linter.RuleLevel | Linter.RuleLevelAndOptions;948 } | undefined;949 rulePaths?: string[] | undefined;950 reportUnusedDisableDirectives?: boolean | undefined;951 }952 953 type LintResult = ESLint.LintResult;954 955 type LintResultData = ESLint.LintResultData;956 957 interface LintReport {958 results: LintResult[];959 errorCount: number;960 warningCount: number;961 fixableErrorCount: number;962 fixableWarningCount: number;963 usedDeprecatedRules: DeprecatedRuleUse[];964 }965 966 type DeprecatedRuleUse = ESLint.DeprecatedRuleUse;967 968 type Formatter = (results: LintResult[], data?: LintResultData) => string;969 889 } 970 890 … … 984 904 }, 985 905 ): void; 906 907 static only( 908 item: string | RuleTester.ValidTestCase | RuleTester.InvalidTestCase, 909 ): RuleTester.ValidTestCase | RuleTester.InvalidTestCase; 986 910 } 987 911 … … 991 915 options?: any; 992 916 filename?: string | undefined; 917 only?: boolean; 993 918 parserOptions?: Linter.ParserOptions | undefined; 994 919 settings?: { [name: string]: any } | undefined; -
trip-planner-front/node_modules/@types/eslint/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "@types/eslint@7.28.1", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "@types/eslint@7.28.1", 10 "_id": "@types/eslint@7.28.1", 2 "_from": "@types/eslint@*", 3 "_id": "@types/eslint@8.2.0", 11 4 "_inBundle": false, 12 "_integrity": "sha512- XhZKznR3i/W5dXqUhgU9fFdJekufbeBd5DALmkuXoeFcjbQcPk+2cL+WLHf6Q81HWAnM2vrslIHpGVyCAviRwg==",5 "_integrity": "sha512-74hbvsnc+7TEDa1z5YLSe4/q8hGYB3USNvCuzHUJrjPV6hXaq8IXcngCrHkuvFt0+8rFz7xYXrHgNayIX0UZvQ==", 13 6 "_location": "/@types/eslint", 14 7 "_phantomChildren": {}, 15 8 "_requested": { 16 "type": " version",9 "type": "range", 17 10 "registry": true, 18 "raw": "@types/eslint@ 7.28.1",11 "raw": "@types/eslint@*", 19 12 "name": "@types/eslint", 20 13 "escapedName": "@types%2feslint", 21 14 "scope": "@types", 22 "rawSpec": " 7.28.1",15 "rawSpec": "*", 23 16 "saveSpec": null, 24 "fetchSpec": " 7.28.1"17 "fetchSpec": "*" 25 18 }, 26 19 "_requiredBy": [ 27 20 "/@types/eslint-scope" 28 21 ], 29 "_resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.28.1.tgz", 30 "_spec": "7.28.1", 31 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 22 "_resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.2.0.tgz", 23 "_shasum": "afd0519223c29c347087542cbaee2fedc0873b16", 24 "_spec": "@types/eslint@*", 25 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\@types\\eslint-scope", 32 26 "bugs": { 33 27 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" 34 28 }, 29 "bundleDependencies": false, 35 30 "contributors": [ 36 31 { … … 63 58 "@types/json-schema": "*" 64 59 }, 60 "deprecated": false, 65 61 "description": "TypeScript definitions for eslint", 62 "exports": { 63 ".": { 64 "types": "./index.d.ts" 65 }, 66 "./use-at-your-own-risk": { 67 "types": "./use-at-your-own-risk.d.ts" 68 }, 69 "./rules": { 70 "types": "./rules/index.d.ts" 71 } 72 }, 66 73 "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint", 67 74 "license": "MIT", … … 76 83 "typeScriptVersion": "3.7", 77 84 "types": "index.d.ts", 78 "typesPublisherContentHash": " ead3341b417b1fe8a2825d96ddb954f3dad2633c5eb166e057c130a2c7db3605",79 "version": " 7.28.1"85 "typesPublisherContentHash": "75f8630ee832c7873360b05069ae241180c3b9cfcda4af43a1647926b09232ac", 86 "version": "8.2.0" 80 87 }
Note:
See TracChangeset
for help on using the changeset viewer.