-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
35 lines (34 loc) · 967 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
27
28
29
30
31
32
33
34
35
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: 'google',
ignorePatterns: [
// 'js/src/lib/*.js',
// 'js/src/react/*.js',
// 'js/src/spbc-admin.js',
// 'js/src/spbc-common.js',
// 'js/src/spbc-cookie.js',
// 'js/src/spbc-dashboard-widget.js',
// 'js/src/spbc-modal.js',
// 'js/src/spbc-scanner-plugin.js',
// 'js/src/spbc-settings.js',
// 'js/src/spbc-settings_tab--backups.js',
// 'js/src/spbc-settings_tab--scanner.js',
// 'js/src/spbc-settings_tab--security_log.js',
// 'js/src/spbc-settings_tab--settings_general.js',
// 'js/src/spbc-settings_tab--summary.js',
],
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {
'indent': ['error', 4],
'max-len': ['error', {'code': 120}],
'prefer-const': 'off',
},
globals: {
},
};