-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(infrastructure): add typescript eslint (#549)
- Loading branch information
Matt Goo
committed
Dec 19, 2018
1 parent
689b792
commit 3b4acb0
Showing
27 changed files
with
597 additions
and
282 deletions.
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 |
---|---|---|
@@ -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"] | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ sudo: required | |
branches: | ||
only: | ||
- master | ||
- feat/two-typescript | ||
- rc0.8.0 | ||
|
||
matrix: | ||
|
Oops, something went wrong.