Skip to content

Commit

Permalink
feat(infrastructure): add typescript eslint (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goo committed Dec 19, 2018
1 parent 689b792 commit 3b4acb0
Show file tree
Hide file tree
Showing 27 changed files with 597 additions and 282 deletions.
31 changes: 31 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"extends": [
"google",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"rules": {
"strict": 0,
"require-jsdoc": "off",
"valid-jsdoc": "off",
"switch-colon-spacing": 0,
"max-len": ["error", 120],
"indent": ["error", 2, {"SwitchCase":1}],
"no-invalid-this": "off",
"object-curly-spacing": ["error", "never"]
},
"overrides": [
{
"parser": "typescript-eslint-parser",
"parserOptions": {
"jsx": true
},
"files": ["**/*.tsx", "**/*.ts"]
}, {
"parser": "babel-eslint",
"files": ["**/*.jsx", "**/*.js"]
}
]
}
14 changes: 0 additions & 14 deletions .eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sudo: required
branches:
only:
- master
- feat/two-typescript
- rc0.8.0

matrix:
Expand Down

0 comments on commit 3b4acb0

Please sign in to comment.