2018-10-20 20:32:02 +08:00
|
|
|
---
|
|
|
|
extends:
|
2019-03-28 21:43:11 +08:00
|
|
|
- react-app
|
2018-10-20 20:32:02 +08:00
|
|
|
- eslint:recommended
|
|
|
|
|
2019-12-26 18:50:45 +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"
|
2018-10-30 23:37:42 +08:00
|
|
|
react-hooks/rules-of-hooks: error
|