Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit b5b16f5

Browse files
chore(release): 1.11.1 [skip ci]
1 parent a22d785 commit b5b16f5

6 files changed

+31
-192
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [1.11.1](https://github.com/AtomLinter/linter-tslint/compare/v1.11.0...v1.11.1) (2021-04-05)
2+
3+
4+
### Bug Fixes
5+
6+
* accessing failure private property ([dd4d646](https://github.com/AtomLinter/linter-tslint/commit/dd4d6464b0c34dee21f163ef252561acec83cb82))
7+
* add extends manually if Tslint fails to do so ([f20ac36](https://github.com/AtomLinter/linter-tslint/commit/f20ac3659e27f79f6ba46fdd0d0709c731edf332))
8+
* fix the null-ness, types, and bugs in worker ([290dd0e](https://github.com/AtomLinter/linter-tslint/commit/290dd0ece787eaf897c637a9f83605252379e668))
9+
* load tslint dynamically ([c2189f7](https://github.com/AtomLinter/linter-tslint/commit/c2189f74d8873fab023cd82a3aa63923406fcd99))
10+
111
# [1.11.0](https://github.com/AtomLinter/linter-tslint/compare/v1.10.43...v1.11.0) (2021-04-05)
212

313

dist/compat-shim.d.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
import type * as Tslint from "tslint";
2-
export declare function shim(Linter: Function): typeof Tslint.Linter;
2+
declare type LinterTslintV3 = (filePath: string, text: string, configuration: Tslint.ILinterOptions) => {
3+
lint: () => Tslint.LintResult[];
4+
};
5+
export declare function shim(Linter: LinterTslintV3): typeof Tslint.Linter;
6+
export {};

dist/tsconfig.tsbuildinfo

+13-188
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,8 @@
642642
"affectsGlobalScope": false
643643
},
644644
"../lib/compat-shim.ts": {
645-
"version": "9beed7934c1be9de6795b18c1f46a041ca13cdd18c4f04a00003ed5ac3f154d3",
646-
"signature": "4fbb92b73948713415014fd8727b22f4007275b2ef13f64d79bcf6bca1a4c6ee",
645+
"version": "9f65bb058759a30e643980435ee2a013c877e0b0b4ab6f76f675d81ac5c89a12",
646+
"signature": "ff909562273d0877e7a960d72948e2be40895597ae24a9a93bba93c265251017",
647647
"affectsGlobalScope": false
648648
},
649649
"../lib/config.ts": {
@@ -1067,7 +1067,7 @@
10671067
"affectsGlobalScope": false
10681068
},
10691069
"../lib/worker.ts": {
1070-
"version": "213678b5832967bea6fdca5dabc83f384bbd218616abd9395c189acba4fd1c32",
1070+
"version": "dd29d3a4212eeced8a50be8f2d6e24bebf15caf237f4b7cf00302043522f210a",
10711071
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
10721072
"affectsGlobalScope": false
10731073
},
@@ -2549,78 +2549,35 @@
25492549
[
25502550
{
25512551
"file": "../lib/compat-shim.ts",
2552-
"start": 267,
2553-
"length": 7,
2554-
"messageText": "Parameter 'options' implicitly has an 'any' type.",
2555-
"category": 1,
2556-
"code": 7006
2557-
},
2558-
{
2559-
"file": "../lib/compat-shim.ts",
2560-
"start": 282,
2552+
"start": 444,
25612553
"length": 4,
25622554
"messageText": "'this' implicitly has type 'any' because it does not have a type annotation.",
25632555
"category": 1,
25642556
"code": 2683
25652557
},
25662558
{
25672559
"file": "../lib/compat-shim.ts",
2568-
"start": 310,
2560+
"start": 472,
25692561
"length": 4,
25702562
"messageText": "'this' implicitly has type 'any' because it does not have a type annotation.",
25712563
"category": 1,
25722564
"code": 2683
25732565
},
25742566
{
25752567
"file": "../lib/compat-shim.ts",
2576-
"start": 491,
2577-
"length": 8,
2578-
"messageText": "Parameter 'filePath' implicitly has an 'any' type.",
2579-
"category": 1,
2580-
"code": 7006
2581-
},
2582-
{
2583-
"file": "../lib/compat-shim.ts",
2584-
"start": 501,
2585-
"length": 4,
2586-
"messageText": "Parameter 'text' implicitly has an 'any' type.",
2568+
"start": 828,
2569+
"length": 35,
2570+
"messageText": "'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.",
25872571
"category": 1,
2588-
"code": 7006
2572+
"code": 7009
25892573
},
25902574
{
25912575
"file": "../lib/compat-shim.ts",
2592-
"start": 507,
2593-
"length": 13,
2594-
"messageText": "Parameter 'configuration' implicitly has an 'any' type.",
2595-
"category": 1,
2596-
"code": 7006
2597-
},
2598-
{
2599-
"file": "../lib/compat-shim.ts",
2600-
"start": 607,
2601-
"length": 6,
2602-
"code": 2351,
2603-
"category": 1,
2604-
"messageText": {
2605-
"messageText": "This expression is not constructable.",
2606-
"category": 1,
2607-
"code": 2351,
2608-
"next": [
2609-
{
2610-
"messageText": "Type 'Function' has no construct signatures.",
2611-
"category": 1,
2612-
"code": 2761
2613-
}
2614-
]
2615-
}
2616-
},
2617-
{
2618-
"file": "../lib/compat-shim.ts",
2619-
"start": 743,
2576+
"start": 998,
26202577
"length": 18,
26212578
"code": 2740,
26222579
"category": 1,
2623-
"messageText": "Type '(options: any) => void' is missing the following properties from type 'typeof Linter': VERSION, findConfiguration, findConfigurationPath, getRulesDirectories, and 3 more."
2580+
"messageText": "Type '(options: ILinterOptions) => void' is missing the following properties from type 'typeof Linter': VERSION, findConfiguration, findConfigurationPath, getRulesDirectories, and 3 more."
26242581
}
26252582
]
26262583
],
@@ -2634,120 +2591,7 @@
26342591
[
26352592
{
26362593
"file": "../lib/worker.ts",
2637-
"start": 1499,
2638-
"length": 10,
2639-
"code": 2345,
2640-
"category": 1,
2641-
"messageText": {
2642-
"messageText": "Argument of type 'string | undefined' is not assignable to parameter of type 'string'.",
2643-
"category": 1,
2644-
"code": 2345,
2645-
"next": [
2646-
{
2647-
"messageText": "Type 'undefined' is not assignable to type 'string'.",
2648-
"category": 1,
2649-
"code": 2322
2650-
}
2651-
]
2652-
}
2653-
},
2654-
{
2655-
"file": "../lib/worker.ts",
2656-
"start": 1705,
2657-
"length": 10,
2658-
"code": 2345,
2659-
"category": 1,
2660-
"messageText": {
2661-
"messageText": "Argument of type 'string | undefined' is not assignable to parameter of type 'string'.",
2662-
"category": 1,
2663-
"code": 2345,
2664-
"next": [
2665-
{
2666-
"messageText": "Type 'undefined' is not assignable to type 'string'.",
2667-
"category": 1,
2668-
"code": 2322
2669-
}
2670-
]
2671-
}
2672-
},
2673-
{
2674-
"file": "../lib/worker.ts",
2675-
"start": 1836,
2676-
"length": 6,
2677-
"messageText": "Variable 'linter' is used before being assigned.",
2678-
"category": 1,
2679-
"code": 2454
2680-
},
2681-
{
2682-
"file": "../lib/worker.ts",
2683-
"start": 2492,
2684-
"length": 32,
2685-
"code": 2322,
2686-
"category": 1,
2687-
"messageText": {
2688-
"messageText": "Type 'typeof Linter | undefined' is not assignable to type 'typeof Linter'.",
2689-
"category": 1,
2690-
"code": 2322,
2691-
"next": [
2692-
{
2693-
"messageText": "Type 'undefined' is not assignable to type 'typeof Linter'.",
2694-
"category": 1,
2695-
"code": 2322
2696-
}
2697-
]
2698-
}
2699-
},
2700-
{
2701-
"file": "../lib/worker.ts",
2702-
"start": 3536,
2703-
"length": 6,
2704-
"messageText": "Variable 'prefix' is used before being assigned.",
2705-
"category": 1,
2706-
"code": 2454
2707-
},
2708-
{
2709-
"file": "../lib/worker.ts",
2710-
"start": 4641,
2711-
"length": 7,
2712-
"messageText": "Variable 'program' is used before being assigned.",
2713-
"category": 1,
2714-
"code": 2454
2715-
},
2716-
{
2717-
"file": "../lib/worker.ts",
2718-
"start": 4674,
2719-
"length": 7,
2720-
"messageText": "Parameter 'failure' implicitly has an 'any' type.",
2721-
"category": 1,
2722-
"code": 7006
2723-
},
2724-
{
2725-
"file": "../lib/worker.ts",
2726-
"start": 6278,
2727-
"length": 7,
2728-
"messageText": "Variable 'program' is used before being assigned.",
2729-
"category": 1,
2730-
"code": 2454
2731-
},
2732-
{
2733-
"file": "../lib/worker.ts",
2734-
"start": 6608,
2735-
"length": 12,
2736-
"code": 2339,
2737-
"category": 1,
2738-
"messageText": "Property 'failureCount' does not exist on type 'LintResult'."
2739-
},
2740-
{
2741-
"file": "../lib/worker.ts",
2742-
"start": 6720,
2743-
"length": 9,
2744-
"code": 2339,
2745-
"category": 1,
2746-
"messageText": "Property 'infoCount' does not exist on type 'LintResult'."
2747-
},
2748-
{
2749-
"file": "../lib/worker.ts",
2750-
"start": 7866,
2594+
"start": 9647,
27512595
"length": 27,
27522596
"code": 2322,
27532597
"category": 1,
@@ -2766,26 +2610,7 @@
27662610
},
27672611
{
27682612
"file": "../lib/worker.ts",
2769-
"start": 8227,
2770-
"length": 8,
2771-
"code": 2345,
2772-
"category": 1,
2773-
"messageText": {
2774-
"messageText": "Argument of type 'string | undefined' is not assignable to parameter of type 'string'.",
2775-
"category": 1,
2776-
"code": 2345,
2777-
"next": [
2778-
{
2779-
"messageText": "Type 'undefined' is not assignable to type 'string'.",
2780-
"category": 1,
2781-
"code": 2322
2782-
}
2783-
]
2784-
}
2785-
},
2786-
{
2787-
"file": "../lib/worker.ts",
2788-
"start": 8253,
2613+
"start": 10034,
27892614
"length": 4,
27902615
"messageText": "'emit' cannot be used as a value because it was imported using 'import type'.",
27912616
"category": 1,

0 commit comments

Comments
 (0)