prettier с фиксом для поддержки скобок с новой строки
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
668 B

root: true
env:
es6: true
node: true
extends:
- eslint:recommended
- plugin:react/recommended
- plugin:prettier/recommended
plugins:
- import
rules:
curly: error
import/no-extraneous-dependencies:
- error
- devDependencies: ["tests*/**", "scripts/**"]
no-else-return: error
no-inner-declarations: error
no-unneeded-ternary: error
no-useless-return: error
no-var: error
one-var:
- error
- never
prefer-arrow-callback: error
prefer-const: error
react/display-name: off
react/no-deprecated: off
react/prop-types: off
strict: error
symbol-description: error
yoda:
- error
- never
- exceptRange: true