Skip to content

Instantly share code, notes, and snippets.

@sjy
Created November 15, 2017 16:27
Show Gist options
  • Save sjy/0c9609c0e200fdfc9d6d75453c46e819 to your computer and use it in GitHub Desktop.
Save sjy/0c9609c0e200fdfc9d6d75453c46e819 to your computer and use it in GitHub Desktop.
TSLint Config File Using Prettier Config + My Preference
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["**/*.js"]
},
"rules": {
"interface-over-type-literal": false,
"member-access": false,
"ordered-imports": false,
"no-implicit-dependencies": false,
"no-submodule-imports": false,
"member-ordering": false,
"interface-name": false,
"curly": false,
"no-empty": false,
"object-literal-sort-keys": false,
"no-shadowed-variable": false,
"only-arrow-functions": false,
"no-bitwise": false,
"no-var-requires": false,
"no-reference": false,
"prefer-const": false,
"no-empty-interface": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment