forked from Androz2091/discord-giveaways
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.js
More file actions
35 lines (35 loc) · 661 Bytes
/
.eslintrc.js
File metadata and controls
35 lines (35 loc) · 661 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
module.exports = {
env: {
commonjs: true,
es2020: true,
node: true
},
extends: 'eslint:recommended',
parserOptions: {
ecmaVersion: 11
},
rules: {
indent: [
'error',
4
],
quotes: [
'error',
'single'
],
semi: [
'error',
'always'
],
'eol-last': [
'error',
'always'
],
'prefer-const': [
'warn'
],
'quote-props': ['error', 'as-needed'],
'no-async-promise-executor': 0,
'no-unused-vars': 0
}
};