Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
17 contributors

Users who have contributed to this file

@ashwinr @andy-hanson @adidahiya @gscshoyru @ajafff @JoshuaKGoldberg @VincentLanglet @nchen63 @reichhartd @SteveSanderson @DickvdBrink @ChrisPearce @bennyn @andy-ms @AndreasGassmann @NaridaL @am11
103 lines (98 sloc) 2.61 KB
{
"extends": [
"tslint:all",
"tslint-config-prettier",
"tslint-plugin-prettier"
],
"rules": {
// Formatting rules
"prettier": true,
// Don't want these
"cyclomatic-complexity": false,
"increment-decrement": false,
"newline-before-return": false,
"no-parameter-properties": false,
"no-parameter-reassignment": false,
"no-unused-variable": false,
"typedef": false,
"unnecessary-else": false,
// TODO: Enable stricter options for these
"comment-format": {
"options": [
"check-space"
]
},
"member-access": true,
"only-arrow-functions": {
"options": [
"allow-declarations",
"allow-named-functions"
]
},
// TODO: Enable these
"completed-docs": false,
"no-any": false,
"no-magic-numbers": false,
"no-non-null-assertion": false,
"no-null-keyword": false,
"no-require-imports": false,
"no-unbound-method": false,
"no-unnecessary-qualifier": false,
"no-use-before-declare": false,
"no-void-expression": false,
"prefer-function-over-method": false,
"strict-comparisons": false,
"strict-type-predicates": false,
"triple-equals": {
"options": [
"allow-undefined-check"
]
},
// Misc
"ban": {
"options": [
[
"describe",
"only"
],
[
"it",
"only"
]
]
},
"interface-name": false,
"file-header": {
"options": [
"Copyright \\d{4} Palantir Technologies, Inc."
]
},
"max-classes-per-file": false,
"member-ordering": {
"options": {
"order": "statics-first"
}
},
"no-console": {
"options": [
"log"
]
},
"no-switch-case-fall-through": true,
"strict-boolean-expressions": {
"options": [
"allow-boolean-or-undefined"
]
},
"switch-default": false,
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
]
},
"linebreak-style": false
}
}
You can’t perform that action at this time.