2016-06-13 20:54:24 +03:00
|
|
|
{
|
|
|
|
"rulesDirectory": ["node_modules/codelyzer"],
|
|
|
|
"rules": {
|
|
|
|
"class-name": true,
|
|
|
|
"curly": false,
|
|
|
|
"eofline": true,
|
|
|
|
"indent": ["spaces"],
|
|
|
|
"max-line-length": [true, 140],
|
|
|
|
"member-ordering": [true,
|
|
|
|
"public-before-private",
|
|
|
|
"static-before-instance",
|
|
|
|
"variables-before-functions"
|
|
|
|
],
|
|
|
|
"no-arg": true,
|
|
|
|
"no-construct": true,
|
2016-12-02 12:35:04 +03:00
|
|
|
|
2016-06-13 20:54:24 +03:00
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-empty": true,
|
|
|
|
"no-eval": true,
|
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"no-unused-expression": true,
|
2017-07-22 18:04:54 +03:00
|
|
|
"no-use-before-declare": false,
|
2016-06-13 20:54:24 +03:00
|
|
|
"one-line": [true,
|
|
|
|
"check-open-brace",
|
|
|
|
"check-catch",
|
|
|
|
"check-else",
|
|
|
|
"check-whitespace"
|
|
|
|
],
|
|
|
|
"quotemark": [true, "single"],
|
|
|
|
"semicolon": true,
|
|
|
|
"trailing-comma": true,
|
|
|
|
"triple-equals": [true,
|
|
|
|
"allow-undefined-check"
|
|
|
|
],
|
|
|
|
"variable-name": false,
|
|
|
|
|
2016-12-02 12:35:04 +03:00
|
|
|
"directive-selector": [true, "attribute", "", "camelCase"],
|
|
|
|
"component-selector": [true, "element", "", "kebab-case"],
|
2016-06-13 20:54:24 +03:00
|
|
|
"use-input-property-decorator": true,
|
|
|
|
"use-output-property-decorator": true,
|
|
|
|
"use-host-property-decorator": true,
|
|
|
|
"no-input-rename": true,
|
|
|
|
"no-output-rename": true,
|
2016-10-23 20:36:34 +03:00
|
|
|
"pipe-naming": [true, "camelCase"],
|
2016-06-13 20:54:24 +03:00
|
|
|
"use-life-cycle-interface": true,
|
2016-10-23 20:36:34 +03:00
|
|
|
"use-pipe-transform-interface": true,
|
|
|
|
"templates-use-public": true,
|
|
|
|
"no-access-missing-member": true,
|
|
|
|
"invoke-injectable": true,
|
|
|
|
"no-forward-ref": true,
|
2016-12-02 12:35:04 +03:00
|
|
|
"no-attribute-parameter-decorator": true,
|
|
|
|
"templates-use-public": true,
|
|
|
|
"no-access-missing-member": true,
|
|
|
|
"invoke-injectable": true,
|
|
|
|
"no-unused-css": true
|
2016-06-13 20:54:24 +03:00
|
|
|
}
|
|
|
|
}
|