2017-05-28 00:38:50 +02:00
|
|
|
export declare const rules: {
|
|
|
|
"adjacent-overload-signatures": boolean;
|
|
|
|
"ban-types": {
|
|
|
|
options: string[][];
|
|
|
|
};
|
|
|
|
"member-access": (string | boolean)[];
|
|
|
|
"member-ordering": (boolean | {
|
|
|
|
"order": string;
|
|
|
|
"alphabetize": boolean;
|
|
|
|
})[];
|
|
|
|
"no-any": boolean;
|
|
|
|
"no-empty-interface": boolean;
|
|
|
|
"no-import-side-effect": boolean;
|
|
|
|
"no-inferrable-types": (string | boolean)[];
|
|
|
|
"no-internal-module": boolean;
|
|
|
|
"no-magic-numbers": boolean;
|
|
|
|
"no-namespace": boolean;
|
|
|
|
"no-non-null-assertion": boolean;
|
|
|
|
"no-reference": boolean;
|
2017-08-14 05:01:11 +02:00
|
|
|
"no-this-assignment": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-var-requires": boolean;
|
|
|
|
"only-arrow-functions": boolean;
|
|
|
|
"prefer-for-of": boolean;
|
|
|
|
"promise-function-async": boolean;
|
|
|
|
"typedef": (string | boolean)[];
|
|
|
|
"typedef-whitespace": (boolean | {
|
|
|
|
"call-signature": string;
|
|
|
|
"index-signature": string;
|
|
|
|
"parameter": string;
|
|
|
|
"property-declaration": string;
|
|
|
|
"variable-declaration": string;
|
|
|
|
})[];
|
|
|
|
"unified-signatures": boolean;
|
|
|
|
"await-promise": boolean;
|
2017-12-10 21:51:33 +01:00
|
|
|
"ban-comma-operator": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"curly": boolean;
|
|
|
|
"forin": boolean;
|
|
|
|
"label-position": boolean;
|
|
|
|
"no-arg": boolean;
|
|
|
|
"no-bitwise": boolean;
|
|
|
|
"no-conditional-assignment": boolean;
|
|
|
|
"no-console": boolean;
|
|
|
|
"no-construct": boolean;
|
|
|
|
"no-debugger": boolean;
|
|
|
|
"no-duplicate-super": boolean;
|
2017-12-10 21:51:33 +01:00
|
|
|
"no-duplicate-switch-case": boolean;
|
2017-08-14 05:01:11 +02:00
|
|
|
"no-duplicate-variable": (string | boolean)[];
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-empty": boolean;
|
|
|
|
"no-eval": boolean;
|
|
|
|
"no-floating-promises": boolean;
|
|
|
|
"no-for-in-array": boolean;
|
2017-12-10 21:51:33 +01:00
|
|
|
"no-implicit-dependencies": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-inferred-empty-object-type": boolean;
|
|
|
|
"no-invalid-template-strings": boolean;
|
|
|
|
"no-misused-new": boolean;
|
|
|
|
"no-null-keyword": boolean;
|
|
|
|
"no-object-literal-type-assertion": boolean;
|
2017-12-10 21:51:33 +01:00
|
|
|
"no-return-await": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-shadowed-variable": boolean;
|
|
|
|
"no-string-literal": boolean;
|
|
|
|
"no-string-throw": boolean;
|
|
|
|
"no-sparse-arrays": boolean;
|
2017-08-14 05:01:11 +02:00
|
|
|
"no-submodule-imports": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-unbound-method": boolean;
|
2017-12-10 21:51:33 +01:00
|
|
|
"no-unnecessary-class": (string | boolean)[];
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-unsafe-any": boolean;
|
|
|
|
"no-unsafe-finally": boolean;
|
|
|
|
"no-unused-expression": boolean;
|
|
|
|
"no-unused-variable": boolean;
|
|
|
|
"no-use-before-declare": boolean;
|
|
|
|
"no-var-keyword": boolean;
|
|
|
|
"no-void-expression": boolean;
|
|
|
|
"prefer-conditional-expression": boolean;
|
|
|
|
"radix": boolean;
|
|
|
|
"restrict-plus-operands": boolean;
|
|
|
|
"strict-boolean-expressions": boolean;
|
|
|
|
"strict-type-predicates": boolean;
|
|
|
|
"switch-default": boolean;
|
|
|
|
"triple-equals": boolean;
|
2017-08-14 05:01:11 +02:00
|
|
|
"use-default-type-parameter": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"use-isnan": boolean;
|
|
|
|
"cyclomatic-complexity": boolean;
|
|
|
|
"eofline": boolean;
|
|
|
|
"indent": (string | boolean)[];
|
|
|
|
"linebreak-style": (string | boolean)[];
|
|
|
|
"max-classes-per-file": (number | boolean)[];
|
|
|
|
"max-file-line-count": (number | boolean)[];
|
|
|
|
"max-line-length": (number | boolean)[];
|
|
|
|
"no-default-export": boolean;
|
2017-08-14 05:01:11 +02:00
|
|
|
"no-duplicate-imports": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-irregular-whitespace": boolean;
|
|
|
|
"no-mergeable-namespace": boolean;
|
2017-10-14 18:40:54 +02:00
|
|
|
"no-parameter-reassignment": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-require-imports": boolean;
|
|
|
|
"no-trailing-whitespace": boolean;
|
|
|
|
"object-literal-sort-keys": boolean;
|
|
|
|
"prefer-const": boolean;
|
|
|
|
"trailing-comma": (boolean | {
|
|
|
|
"multiline": string;
|
|
|
|
"singleline": string;
|
|
|
|
})[];
|
|
|
|
"align": (string | boolean)[];
|
|
|
|
"array-type": (string | boolean)[];
|
|
|
|
"arrow-parens": boolean;
|
|
|
|
"arrow-return-shorthand": (string | boolean)[];
|
2017-08-14 05:01:11 +02:00
|
|
|
"binary-expression-operand-order": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"callable-types": boolean;
|
|
|
|
"class-name": boolean;
|
|
|
|
"comment-format": (string | boolean)[];
|
|
|
|
"completed-docs": boolean;
|
|
|
|
"deprecation": boolean;
|
|
|
|
"encoding": boolean;
|
|
|
|
"import-spacing": boolean;
|
|
|
|
"interface-name": boolean;
|
|
|
|
"interface-over-type-literal": boolean;
|
2017-12-10 21:51:33 +01:00
|
|
|
"jsdoc-format": (string | boolean)[];
|
2017-05-28 00:38:50 +02:00
|
|
|
"match-default-export-name": boolean;
|
|
|
|
"new-parens": boolean;
|
|
|
|
"newline-before-return": boolean;
|
|
|
|
"no-angle-bracket-type-assertion": boolean;
|
|
|
|
"no-boolean-literal-compare": boolean;
|
|
|
|
"no-consecutive-blank-lines": boolean;
|
|
|
|
"no-parameter-properties": boolean;
|
2017-12-10 21:51:33 +01:00
|
|
|
"no-redundant-jsdoc": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"no-reference-import": boolean;
|
|
|
|
"no-unnecessary-callback-wrapper": boolean;
|
|
|
|
"no-unnecessary-initializer": boolean;
|
|
|
|
"no-unnecessary-qualifier": boolean;
|
|
|
|
"no-unnecessary-type-assertion": boolean;
|
|
|
|
"number-literal-format": boolean;
|
|
|
|
"object-literal-key-quotes": (string | boolean)[];
|
|
|
|
"object-literal-shorthand": boolean;
|
|
|
|
"one-line": (string | boolean)[];
|
|
|
|
"one-variable-per-declaration": boolean;
|
|
|
|
"ordered-imports": (boolean | {
|
|
|
|
"import-sources-order": string;
|
|
|
|
"named-imports-order": string;
|
2017-12-10 21:51:33 +01:00
|
|
|
"module-source-path": string;
|
2017-05-28 00:38:50 +02:00
|
|
|
})[];
|
|
|
|
"prefer-function-over-method": boolean;
|
|
|
|
"prefer-method-signature": boolean;
|
|
|
|
"prefer-object-spread": boolean;
|
|
|
|
"prefer-switch": boolean;
|
|
|
|
"prefer-template": boolean;
|
|
|
|
"quotemark": (string | boolean)[];
|
|
|
|
"return-undefined": boolean;
|
|
|
|
"semicolon": (string | boolean)[];
|
|
|
|
"space-before-function-paren": (boolean | {
|
|
|
|
"anonymous": string;
|
|
|
|
"asyncArrow": string;
|
|
|
|
"constructor": string;
|
|
|
|
"method": string;
|
|
|
|
"named": string;
|
|
|
|
})[];
|
2017-08-14 05:01:11 +02:00
|
|
|
"space-within-parens": (number | boolean)[];
|
|
|
|
"switch-final-break": boolean;
|
|
|
|
"type-literal-delimiter": boolean;
|
2017-05-28 00:38:50 +02:00
|
|
|
"variable-name": (string | boolean)[];
|
|
|
|
"whitespace": (string | boolean)[];
|
|
|
|
};
|
|
|
|
export declare const RULES_EXCLUDED_FROM_ALL_CONFIG: string[];
|
|
|
|
export declare const jsRules: {
|
|
|
|
[key: string]: any;
|
|
|
|
};
|