Skip to content

Commit

Permalink
[chore] Configure ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Xapphire13 committed Apr 13, 2019
1 parent 79f6355 commit 19c7f66
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ env:
browser: true
commonjs: true
es6: true
extends:
- "plugin:@typescript-eslint/recommended"
- "prettier"
- "prettier/@typescript-eslint"
extends:
- "plugin:@typescript-eslint/recommended"
- "prettier"
- "prettier/@typescript-eslint"
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2018
rules:
rules:
"@typescript-eslint/explicit-function-return-type":
- warn
- allowExpressions: true
"@typescript-eslint/ban-types": off
"@typescript-eslint/no-angle-bracket-type-assertion": off
"@typescript-eslint/no-explicit-any": off
Expand Down

0 comments on commit 19c7f66

Please sign in to comment.