-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.js
More file actions
35 lines (34 loc) · 828 Bytes
/
.eslintrc.js
File metadata and controls
35 lines (34 loc) · 828 Bytes
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
'use strict';
module.exports = {
extends: 'eslint-config-egg',
// babel-eslint (deprecated) is now @babel/eslint-parser
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2018,
requireConfigFile: false,
},
rules: {
'valid-jsdoc': 0,
'no-script-url': 0,
'no-multi-spaces': 0,
'default-case': 0,
'no-case-declarations': 0,
'one-var-declaration-per-line': 0,
'no-restricted-syntax': 0,
'jsdoc/require-param': 0,
'jsdoc/check-param-names': 0,
'jsdoc/require-param-description': 0,
'arrow-parens': 0,
'prefer-promise-reject-errors': 0,
'no-control-regex': 0,
'no-use-before-define': 0,
'array-callback-return': 0,
'no-bitwise': 0,
'no-self-compare': 0,
'one-var': 0
},
globals: {
window: true,
document: true,
}
};