Last active
November 4, 2019 12:33
-
-
Save AilsonFreire/efa28e3516927d19e78a93eb3f60618d to your computer and use it in GitHub Desktop.
React Native tslint.json with all configurations applied in my projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": [ | |
"tslint:recommended", | |
"tslint-config-standard", | |
"tslint-react", | |
"tslint-config-prettier" | |
], | |
"rules": { | |
"class-name": true, | |
"member-access": false, | |
"interface-over-type-literal": false, | |
"comment-format": [true, "check-space"], | |
"jsx-no-lambda": false, | |
"indent": [true, "spaces"], | |
"one-line": [true, "check-open-brace", "check-whitespace"], | |
"no-var-keyword": true, | |
"no-var-requires": false, | |
"quotemark": [true, "double", "avoid-escape"], | |
"semicolon": [true, "always", "ignore-bound-class-methods"], | |
"whitespace": [ | |
true, | |
"check-branch", | |
"check-decl", | |
"check-operator", | |
"check-module", | |
"check-separator", | |
"check-type" | |
], | |
"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" | |
} | |
], | |
"no-internal-module": true, | |
"no-trailing-whitespace": true, | |
"no-null-keyword": true, | |
"prefer-const": true, | |
"jsdoc-format": true | |
} | |
} |
Testing comment
Testing comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just commenting for the sake of commenting