forked from react-grid-layout/react-draggable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
35 lines (35 loc) · 677 Bytes
/
Copy path.eslintrc
File metadata and controls
35 lines (35 loc) · 677 Bytes
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
33
34
35
{
"parser": "@babel/eslint-parser",
"extends": "eslint:recommended",
"plugins": [
"react"
],
"ignorePatterns": ["build/**/*.js"],
"rules": {
"strict": 0,
"quotes": [1, "single"],
"curly": [1, "multi-line"],
"camelcase": 0,
"comma-dangle": 0,
"no-console": 2,
"no-use-before-define": [1, "nofunc"],
"no-underscore-dangle": 0,
"no-unused-vars": [1, {ignoreRestSiblings: true}],
"new-cap": 0,
"prefer-const": 1,
"semi": 1
},
env: {
"browser": true,
"node": true
},
globals: {
// For Flow
"ReactElement",
"ReactClass",
"$Shape",
"$Exact",
"$Keys",
"MouseTouchEvent",
}
}