forked from survivejs/webpack-merge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (27 loc) · 798 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
// -*- 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",
/**
* Overrides to the airbnb rules
*/
"rules": {
"func-names": 0,
"comma-dangle": [2, "never"],
"no-undef": [2],
"no-undefined": 1,
"no-underscore-dangle": 0,
"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"],
"no-var": 0, // Node 4 tweak for tests
// TODO: enable these again
"prefer-arrow-callback": 0,
"prefer-template": 0,
"no-param-reassign": 0
}
}