Icard/angular-clarity-master(work.../node_modules/tslint/lib/configs/recommended.d.ts

126 lines
3.6 KiB
TypeScript
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
/**
* @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[];
};
};