Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (49 sloc) 1.63 KB
{
"extends": ["tslint:recommended", "tslint-sonarts"],
"linterOptions": {
"exclude": ["build", "lib"]
},
"rules": {
"quotemark": [true, "single", "jsx-double", "avoid-escape"],
"trailing-comma": [true, "never"],
"no-consecutive-blank-lines": [true, 2],
"max-classes-per-file": [false, 1],
"interface-name": [false],
"arrow-parens": [true, "ban-single-arg-parens"],
"max-line-length": [false],
"no-console": [false],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"semicolon": [true, "always"],
"object-literal-key-quotes": [true, "as-needed"],
"max-union-size": [true, 5],
"no-duplicate-string": [true, 4],
"cognitive-complexity": [true, 120],
"parameters-max-number": [true, 8],
"no-big-function": [true, 400]
},
"jsRules": {
"quotemark": [true, "single", "jsx-double", "avoid-escape"],
"trailing-comma": [true, "never"],
"no-consecutive-blank-lines": [true, 2],
"max-classes-per-file": [false, 1],
"interface-name": [false],
"arrow-parens": [true, "ban-single-arg-parens"],
"max-line-length": [false],
"no-console": [false],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"semicolon": [true, "always"],
"object-literal-key-quotes": [true, "as-needed"]
}
}
You can’t perform that action at this time.