yacd/.eslintrc.yml
2019-12-27 16:29:45 +08:00

31 lines
417 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:
__DEV__: true
# Promise: true
rules:
quotes: ["error", "single"]
strict: ["error", "never"]
no-console: "warn"
react-hooks/rules-of-hooks: error