-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc.js
58 lines (58 loc) · 1.22 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
'use strict';
module.exports = {
extends: 'ash-nazg/sauron-node',
env: {
node: true
},
settings: {
polyfills: [
'Number.parseInt',
'Object.assign',
'Object.entries',
'Promise',
'URL',
'URLSearchParams'
]
},
overrides: [{
files: ['*.md'],
globals: {
previouslySavedPathIDFromViewEvent: true,
dataToSaveAsString: true
},
rules: {
'no-unused-vars': ['error', {
varsIgnorePattern: 'pathID|content', argsIgnorePattern: 'i|type'
}],
'no-useless-return': 0
}
}],
globals: {
__dirname: true,
exports: true,
module: true,
require: true
},
rules: {
// Reenable later
strict: 0,
'prefer-object-spread': 0,
'max-len': 0,
'no-shadow': 0,
'no-console': 0,
'require-atomic-updates': 0,
'require-unicode-regexp': 0,
'require-await': 0,
'prefer-named-capture-group': 0,
'jsdoc/require-jsdoc': 0,
'no-sync': 0,
'node/exports-style': 0,
'node/no-unpublished-import': 0,
'node/no-missing-require': 0,
'node/no-missing-import': 0,
'import/no-unresolved': 0,
'import/unambiguous': 0,
'import/no-absolute-path': 0,
'import/no-commonjs': 0
}
};