arcade-machine/tslint.json

59 строки
1.7 KiB
JSON
Исходник Обычный вид История

2016-10-25 03:14:45 +03:00
{
"extends": "tslint-microsoft-contrib",
"rulesDirectory": [
"node_modules/codelyzer",
"node_modules/tslint-microsoft-contrib"
],
"rules": {
2016-10-27 02:38:35 +03:00
"export-name": false,
"missing-jsdoc": false,
"mocha-no-side-effect-code": false,
"no-any": false,
"no-conditional-assignment": false,
"no-parameter-properties": false,
2016-10-27 02:38:35 +03:00
"no-multiline-string": false,
2016-10-25 03:14:45 +03:00
"no-relative-imports": false,
"no-stateless-class": false,
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"no-for-in-array": false,
"restrict-plus-operands": false,
2017-03-17 19:48:14 +03:00
"no-increment-decrement": false,
"function-name": [true, {
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[a-z][\\w\\d]+$",
"function-regex": "^[a-z][\\w\\d]+$"
}],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
2016-10-25 03:14:45 +03:00
"import-blacklist": [
true,
"lodash",
"rxjs/Rx",
"rxjs"
2016-10-25 03:14:45 +03:00
],
// Angular
"directive-selector": [true, "attribute", "arc", "camelCase"],
"component-selector": [true, "element", "arc", "kebab-case"],
2016-10-25 03:14:45 +03:00
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-attribute-parameter-decorator": true,
"no-input-rename": false,
"no-output-rename": false,
"no-forward-ref": false,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"pipe-naming": [
true,
"camelCase",
2016-10-27 02:38:35 +03:00
"arc"
2016-10-25 03:14:45 +03:00
],
"component-class-suffix": true,
"directive-class-suffix": true,
"import-destructuring-spacing": true
}
}