Skip to content

Commit

Permalink
Update tslint.json
Browse files Browse the repository at this point in the history
We can define jsRules as a boolean true, so all the rules defined in key "rules" that are compatible with js will be copied to here.
If you want to know more about this feature: palantir/tslint#3641.
  • Loading branch information
thiagestrela authored May 23, 2019
1 parent b25274d commit aec24b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tslint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"jsRules": true,
"rules": {
"semicolon": [true, "never"],
"quotemark": [true, "single", "jsx-double"],
Expand Down

0 comments on commit aec24b5

Please sign in to comment.