Merge pull request #6 from holidayapi/development-v2

feat: port to typescript
This commit is contained in:
Josh Sherman 2019-09-09 22:30:30 -05:00 committed by GitHub
parent b6ad36a075
commit 4886f14bc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 7096 additions and 111 deletions

31
.eslintrc.json Normal file
View file

@ -0,0 +1,31 @@
{
"env": {
"browser": true,
"es6": true,
"jest/globals": true,
"node": true
},
"extends": [
"airbnb-base",
"plugin:import/typescript"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"jest"
],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"import/prefer-default-export": "off",
"lines-between-class-members": "off",
"no-unused-vars": "off"
}
}