-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
33 lines (33 loc) · 959 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
'use strict'
module.exports = {
'env': {
'es6': true,
'commonjs': true,
'node': true
},
'extends': 'eslint:recommended',
'rules': {
'indent': ['error', 4],
'linebreak-style': 'off',
'quotes': 'off',
'semi': ['error', 'always'],
'no-unused-vars': 'off',
'no-console': 'off',
'space-before-blocks': ['error', 'always'],
'space-infix-ops': 'error',
'space-before-function-paren': ['error', {
'anonymous': 'always',
'named': 'never'
}],
'arrow-spacing': 'error',
'comma-spacing': ['error', {'before': false, 'after': true}],
'keyword-spacing': ['error', {'before': true, 'after': true}],
'key-spacing': ['error', {'beforeColon': false, 'afterColon': true}]
},
'globals':{
'RASP': true,
'Attack': true,
'PluginError': true,
'Context': true
}
}