Слияние кода завершено, страница обновится автоматически
{
"extends": [
"tslint:latest",
"tslint-config-prettier"
],
"rulesDirectory": [
"codelyzer"
],
"rules": {
// Angular parts
"array-type": false,
"arrow-parens": false,
"deprecation": {
"severity": "warning"
},
"component-class-suffix": [true, "Component"],
"contextual-lifecycle": true,
"directive-class-suffix": true,
"directive-selector": [
false,
"attribute",
"app",
"camelCase"
],
"component-selector": [
false,
"element",
"app",
"kebab-case"
],
"import-blacklist": [
true,
"rxjs/Rx",
"ngx-weui"
],
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [
false,
140
],
"member-access": false,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"constructor",
"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": false,
"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,
// Custom parts
"curly": true,
"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,
"typedef": [true, "call-signature", "parameter", "property-declaration"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"unified-signatures": true,
"use-isnan": true,
"no-unused-expression": false,
"variable-name": [true, "ban-keywords", "allow-leading-underscore"]
},
"linterOptions": {
"exclude": [
"./components/schematics/**/*"
]
}
}
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )