-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customize tslint.json so that style settings fall in line with the standards we're already using on this project.
- Loading branch information
1 parent
3ec0e7f
commit 2c5c9e4
Showing
1 changed file
with
29 additions
and
1 deletion.
There are no files selected for viewing
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
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 | ||
|
||
} | ||
} |