forked from mattieFM/FearAndHungerModManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
59 lines (58 loc) · 1.17 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
rules: {
'no-undef': 'off',
'no-unused-vars': 'off',
'no-var': 'off',
'max-len': ['error', { code: 160 }],
'no-underscore-dangle': 'off',
'func-names': 'off',
'no-console': 'off',
'no-use-before-define': 'off',
'global-require': 'off',
'no-plusplus': 'off',
'vars-on-top': 'off',
'prefer-destructuring': 'off',
'prefer-spread': 'off',
'no-restricted-syntax': 'off',
'prefer-rest-params': 'off',
'no-alert': 'off',
camelcase: 'off',
'no-useless-concat': 'off',
'block-scoped-var': 'off',
'no-redeclare': 'off',
eqeqeq: 'off',
'no-param-reassign': 'off',
'no-fallthrough': 'off',
'no-eval': 'off',
'no-restricted-globals': 'off',
'no-bitwise': 'off',
'no-mixed-operators': 'off',
'class-methods-use-this': 'off',
indent: ['error', 'tab'],
'no-tabs': 'off',
'default-case': 'off',
'linebreak-style': ['error', 'windows'],
},
extends: 'airbnb-base',
overrides: [
{
env: {
node: true,
},
files: [
'.eslintrc.{js,cjs}',
],
parserOptions: {
sourceType: 'script',
},
},
],
parserOptions: {
ecmaVersion: 'latest',
},
};