forked from lrojas94/react-timeslot-calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 981 Bytes
/
.eslintrc
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
{
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:jest/recommended"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["react", "jest"],
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-cond-assign": ["error", "always"],
"no-unused-vars": ["error", {"argsIgnorePattern": "state|action|dispatch"}],
"no-console": "off",
"no-extra-boolean-cast": "off",
"camelcase": 2,
"comma-dangle": ["error", "always-multiline"],
"keyword-spacing": ["error", { "after": true, "before": true }],
"react/jsx-curly-spacing": ["error", "always"],
"react/jsx-equals-spacing": ["error", "always"]
},
"globals": {
"document": true,
"console": true,
"__dirname": true,
"module": true,
},
"env": {
"jest/globals": true
}
}