Skip to content

Commit 071adad

Browse files
authored
Merge pull request #25 from github/typescript
Convert to typescript
2 parents c5864e0 + 56bcc75 commit 071adad

10 files changed

Lines changed: 1329 additions & 4667 deletions

File tree

.babelrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.eslintrc.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
{
2+
"parser": "@typescript-eslint/parser",
23
"extends": [
34
"plugin:github/es6",
45
"plugin:github/browser",
5-
"plugin:github/flow"
6+
"plugin:github/typescript"
67
],
7-
"parser": "babel-eslint",
8+
"globals": {
9+
"TabContainerElement": "readable"
10+
},
11+
"rules": {
12+
"@typescript-eslint/no-non-null-assertion": "off"
13+
},
814
"overrides": [
915
{
10-
"files": "test/**/*.js",
16+
"files": ["test/**/*.js", "prettier.config.js"],
17+
"parser": "espree",
1118
"rules": {
12-
"flowtype/require-valid-file-annotation": "off",
1319
"github/unescaped-html-literal": "off"
1420
}
1521
}

.flowconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.

index.d.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

index.js.flow

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)