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

OSCHINA-MIRROR/was666-as-editor

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.eslintrc.js 1004 Байты
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
王奥斯 Отправлено 25.08.2021 09:39 0909c3e
module.exports = {
root: true,
env: {
browser: true,
commonjs: true,
node: true,
es6: true,
},
extends: ['plugin:vue/essential', 'eslint:recommended'],
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module',
},
rules: {
'no-console': 'off',
'no-debugger': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'space-before-function-paren': [0, 'always'], // 函数定义时括号前面要不要有空格
'prefer-const': 'off', // 建议使用const
'brace-style': ['error', '1tbs'], // 大括号风格要求
'@typescript-eslint/no-explicit-any': 'off',
'no-useless-constructor': 'off', // 无用的构造函数
'no-useless-return': 'off',
'no-unreachable': 'off', // 禁止在 return、throw、continue 和 break 语句后出现不可达代码
'no-new-object': 'off', // 禁止使用 Object 构造函数
'no-prototype-builtins': 'off',
'vue/no-mutating-props': 'off'
},
parser: 'vue-eslint-parser',
}

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

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

1
https://api.gitlife.ru/oschina-mirror/was666-as-editor.git
git@api.gitlife.ru:oschina-mirror/was666-as-editor.git
oschina-mirror
was666-as-editor
was666-as-editor
master