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

OSCHINA-MIRROR/vuepress-reco-vuepress-theme-reco-next

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.eslintrc.js 1.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
reco_luan Отправлено 01.01.2022 20:43 38590a9
module.exports = {
root: true,
extends: 'vuepress',
globals: {
__VUEPRESS_VERSION__: 'readonly',
__VUEPRESS_DEV__: 'readonly',
__VUEPRESS_SSR__: 'readonly',
__VUE_HMR_RUNTIME__: 'readonly',
},
overrides: [
{
files: ['*.ts', '*.vue', '*.tsx'],
extends: 'vuepress-typescript',
parserOptions: {
project: ['tsconfig.eslint.json'],
},
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-var-requires': 'off',
'vue/match-component-file-name': [
'error',
{
extensions: ['tsx', 'vue'],
shouldMatchCase: false,
},
],
},
},
{
files: ['**/__tests__/**/*.ts'],
env: {
jest: true,
},
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
},
},
],
rules: {
'no-undef': [false, ['defineEmits', 'defineProps']],
},
}

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

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

1
https://api.gitlife.ru/oschina-mirror/vuepress-reco-vuepress-theme-reco-next.git
git@api.gitlife.ru:oschina-mirror/vuepress-reco-vuepress-theme-reco-next.git
oschina-mirror
vuepress-reco-vuepress-theme-reco-next
vuepress-reco-vuepress-theme-reco-next
main