forked from arugaz/whatsapp-bot
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.js
More file actions
30 lines (30 loc) · 674 Bytes
/
.eslintrc.js
File metadata and controls
30 lines (30 loc) · 674 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
module.exports = {
env: {
commonjs: true,
es6: true,
node: true
},
extends: 'standard',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018
},
rules: {
eqeqeq: 0,
indent: [2, 4],
camelcase: 1,
'no-var': 2,
'no-unused-vars': 1,
'no-unused-expressions': 0,
'no-self-assign': 0,
'no-undef': 0,
'no-case-declarations': 0,
'prefer-promise-reject-errors': 1,
'object-property-newline': 0,
'no-useless-escape': 0,
'prefer-regex-literals': 0
}
}