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

OSCHINA-MIRROR/mirrors-update-scanner

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.eslintrc.js 1.5 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
sneakypete81 Отправлено 14.02.2019 00:38 89ec21f
module.exports = {
'parserOptions': {
'sourceType': 'module',
'ecmaVersion': 2017,
},
'extends': [
'eslint:recommended',
'google',
],
'plugins': [
'jsdoc',
],
'rules': {
// Don't allow assignment in conditionals
'no-cond-assign': ['error', 'except-parens'],
// We're allowed to log to console
'no-console': 'off',
// Don't prohibit whitespace around code blocks
'padded-blocks': 'off',
// Preferred indentation rules
'indent': ['error', 2, {
'FunctionExpression': {'parameters': 'first'},
'SwitchCase': 1,
'VariableDeclarator': 1,
}],
// Downgrade JSDoc requirement to a warning
'require-jsdoc': 'warn',
// Use @returns if the function returns
'valid-jsdoc': ['error', {
'requireReturn': false,
'prefer': {'return': 'returns'},
}],
// Turn on all jsdoc checks
'jsdoc/check-param-names': 'error',
'jsdoc/check-tag-names': 'error',
'jsdoc/check-types': 'error',
'jsdoc/newline-after-description': 'error',
'jsdoc/require-description-complete-sentence': 'error',
'jsdoc/require-hyphen-before-param-description': 'error',
'jsdoc/require-param': 'error',
'jsdoc/require-param-description': 'error',
'jsdoc/require-param-type': 'error',
'jsdoc/require-returns-description': 'error',
'jsdoc/require-returns-type': 'error',
},
'globals': {
},
'env': {
'es6': 'true',
'webextensions': 'true',
'browser': 'true',
},
};

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

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

1
https://api.gitlife.ru/oschina-mirror/mirrors-update-scanner.git
git@api.gitlife.ru:oschina-mirror/mirrors-update-scanner.git
oschina-mirror
mirrors-update-scanner
mirrors-update-scanner
master