tslint-config-cook
Version:
cook tslint config
85 lines (84 loc) • 2.19 kB
JSON
{
"extends": ["tslint-react", "tslint-eslint-rules", "tslint-config-prettier"],
"rules": {
"class-name": true,
"eofline": true,
"forin": true,
"jsdoc-format": false,
"label-position": true,
"member-ordering": [
true,
{
"order": "statics-first"
}
],
"new-parens": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": true,
"no-console": [true, "debug", "info", "log", "time", "timeEnd", "trace"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-internal-module": true,
"no-namespace": true,
"no-reference": true,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-var-keyword": true,
"quotemark": [
true,
"single",
"jsx-double",
"avoid-template",
"avoid-escape"
],
"no-use-before-declare": true,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"prefer-const": [true, {"destructuring": "all"}],
"radix": true,
"switch-default": true,
"trailing-comma": [
true,
{
"singleline": "never",
"multiline": "always",
"esSpecCompliant": true
}
],
"triple-equals": [true, "allow-null-check"],
"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"
}
],
"use-isnan": true,
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords",
"check-format",
"allow-pascal-case"
],
"jsx-no-lambda": false,
"jsx-no-string-ref": false,
"jsx-boolean-value": [true, "never"],
"jsx-no-multiline-js": false
}
}