recommended.d.ts 3.56 KB
Newer Older
Kriengkrai Yothee's avatar
Kriengkrai Yothee committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
/**
 * @license
 * Copyright 2018 Palantir Technologies, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
export declare const rules: {
    "adjacent-overload-signatures": boolean;
    "array-type": {
        options: string[];
    };
    "ban-types": {
        options: string[][];
    };
    "callable-types": boolean;
    "class-name": boolean;
    "comment-format": {
        options: string[];
    };
    "cyclomatic-complexity": boolean;
    forin: boolean;
    "jsdoc-format": boolean;
    "label-position": boolean;
    "max-classes-per-file": {
        options: number;
    };
    "new-parens": boolean;
    "no-angle-bracket-type-assertion": boolean;
    "no-any": boolean;
    "no-arg": boolean;
    "no-bitwise": boolean;
    "no-conditional-assignment": boolean;
    "no-console": boolean;
    "no-construct": boolean;
    "no-debugger": boolean;
    "no-duplicate-super": boolean;
    "no-empty": boolean;
    "no-empty-interface": boolean;
    "no-eval": boolean;
    "no-internal-module": boolean;
    "no-invalid-this": boolean;
    "no-misused-new": boolean;
    "no-namespace": boolean;
    "no-parameter-properties": boolean;
    "no-reference": boolean;
    "no-reference-import": boolean;
    "no-shadowed-variable": boolean;
    "no-string-literal": boolean;
    "no-string-throw": boolean;
    "no-switch-case-fall-through": boolean;
    "no-trailing-whitespace": boolean;
    "no-unnecessary-initializer": boolean;
    "no-unsafe-finally": boolean;
    "no-unused-expression": boolean;
    "no-use-before-declare": boolean;
    "no-var-keyword": boolean;
    "no-var-requires": boolean;
    "object-literal-shorthand": boolean;
    "one-variable-per-declaration": {
        options: string[];
    };
    "only-arrow-functions": {
        options: string[];
    };
    "prefer-const": boolean;
    "prefer-for-of": boolean;
    radix: boolean;
    "triple-equals": {
        options: string[];
    };
    typedef: boolean;
    "typeof-compare": boolean;
    "unified-signatures": boolean;
    "use-isnan": boolean;
    "variable-name": {
        options: string[];
    };
};
export declare const jsRules: {
    "class-name": boolean;
    forin: boolean;
    "import-spacing": boolean;
    "jsdoc-format": boolean;
    "label-position": boolean;
    "new-parens": boolean;
    "no-arg": boolean;
    "no-bitwise": boolean;
    "no-conditional-assignment": boolean;
    "no-consecutive-blank-lines": boolean;
    "no-console": boolean;
    "no-construct": boolean;
    "no-debugger": boolean;
    "no-duplicate-super": boolean;
    "no-duplicate-variable": boolean;
    "no-empty": boolean;
    "no-eval": boolean;
    "no-reference": boolean;
    "no-shadowed-variable": boolean;
    "no-string-literal": boolean;
    "no-string-throw": boolean;
    "no-switch-case-fall-through": boolean;
    "no-unused-expression": boolean;
    "no-use-before-declare": boolean;
    "one-variable-per-declaration": {
        options: string[];
    };
    radix: boolean;
    "triple-equals": {
        options: string[];
    };
    "use-isnan": boolean;
    "variable-name": {
        options: string[];
    };
};