1 | export interface Suggestion {
|
2 | suggestionCode: string;
|
3 | message: string;
|
4 | }
|
5 | export declare const REMOVE_BABEL_WORKAROUND: {
|
6 | suggestionCode: string;
|
7 | message: string;
|
8 | };
|
9 | export declare const REMOVE_ARRAY_FROM: {
|
10 | suggestionCode: string;
|
11 | message: string;
|
12 | };
|
13 | export declare const CLEAN_UP_IMPLICIT_RETURNS: {
|
14 | suggestionCode: string;
|
15 | message: string;
|
16 | };
|
17 | export declare const REMOVE_GUARD: {
|
18 | suggestionCode: string;
|
19 | message: string;
|
20 | };
|
21 | export declare const AVOID_INLINE_ASSIGNMENTS: {
|
22 | suggestionCode: string;
|
23 | message: string;
|
24 | };
|
25 | export declare const SIMPLIFY_COMPLEX_ASSIGNMENTS: {
|
26 | suggestionCode: string;
|
27 | message: string;
|
28 | };
|
29 | export declare const SIMPLIFY_DYNAMIC_RANGE_LOOPS: {
|
30 | suggestionCode: string;
|
31 | message: string;
|
32 | };
|
33 | export declare const CLEAN_UP_FOR_OWN_LOOPS: {
|
34 | suggestionCode: string;
|
35 | message: string;
|
36 | };
|
37 | export declare const FIX_INCLUDES_EVALUATION_ORDER: {
|
38 | suggestionCode: string;
|
39 | message: string;
|
40 | };
|
41 | export declare const AVOID_IIFES: {
|
42 | suggestionCode: string;
|
43 | message: string;
|
44 | };
|
45 | export declare const AVOID_INITCLASS: {
|
46 | suggestionCode: string;
|
47 | message: string;
|
48 | };
|
49 | export declare const SHORTEN_NULL_CHECKS: {
|
50 | suggestionCode: string;
|
51 | message: string;
|
52 | };
|
53 | export declare const AVOID_TOP_LEVEL_THIS: {
|
54 | suggestionCode: string;
|
55 | message: string;
|
56 | };
|
57 | export declare const AVOID_TOP_LEVEL_RETURN: {
|
58 | suggestionCode: string;
|
59 | message: string;
|
60 | };
|
61 | export declare function mergeSuggestions(suggestions: Array<Suggestion>): Array<Suggestion>;
|
62 | export declare function prependSuggestionComment(code: string, suggestions: Array<Suggestion>): string;
|