Added prettier and proptypes validation for linter
This commit is contained in:
27
.eslintrc.yml
Normal file
27
.eslintrc.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
env:
|
||||
browser: true
|
||||
es2021: true
|
||||
jest/globals: true
|
||||
extends:
|
||||
- "plugin:react/recommended"
|
||||
- standard
|
||||
- plugin:jest/recommended
|
||||
- plugin:jest/style
|
||||
- prettier
|
||||
- prettier/standard
|
||||
parserOptions:
|
||||
ecmaFeatures:
|
||||
jsx: true
|
||||
ecmaVersion: 12
|
||||
sourceType: module
|
||||
plugins:
|
||||
- react
|
||||
- jest
|
||||
rules:
|
||||
no-tabs: 0
|
||||
indent:
|
||||
- 2
|
||||
- tab
|
||||
settings:
|
||||
react:
|
||||
version: detect
|
||||
Reference in New Issue
Block a user