Skip to content

Commit

Permalink
use typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
nkzawa committed Oct 8, 2019
1 parent a89ee09 commit 544c067
Show file tree
Hide file tree
Showing 7 changed files with 400 additions and 74 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ node_modules/*
docs/*
jsdoc2md/*
coverage/*
tests/*
tests/*
*.d.ts
*.js
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
"node": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "2018"
}
"ecmaVersion": "2018",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
]
}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,7 @@ typings/
.serverless

# Test files
run.js
run.js

index.js
*.d.ts
Loading

0 comments on commit 544c067

Please sign in to comment.