-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.js
26 lines (25 loc) · 908 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
module.exports = {
extends: 'airbnb-base',
rules: {
'arrow-body-style': 'off',
'arrow-parens': 'off',
'class-methods-use-this': 'off',
'comma-dangle': ['error', 'never'],
'func-names': 'off',
'key-spacing': ['error', { beforeColon: false, afterColon: true, mode: 'minimum' }],
'linebreak-style': 'off',
'max-len': ['error', 120, 2, { ignoreComments: true }],
'no-bitwise': ['error', { 'allow': ['~'] }],
'no-multi-spaces': 'off',
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 1 }],
'no-nested-ternary': 'off',
'no-param-reassign': ['error', { props: false }],
'no-plusplus': 'off',
'no-underscore-dangle': 'off',
'no-unused-vars': ['error', { vars: 'local', args: 'none' }],
'no-use-before-define': ['error', 'nofunc'],
'no-useless-call': 'error',
'prefer-template': 'off',
'wrap-iife': ['error', 'inside']
}
};