forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
45 lines (45 loc) · 1.07 KB
/
.eslintrc
File metadata and controls
45 lines (45 loc) · 1.07 KB
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
36
37
38
39
40
41
42
43
44
45
{
"extends": ["airbnb", "prettier", "prettier/react", "prettier/flowtype"],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"globals": {
"VERSION": true,
"$PropertyType": true,
"TimeoutID": true,
"object": true,
"__DEV__": true
},
"rules": {
"react/jsx-filename-extension": 0,
"react/sort-comp": 0,
"import/no-extraneous-dependencies": 0,
"react/prop-types": 0,
"arrow-parens": 0,
"import/prefer-default-export": 0,
"class-methods-use-this": 0,
"no-console": ["error", { "allow": ["error"] }],
"prefer-template": "off",
"no-plusplus": 0,
"no-underscore-dangle": "off",
"no-nested-ternary": "warn",
"react/require-default-props": "off",
"import/no-named-default": 0,
"import/no-webpack-loader-syntax": 0,
"import/extensions": [
"error",
"always",
{
"ts": "never",
"tsx": "never",
"js": "never"
}
],
"no-param-reassign": ["error", { "props": false }],
"camelcase": "error"
}
}