Skip to content

Instantly share code, notes, and snippets.

@dumpofmemory
Created May 5, 2019 13:41
Show Gist options
  • Save dumpofmemory/272cb501ca12aedac59f461a6d7bcde7 to your computer and use it in GitHub Desktop.
Save dumpofmemory/272cb501ca12aedac59f461a6d7bcde7 to your computer and use it in GitHub Desktop.
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-config-prettier"
],
"jsRules": {},
"rules": {
"jsx-no-lambda": false,
"ordered-imports": false,
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"curly": true,
"eofline": true,
"forin": true,
"import-spacing": true,
"interface-name" : false,
"interface-over-type-literal": true,
"label-position": true,
"max-line-length": [
true,
140
],
"member-access": false,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-arg": true,
"no-bitwise": true,
"no-console": true,
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": false,
"no-empty-interface": true,
"no-eval": true,
"no-inferrable-types": [
true,
"ignore-params"
],
"no-misused-new": true,
"no-non-null-assertion": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"prefer-const": true,
"quotemark": [
true,
"single",
"jsx-double"
],
"radix": true,
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"unified-signatures": true,
"variable-name": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"indent": [
true,
"spaces",
2
],
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"linebreak-style": [
true,
"LF"
],
"typedef": [
true,
"call-signature",
"parameter",
"arrow-call-signature",
"arrow-parameter",
"property-declaration"
],
"no-consecutive-blank-lines": true
},
"rulesDirectory": [],
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment