OpenProject is the leading open source project management software.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"jsRules": {
|
|
|
|
"class-name": true,
|
|
|
|
"comment-format": [
|
|
|
|
true,
|
|
|
|
"check-space"
|
|
|
|
],
|
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
"spaces"
|
|
|
|
],
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-eval": true,
|
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"no-unsafe-finally": true,
|
|
|
|
"one-line": [
|
|
|
|
true,
|
|
|
|
"check-open-brace",
|
|
|
|
"check-whitespace"
|
|
|
|
],
|
|
|
|
"quotemark": false,
|
|
|
|
"semicolon": [
|
|
|
|
true,
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"triple-equals": [
|
|
|
|
true,
|
|
|
|
"allow-null-check"
|
|
|
|
],
|
|
|
|
"variable-name": [
|
|
|
|
true,
|
|
|
|
"ban-keywords"
|
|
|
|
],
|
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-separator"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"class-name": true,
|
|
|
|
"curly": true,
|
|
|
|
"eofline": false,
|
|
|
|
"forin": true,
|
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"label-position": true,
|
|
|
|
"max-line-length": [
|
|
|
|
false,
|
|
|
|
140
|
|
|
|
],
|
|
|
|
"no-var-keyword": false,
|
|
|
|
"no-arg": true,
|
|
|
|
"no-bitwise": false,
|
|
|
|
"no-console": [
|
|
|
|
true,
|
|
|
|
"debug",
|
|
|
|
"info",
|
|
|
|
"time",
|
|
|
|
"timeEnd",
|
|
|
|
"trace"
|
|
|
|
],
|
|
|
|
"no-construct": true,
|
|
|
|
"no-debugger": true,
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-empty": true,
|
|
|
|
"no-eval": true,
|
|
|
|
"no-string-literal": false,
|
|
|
|
"no-trailing-whitespace": true,
|
|
|
|
"no-use-before-declare": true,
|
|
|
|
"one-line": [
|
|
|
|
true,
|
|
|
|
"check-open-brace",
|
|
|
|
"check-whitespace"
|
|
|
|
],
|
|
|
|
"quotemark": false,
|
|
|
|
"radix": false,
|
|
|
|
"semicolon": true,
|
|
|
|
"triple-equals": [
|
|
|
|
true,
|
|
|
|
"allow-null-check"
|
|
|
|
],
|
|
|
|
"variable-name": false,
|
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-separator"
|
|
|
|
],
|
|
|
|
"typedef-whitespace": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"call-signature": "nospace",
|
|
|
|
"index-signature": "nospace",
|
|
|
|
"parameter": "nospace",
|
|
|
|
"property-declaration": "nospace",
|
|
|
|
"variable-declaration": "nospace"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"call-signature": "nospace",
|
|
|
|
"index-signature": "nospace",
|
|
|
|
"parameter": "nospace",
|
|
|
|
"property-declaration": "nospace",
|
|
|
|
"variable-declaration": "nospace"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|