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

OSCHINA-MIRROR/thunur-vue-naive-ui-admin

Клонировать/Скачать
.eslintrc.js 2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Thunur Отправлено 03.04.2022 19:02 982d5e5
module.exports = {
env: {
browser: true,
es2021: true,
},
globals: {
defineProps: 'readonly',
defineEmits: 'readonly',
defineExpose: 'readonly',
withDefaults: 'readonly',
__APP_INFO__: 'readonly',
},
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 12,
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint'],
extends: [
'plugin:vue/vue3-recommended',
'@vue/typescript/recommended',
'prettier',
'plugin:prettier/recommended',
],
rules: {
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-empty-function': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'space-before-function-paren': 'off',
'vue/script-setup-uses-vars': 'error',
'vue/custom-event-name-casing': 'off',
'vue/valid-v-slot': 'off',
'vue/attributes-order': 'off',
'vue/one-component-per-file': 'off',
'vue/html-closing-bracket-newline': 'off',
'vue/max-attributes-per-line': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/attribute-hyphenation': 'off',
'vue/require-default-prop': 'off',
'vue/require-explicit-emits': 'off',
'vue/html-self-closing': 'off',
'vue/multi-word-component-names': 'off',
},
};

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

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

1
https://api.gitlife.ru/oschina-mirror/thunur-vue-naive-ui-admin.git
git@api.gitlife.ru:oschina-mirror/thunur-vue-naive-ui-admin.git
oschina-mirror
thunur-vue-naive-ui-admin
thunur-vue-naive-ui-admin
main