yacd/.eslintrc.yml
2019-03-31 00:21:10 +08:00

30 lines
403 B
YAML

---
env:
browser: true
node: true
jest/globals: true
es6: true
parser: babel-eslint
plugins:
- import
- react-hooks
- jest
extends:
- react-app
- eslint:recommended
- plugin:import/errors
settings:
import/resolver: webpack
# globals:
# Promise: true
rules:
quotes: ["error", "single"]
strict: ["error", "never"]
no-console: "warn"
react-hooks/rules-of-hooks: error