-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
38 lines (36 loc) · 815 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
36
37
38
// -*- mode: Javascript -*-
// Use this file as a starting point for your project's .eslintrc.
// Copy this file, and add rule overrides as needed.
{
"extends": "airbnb/base",
"env": {
"mocha": true
},
"globals": {
"document": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react"
],
/**
* Overrides to the airbnb rules
*/
"rules": {
"func-names": 0,
"comma-dangle": [2, "never"],
"no-undef": [2],
"no-undefined": 1,
"no-use-before-define": 0,
// http://eslint.org/docs/rules/prefer-const
"prefer-const": 1,
// http://eslint.org/docs/rules/no-unused-vars.html
"no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
"padded-blocks": [0, "always"],
"react/jsx-uses-react": 2
}
}