Skip to content

Instantly share code, notes, and snippets.

@trival
Last active December 20, 2018 15:35
Show Gist options
  • Save trival/7118c2c3dd5dee0d8b2b387e370ee17e to your computer and use it in GitHub Desktop.
Save trival/7118c2c3dd5dee0d8b2b387e370ee17e to your computer and use it in GitHub Desktop.
Default tslint for starting projects
{
"extends": ["tslint:recommended", "tslint-config-standard", "tslint-config-prettier"],
"rules": {
"ordered-imports": true,
"no-duplicate-variable": true,
"no-unused-variable": true,
"curly": [true, "ignore-same-line"],
"triple-equals": [
true,
"allow-null-check"
],
"no-var-keyword": true,
"prefer-for-of": true,
"prefer-const": true,
"no-unused-expression": false,
"object-literal-sort-keys": false,
"interface-name": false,
"max-classes-per-file": false,
"member-access": false,
"array-type": false,
"forin": false,
"no-shadowed-variable": false,
"no-console": false,
"one-variable-per-declaration": false,
"no-bitwise": false,
"no-empty": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment