forked from js-joda/js-joda
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.js
More file actions
42 lines (42 loc) · 781 Bytes
/
.eslintrc.js
File metadata and controls
42 lines (42 loc) · 781 Bytes
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
39
40
41
42
module.exports = {
'extends': 'eslint:recommended',
'parserOptions': {
'ecmaVersion': 6,
'sourceType': 'module',
'forOf': false
},
'rules': {
'indent': [
2,
4,
{
'SwitchCase': 1
}
],
'quotes': [
2,
'single',
'avoid-escape'
],
'linebreak-style': [
2,
'unix'
],
'semi': [
2,
'always'
],
'eqeqeq': [
2,
'smart'
],
'no-var': 'error',
'prefer-const': 'error'
},
'env': {
'es6': false,
'browser': true,
'node': true,
'mocha': true
}
};