mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
72 lines
1.5 KiB
JSON
72 lines
1.5 KiB
JSON
|
{
|
||
|
"rulesDirectory": [
|
||
|
"node_modules/ng2lint/dist/src"
|
||
|
],
|
||
|
"rules": {
|
||
|
"component-selector-name": [true, "kebab-case"],
|
||
|
"component-selector-type": [true, "element"],
|
||
|
"host-parameter-decorator": true,
|
||
|
"input-parameter-decorator": true,
|
||
|
"output-parameter-decorator": true,
|
||
|
"attribute-parameter-decorator": false,
|
||
|
"input-property-directive": true,
|
||
|
"output-property-directive": true,
|
||
|
|
||
|
"class-name": true,
|
||
|
"curly": false,
|
||
|
"eofline": true,
|
||
|
"indent": [
|
||
|
true,
|
||
|
"spaces"
|
||
|
],
|
||
|
"max-line-length": [
|
||
|
true,
|
||
|
100
|
||
|
],
|
||
|
"member-ordering": [
|
||
|
true,
|
||
|
"public-before-private",
|
||
|
"static-before-instance",
|
||
|
"variables-before-functions"
|
||
|
],
|
||
|
"experimentalDecorators":true,
|
||
|
"no-arg": true,
|
||
|
"no-construct": true,
|
||
|
"no-duplicate-key": true,
|
||
|
"no-duplicate-variable": true,
|
||
|
"no-empty": false,
|
||
|
"no-eval": true,
|
||
|
"trailing-comma": true,
|
||
|
"no-trailing-whitespace": true,
|
||
|
"no-unused-expression": true,
|
||
|
"no-unused-variable": false,
|
||
|
"no-unreachable": true,
|
||
|
"no-use-before-declare": true,
|
||
|
"one-line": [
|
||
|
true,
|
||
|
"check-open-brace",
|
||
|
"check-catch",
|
||
|
"check-else",
|
||
|
"check-whitespace"
|
||
|
],
|
||
|
"quotemark": [
|
||
|
true,
|
||
|
"single"
|
||
|
],
|
||
|
"semicolon": true,
|
||
|
"triple-equals": [
|
||
|
true,
|
||
|
"allow-null-check"
|
||
|
],
|
||
|
"variable-name": false,
|
||
|
"whitespace": [
|
||
|
true,
|
||
|
"check-branch",
|
||
|
"check-decl",
|
||
|
"check-operator",
|
||
|
"check-separator",
|
||
|
"check-type"
|
||
|
]
|
||
|
}
|
||
|
}
|