Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Improved the settings for ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
kurone-kito committed Aug 21, 2019
1 parent 731bdf9 commit d7d003d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
env:
browser: true
es6: true
es2020: true
jest/globals: true
extends:
- 'eslint:recommended'
Expand All @@ -11,13 +12,14 @@ parser: '@typescript-eslint/parser'
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: 2018
ecmaVersion: 2020
sourceType: module
plugins:
- '@typescript-eslint'
- import
- jest
- react
- react-hooks
rules:
'@typescript-eslint/no-unused-vars':
- error
Expand All @@ -41,6 +43,8 @@ rules:
- extensions:
- .jsx
- .tsx
react/prop-types:
- 'off'
settings:
import/resolver:
webpack:
Expand Down

0 comments on commit d7d003d

Please sign in to comment.