forked from floating-ui/floating-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
27 lines (27 loc) · 737 Bytes
/
.eslintrc
File metadata and controls
27 lines (27 loc) · 737 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {},
"rules": {
"indent": ["error", 4, {"SwitchCase": 1}],
"no-cond-assign": [ "error", "except-parens" ],
"curly": "error",
"eqeqeq": "error",
"no-eq-null": "error",
"wrap-iife": [ "error", "any" ],
"no-use-before-define": "error",
"new-cap": "error",
"no-caller": "error",
"dot-notation": "error",
"no-undef": "error",
"no-unused-vars": "error",
"no-const-assign": "error",
"prefer-const": "error",
"no-var": "error",
"comma-dangle": ["error", "only-multiline"]
}
}