Created
June 20, 2017 14:17
-
-
Save seveves/c9e10211703e97f310b21123a77a28bb to your computer and use it in GitHub Desktop.
example tslint config
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
Show hidden characters
{ | |
"extends": "tslint:recommended", | |
"rulesDirectory": ["path/to/custom/rules/directory/", "another/path/"], | |
"rules": { | |
"max-line-length": { | |
"options": [120] | |
}, | |
"new-parens": true, | |
"no-arg": true, | |
"no-bitwise": true, | |
"no-conditional-assignment": true, | |
"no-consecutive-blank-lines": false, | |
"no-console": { | |
"options": [ | |
"debug", | |
"info", | |
"log", | |
"time", | |
"timeEnd", | |
"trace", | |
] | |
} | |
}, | |
"jsRules": { | |
"max-line-length": { | |
"options": [120] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment