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

Commit e003fea

Browse files
author
Matt Goo
committed
feat(text-field): add typescript support (#550)
1 parent abee1a8 commit e003fea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3360
-1537
lines changed

.eslintrc.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@
2222
"parserOptions": {
2323
"jsx": true
2424
},
25-
"files": ["**/*.tsx", "**/*.ts"]
25+
"plugins": [
26+
"typescript"
27+
],
28+
"rules": {
29+
"typescript/no-unused-vars": "warn",
30+
"quotes": ["error", "single"],
31+
"jsx-quotes": ["error", "prefer-single"]
32+
},
33+
"files": ["**/*.+(tsx|ts)"]
2634
}, {
2735
"parser": "babel-eslint",
2836
"files": ["**/*.jsx", "**/*.js"]

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ branches:
1010
- master
1111
- feat/two-typescript
1212
- rc0.8.0
13+
- feat/typescript
1314

1415
matrix:
1516
include:

docs/screenshot-tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ docker pull mdcreact/screenshots
2727
Ensure that you have a `MDC_GCLOUD_SERVICE_ACCOUNT_KEY` environment variable (ie. ~/.bashrc, ~/.bash_profile). Otherwise you will need to paste it inline in the command below. You can get this off of the Google Cloud Platform Admin Tool (3rd party contributors will not be able to download/upload screenshots until this is part of the process is changed).
2828

2929
```
30-
docker run -it --rm --cap-add=SYS_ADMIN -e MDC_GCLOUD_SERVICE_ACCOUNT_KEY="${MDC_GCLOUD_SERVICE_ACCOUNT_KEY}" mdcreact/screenshots /bin/sh
30+
docker run -it --rm --cap-add=SYS_ADMIN -e MDC_GCLOUD_SERVICE_ACCOUNT_KEY="${MDC_GCLOUD_SERVICE_ACCOUNT_KEY}" mdcreact/screenshots /bin/bash
3131
```
3232

3333
This command opens a container based from the `mdcreact/screenshots` image you created in Step 1.

0 commit comments

Comments
 (0)