Skip to content

Commit e3e24c7

Browse files
author
junexie
committed
feature: update mock api
1 parent dea0a7c commit e3e24c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+7203
-3014
lines changed

.eslintrc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = {
2626
'error',
2727
'only-multiline'
2828
],
29-
'complexity': ['error', 10],
29+
'complexity': ['error', 20],
3030
'func-names': 'off',
3131
'global-require': 'off',
3232
'handle-callback-err': [
@@ -82,10 +82,12 @@ module.exports = {
8282
'error',
8383
'never'
8484
],
85-
'indent': ['error', 4],
85+
'indent': ['error', 2],
8686
'space-before-function-paren': ['error', 'never'],
8787
'max-len': 'off',
8888
'no-restricted-syntax': 'off',
89+
'class-methods-use-this': 'off',
90+
'consistent-return': 'off',
8991
},
9092
'globals': {
9193
'window': true,

0 commit comments

Comments
 (0)