-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added linter. fixed fetch error case handling.
- Loading branch information
1 parent
e6e035c
commit 69ef12f
Showing
5 changed files
with
612 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
project: "./tsconfig.json" | ||
}, | ||
plugins: ['@typescript-eslint'], | ||
env: { | ||
browser: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
], | ||
parserOptions: { | ||
"project": "./tsconfig.json" | ||
}, | ||
rules: { | ||
"@typescript-eslint/no-non-null-assertion": 0, | ||
"semi": 2 | ||
} | ||
}; |
Oops, something went wrong.