1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/onekit-weixin2alipay

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.eslintrc.js 2.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
edison_boss Отправлено 12.11.2021 10:56 f3feb92
module.exports = {
'extends': [
'airbnb-base',
'plugin:promise/recommended'
],
'parser': '@typescript-eslint/parser',
'plugins': ['@typescript-eslint'],
'parserOptions': {
'ecmaVersion': 9,
'ecmaFeatures': {
'jsx': false
},
'sourceType': 'module'
},
'env': {
'es6': true,
'node': true,
'jest': true
},
'plugins': [
'import',
'node',
'promise'
],
'rules': {
'space-before-function-paren': 0,
'arrow-parens': 'off',
'comma-dangle': [
'error',
'only-multiline'
],
'complexity': ['error', 20],
'func-names': 'off',
'global-require': 'off',
'handle-callback-err': [
'error',
'^(err|error)$'
],
'import/no-unresolved': [
'error',
{
'caseSensitive': true,
'commonjs': true,
'ignore': ['^[^.]']
}
],
'import/prefer-default-export': 'off',
'linebreak-style': 'off',
'no-catch-shadow': 'error',
'no-continue': 'off',
'no-div-regex': 'warn',
'no-else-return': 'off',
'no-param-reassign': 'off',
'no-plusplus': 'off',
'no-shadow': 'off',
'no-multi-assign': 'off',
'no-underscore-dangle': 'off',
'node/no-deprecated-api': 'error',
'node/process-exit-as-throw': 'error',
'object-curly-spacing': [
'error',
'never'
],
'operator-linebreak': [
'error',
'after',
{
'overrides': {
':': 'before',
'?': 'before'
}
}
],
'prefer-arrow-callback': 'off',
'prefer-destructuring': 'off',
'prefer-template': 'off',
'quote-props': [
1,
'as-needed',
{
'unnecessary': true
}
],
'semi': [
'error',
'never'
],
'no-await-in-loop': 'off',
'no-restricted-syntax': 'off',
'promise/always-return': 'off',
},
'globals': {
'global': true,
'window': true,
'document': true,
'App': true,
'Page': true,
'Component': true,
'my': true,
'getCurrentPages': true,
'getApp': true,
'basement': true
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/onekit-weixin2alipay.git
git@api.gitlife.ru:oschina-mirror/onekit-weixin2alipay.git
oschina-mirror
onekit-weixin2alipay
onekit-weixin2alipay
master