Repository URL to install this package:
Version:
0.9.6 ▾
|
ui-component-library
/
tslint.json
|
---|
{
"extends": [
"tslint-react"
],
"rules": {
"align": [
true,
"parameters",
"arguments",
"statements"
],
"ban": false,
"class-name": true,
"comment-format": [
true,
"check-space"
],
// "curly": true,
"eofline": true,
"forin": true,
"indent": [
true,
"spaces",
2
],
"interface-name": [
true,
"never-prefix"
],
"jsdoc-format": true,
"jsx-no-lambda": false,
"jsx-no-multiline-js": false,
"jsx-boolean-value": false,
"label-position": true,
// "max-line-length": [ true, 500 ],
// "member-ordering": [
// true,
// "public-before-private",
// "static-before-instance",
// "variables-before-functions"
// ],
"no-any": true,
"no-arg": true,
"no-bitwise": true,
// "no-console": [
// true,
// "log",
// "error",
// "debug",
// "info",
// "time",
// "timeEnd",
// "trace"
// ],
// "arrow-parens": false
"space-within-parens": false,
"space-before-function-paren": false,
"no-sparse-arrays": true,
"no-null-keyword": true,
"one-variable-per-declaration": true,
"no-parameter-reassignment": true,
"no-consecutive-blank-lines": true,
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
// for some reason this has errors :(
// "no-unused-variable": [
// true,
// {
// "ignore-pattern": "^_"
// }
// ],
// "no-unused-expression": true,
// "no-use-before-declare": true,
"one-line": [
true,
"check-catch",
// "check-else",
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"single",
"jsx-double"
],
"radix": true,
"semicolon": [
true,
"never"
],
"switch-default": true,
"trailing-comma": [
true,
"es5"
],
"triple-equals": [
true
],
"typedef": [
true,
"parameter",
"property-declaration"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
}
}