yacd/.eslintrc.yml

32 lines
417 B
YAML
Raw Permalink Normal View History

2018-10-20 20:32:02 +08:00
---
env:
browser: true
node: true
jest/globals: true
es6: true
parser: babel-eslint
plugins:
- import
- react-hooks
2018-10-20 20:32:02 +08:00
- jest
extends:
2019-03-28 21:43:11 +08:00
- react-app
2018-10-20 20:32:02 +08:00
- eslint:recommended
- plugin:import/errors
2018-10-22 11:38:28 +08:00
settings:
import/resolver: webpack
2018-10-20 20:32:02 +08:00
globals:
__DEV__: true
2018-10-20 20:32:02 +08:00
# Promise: true
rules:
quotes: ["error", "single"]
strict: ["error", "never"]
no-console: "warn"
react-hooks/rules-of-hooks: error