forked from ll100-cn/testpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
32 lines (28 loc) · 867 Bytes
/
.eslintrc.yml
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
extends: 'airbnb'
env:
browser: true
rules:
semi: off
space-before-function-paren: [ error, never ]
comma-dangle: off
no-multi-spaces: [ error, exceptions: { VariableDeclarator: true } ]
newline-per-chained-call: off
prefer-arrow-callback: off
max-len: [ warn, 150 ]
object-shorthand: warn
func-names: off
import/no-unresolved: off
no-param-reassign: [warn, { props: false }]
react/no-danger: off
class-methods-use-this: off
import/extensions: [ warn, { jsx: "never" } ]
jsx-a11y/no-static-element-interactions: off
jsx-a11y/media-has-caption: off
import/no-webpack-loader-syntax: off
import/no-extraneous-dependencies: warn
react/require-default-props: off
react/no-render-return-value: off
react/forbid-prop-types: off
react/prop-types: warn
react/no-unused-prop-types: warn
react/jsx-curly-brace-presence: off