Skip to content

Commit

Permalink
chore(dev-env): Update tslint.json
Browse files Browse the repository at this point in the history
Customize tslint.json so that style settings fall in line with the
standards we're already using on this project.
  • Loading branch information
VivekMChawla committed Feb 23, 2019
1 parent 3ec0e7f commit 2c5c9e4
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
{
"extends": "@salesforce/dev-config/tslint"
"extends": "@salesforce/dev-config/tslint",
"rules": {
"comment-format": false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "nospace",
"index-signature": "onespace",
"parameter": "nospace",
"property-declaration": "space",
"variable-declaration": "nospace"
}
],
"import-spacing": false,
"no-consecutive-blank-lines": false,
"no-trailing-whitespace": [true, "ignore-blank-lines"],
"one-line": [true, "check-open-brace", "check-whitespace"],
"whitespace": [true, "check-branch", "check-separator"],
// Remove these rule overrides once we have time for a style/formatting pass
"quotemark": false

}
}

0 comments on commit 2c5c9e4

Please sign in to comment.