yacd/.eslintrc.yml

36 lines
566 B
YAML

---
env:
browser: true
node: true
jest/globals: true
es6: true
parser: babel-eslint
plugins:
- import
- react
- react-hooks
- jest
extends:
- eslint:recommended
- plugin:import/errors
- plugin:react/recommended
settings:
import/resolver: webpack
react:
version: "16.7.0-alpha.2"
# globals:
# Promise: true
rules:
quotes: ["error", "single"]
strict: ["error", "never"]
no-console: "warn"
react/jsx-uses-react: "error"
react/jsx-uses-vars: "error"
react/react-in-jsx-scope: "error"
react-hooks/rules-of-hooks: error