Score
0
5 Unstar Star 15 Fork 2

ng-alain / delonTypeScriptMIT

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
基建类库 @delon(包括:业务组件、ACL访问控制、缓存、授权、动态表单等) spread retract

  • TypeScript 85.0%
  • CSS 7.8%
  • HTML 4.7%
  • JavaScript 1.6%
  • Shell 0.9%
Clone or download
tslint.json 2.84 KB
Copy Edit Web IDE Raw Blame History
卡色 authored 2020-08-02 20:45 . chore: add typedef rule (#1023)
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rulesDirectory": ["codelyzer"],
"rules": {
"array-type": false,
"arrow-parens": false,
"deprecation": {
"severity": "warning"
},
"component-class-suffix": [true, "Component", "Widget"],
"contextual-lifecycle": true,
"directive-class-suffix": false,
"directive-selector": [false, "attribute", "app", "camelCase"],
"component-selector": [false, "element", "app", "kebab-case"],
"import-blacklist": [true, "rxjs/Rx", "ng-zorro-antd"],
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [false, 140],
"member-access": false,
"member-ordering": [
true,
{
"order": ["static-field", "instance-field", "static-method", "instance-method"]
}
],
"no-consecutive-blank-lines": false,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-empty": false,
"no-inferrable-types": [false, "ignore-params"],
"no-non-null-assertion": false,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"object-literal-key-quotes": [false, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": [
true,
{
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive"
}
],
"quotemark": [false, "single"],
"trailing-comma": false,
"no-conflicting-lifecycle": true,
"no-inputs-metadata-property": true,
"no-output-native": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-outputs-metadata-property": true,
"template-banana-in-box": true,
"template-no-negated-async": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"curly": false,
"variable-name": false,
"no-submodule-imports": false,
"no-implicit-dependencies": false,
"no-object-literal-type-assertion": false,
"no-bitwise": false,
"no-this-assignment": false,
"prefer-conditional-expression": false,
"no-duplicate-imports": true,
"no-import-side-effect": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"triple-equals": [true, "allow-null-check"],
"typedef": [true, "call-signature", "parameter", "property-declaration"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"use-isnan": true,
"unified-signatures": true
},
"linterOptions": {
"exclude": [
"packages/schematics/**/files/**/*",
"packages/schematics/**/test-cases/misc/**/*",
"packages/schematics/**/test-cases/v2/**/*",
"src/app/routes/gen/**/*"
]
}
}

Comment ( 0 )

Sign in for post a comment

TypeScript
1
https://gitee.com/ng-alain/delon.git
git@gitee.com:ng-alain/delon.git
ng-alain
delon
delon
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542