Skip to content

Commit

Permalink
Tweak tslint/editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Feb 27, 2018
1 parent 9ac7c3d commit 9d2dc8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Expand Up @@ -55,7 +55,7 @@ indent_style = space
indent_size = 2
tab_width = 2

[{*.js,*.jsx}]
[{*.js,*.jsx,*.ts,*.tsx}]
indent_style = space
indent_size = 2
continuation_indent_size = 4
Expand Down
2 changes: 2 additions & 0 deletions server/zanata-frontend/src/tslint.json
Expand Up @@ -9,6 +9,8 @@
"arrow-parens": false,
"semicolon": false,
"max-classes-per-file": false,
// Allow long lines for import/export/TSX
"max-line-length": [true, {"limit": 120, "ignore-pattern": "^import |^export | implements |^\\s*<"}],
"trailing-comma": [false],
"quotemark": [false],
"space-before-function-paren": false,
Expand Down

0 comments on commit 9d2dc8b

Please sign in to comment.