Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit abee1a8

Browse files
author
Matt Goo
committed
feat(infrastructure): add typescript eslint (#549)
1 parent 58cfc6f commit abee1a8

File tree

27 files changed

+597
-282
lines changed

27 files changed

+597
-282
lines changed

.eslintrc.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"extends": [
3+
"google",
4+
"plugin:react/recommended"
5+
],
6+
"plugins": [
7+
"react"
8+
],
9+
"rules": {
10+
"strict": 0,
11+
"require-jsdoc": "off",
12+
"valid-jsdoc": "off",
13+
"switch-colon-spacing": 0,
14+
"max-len": ["error", 120],
15+
"indent": ["error", 2, {"SwitchCase":1}],
16+
"no-invalid-this": "off",
17+
"object-curly-spacing": ["error", "never"]
18+
},
19+
"overrides": [
20+
{
21+
"parser": "typescript-eslint-parser",
22+
"parserOptions": {
23+
"jsx": true
24+
},
25+
"files": ["**/*.tsx", "**/*.ts"]
26+
}, {
27+
"parser": "babel-eslint",
28+
"files": ["**/*.jsx", "**/*.js"]
29+
}
30+
]
31+
}

.eslintrc.yml

-14
This file was deleted.

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ sudo: required
88
branches:
99
only:
1010
- master
11+
- feat/two-typescript
1112
- rc0.8.0
1213

1314
matrix:

0 commit comments

Comments
 (0)