forked from clientIO/joint
-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy path.eslintrc.js
27 lines (27 loc) · 830 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
module.exports = {
'extends': 'eslint:recommended',
'rules': {
'indent': ['error', 4, { 'SwitchCase': 1 }],
'space-before-function-paren': ['error', 'never'],
'no-console': ['error', { 'allow': ['warn'] }],
'object-curly-spacing': ['error', 'always', { 'objectsInObjects': false }],
'no-constant-condition': ['off'],
'no-undef': ['error'],
'no-unused-vars': ['error', { 'vars': 'local', 'args': 'none' }],
'quotes': ['error', 'single'],
'semi': ['error', 'always'],
'no-prototype-builtins': ['off']
},
'env': {
'browser': true,
'node': true
},
'globals': {
'Uint8Array': true,
'CDATASection': true
},
'parserOptions': {
'ecmaVersion': 6,
'sourceType': 'module'
}
};