forked from santilland/plotty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
31 lines (31 loc) · 814 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false
},
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore",
}],
"no-restricted-syntax": ["error", "WithStatement"],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": [2, { devDependencies: true }],
"no-plusplus": "off",
"no-underscore-dangle": ["error", {
"allowAfterThis": true,
}],
"class-methods-use-this": "off"
},
"env": {
"es6": true,
"mocha": true,
"browser": true,
"node": true
},
};