-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.eslintrc.js
32 lines (32 loc) · 919 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
32
module.exports = {
extends: 'airbnb-base',
globals: {
chrome: true,
document: true,
window: true,
SHORTCUTS: true,
HubnavStorage: true,
isPresent: true,
GitHubUrl: true
},
rules: {
semi: ['error', 'never'],
'arrow-parens': ['error', 'as-needed'],
'padded-blocks': 0,
'no-plusplus': 0,
'no-param-reassign': 0,
indent: ['error', 2, { SwitchCase: 1, CallExpression: { arguments: 'off' } }],
'function-paren-newline': ['error', 'consistent'],
'class-methods-use-this': 0,
'no-restricted-syntax': 0,
'guard-for-in': 0,
'dot-location': ['error', 'object'],
'no-mixed-operators': 0,
'no-bitwise': 0,
'no-continue': 0,
'operator-linebreak': ['error', 'after'],
'prefer-destructuring': ['error', { object: true, array: false }],
'func-names': ['error', 'never'],
'space-before-function-paren': ['error', 'never']
}
};