forked from aendra-rininsland/learning-d3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (33 loc) · 767 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
/**
* Learning Data Visualization With D3.js, Second Edition
*
* Ændrew Rininsland, <[email protected]>
*
* This is the ESLint config file, .eslintrc. ESLint is used to lint our code, keeping
* it happy and clean. It also whines if you use double quote marks; change `rules.quotes` if
* you just absolutely *must* have your double-quotes. 😩😉😜
*/
{
"extends": "eslint:recommended",
"env": {
"es6": true,
"browser": true,
"jasmine": true,
"node": true
},
"globals": {
"d3": true,
"module": true,
"inject": true,
"require": true
},
"ecmaFeatures": {
"modules": true
},
"rules": {
"no-console": 0,
"strict": 0,
"quotes": [2, "single", "avoid-escape"]
},
"parser": "babel-eslint",
}