Skip to content

Instantly share code, notes, and snippets.

@seveves
Created June 20, 2017 14:17
Show Gist options
  • Save seveves/c9e10211703e97f310b21123a77a28bb to your computer and use it in GitHub Desktop.
Save seveves/c9e10211703e97f310b21123a77a28bb to your computer and use it in GitHub Desktop.
example tslint config
{
"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