mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-03 12:02:53 +00:00
78 lines
1.6 KiB
JSON
78 lines
1.6 KiB
JSON
{
|
|
"defaultSeverity": "error",
|
|
"extends": [
|
|
"tslint:recommended",
|
|
"tslint-eslint-rules"
|
|
],
|
|
"rules": {
|
|
"indent": [
|
|
true,
|
|
"spaces",
|
|
2
|
|
],
|
|
"interface-name": [
|
|
true,
|
|
"never-prefix"
|
|
],
|
|
"max-classes-per-file": false,
|
|
"member-access": false,
|
|
"member-ordering": [
|
|
true,
|
|
{
|
|
"alphabetize": true,
|
|
"order": [
|
|
"private-static-field",
|
|
"protected-static-field",
|
|
"public-static-field",
|
|
"private-instance-field",
|
|
"protected-instance-field",
|
|
"public-instance-field",
|
|
"private-static-method",
|
|
"protected-static-method",
|
|
"public-static-method",
|
|
"constructor",
|
|
"private-instance-method",
|
|
"protected-instance-method",
|
|
"public-instance-method"
|
|
]
|
|
}
|
|
],
|
|
"no-trailing-whitespace": [
|
|
true,
|
|
"ignore-comments",
|
|
"ignore-jsdoc"
|
|
],
|
|
"object-curly-spacing": [
|
|
true,
|
|
"never"
|
|
],
|
|
"object-literal-key-quotes": false,
|
|
"object-literal-shorthand": false,
|
|
"ordered-imports": [
|
|
true,
|
|
{
|
|
"import-sources-order": "case-insensitive",
|
|
"named-imports-order": "case-insensitive"
|
|
}
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "always",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore"
|
|
]
|
|
}
|
|
}
|