forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc-global.js
28 lines (28 loc) · 931 Bytes
/
.eslintrc-global.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
module.exports = {
rules: {
'semi': ['error'],
'no-var': ['error'],
'max-len': ['error', { 'ignoreUrls': true }],
'eol-last': ['error'],
'indent': ['error', 2],
'camelcase': ['error'],
'semi-spacing': ['error'],
'arrow-spacing': ['error'],
'comma-spacing': ['error'],
'no-multi-spaces': ['error'],
'quotes': ['error', 'single'],
'no-trailing-spaces': ['error'],
'space-before-blocks': ['error'],
'newline-before-return': ['error'],
'comma-dangle': ['error', 'always-multiline'],
'space-before-function-paren': ['error', {
named: 'never',
anonymous: 'never',
asyncArrow: 'always'
}],
'key-spacing': ['error', { beforeColon: false }],
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
'keyword-spacing': ['error', { overrides: { catch: { after: false } } }],
'@typescript-eslint/no-var-requires': 0,
}
};