-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.yaml
32 lines (32 loc) · 1006 Bytes
/
.eslintrc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
extends: airbnb
rules:
no-underscore-dangle: 0
semi: ["error", "never"]
arrow-parens: ["error", "as-needed"]
max-len: ["error", { "code": 120, "ignoreTrailingComments": true, "ignoreUrls": true, "ignoreStrings": true, "ignoreComments": true }]
no-console: ["error", { allow: ["warn", "error", "group", "groupEnd"] }]
react/jsx-filename-extension: 0
import/no-extraneous-dependencies: 0 # Incorrect work with decorators
import/prefer-default-export: 0
jsx-a11y/anchor-is-valid: ["error", {"components": [], "specialLink": ["hrefLeft", "hrefRight"], "aspects": ["noHref", "invalidHref", "preferButton"]}]
jsx-a11y/href-no-hash: 0
react/forbid-prop-types: 0
env:
node: true
browser: true
es6: true
jest: true
parser: babel-eslint
parserOptions:
sourceType: 'module'
ecmaFeatures:
jsx: true
modules: true
destructuring: true
classes: true
forOf: true
blockBindings: true
arrowFunctions: true
experimentalObjectRestSpread: true
plugins:
- react