Skip to content
This repository has been archived by the owner on Sep 30, 2019. It is now read-only.

Commit

Permalink
Use same linter rules for JavaScript files as TypeScript files
Browse files Browse the repository at this point in the history
  • Loading branch information
vsaarinen committed Dec 13, 2016
1 parent d0f5d03 commit 12e6a5b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,22 @@
"quotemark": [true, "single", "avoid-escape", "jsx-double"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"]
},
"jsRules": {
"arrow-parens": false,
"array-type": [true, "array"],
"interface-name": [false, "always-prefix"],
"jsx-alignment": true,
"jsx-no-lambda": true,
"jsx-no-multiline-js": false,
"jsx-no-string-ref": true,
"jsx-self-close": true,
"max-classes-per-file": [false],
"member-ordering": [false],
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"quotemark": [true, "single", "avoid-escape", "jsx-double"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"]
},
"rulesDirectory": []
}

0 comments on commit 12e6a5b

Please sign in to comment.