-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsafety.js
37 lines (36 loc) · 876 Bytes
/
safety.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
'use strict';
const path = require('path');
module.exports = {
extends: path.join(__dirname, 'index.js'),
env: {
node: false,
browser: true,
es6: false
},
rules: {
'no-extra-semi': 'off',
'curly': 'off',
'no-multi-spaces': 'off',
'array-bracket-spacing': 'off',
'brace-style': 'off',
'camelcase': 'off',
'comma-spacing': 'off',
'indent': 'off',
'keyword-spacing': 'off',
'linebreak-style': 'off',
'max-params': ['warn', {
max: 7
}],
'no-mixed-spaces-and-tabs': 'off',
'no-trailing-spaces': 'off',
'object-curly-spacing': 'off',
'one-var-declaration-per-line': 'off',
'padded-blocks': 'off',
'quote-props': 'off',
'quotes': 'off',
'space-before-blocks': 'off',
'space-before-function-paren': 'off',
'space-in-parens': 'off',
'spaced-comment': 'off'
}
};