代码拉取完成,页面将自动刷新
同步操作将从 kindi/soybean-admin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
module.exports = {
env: {
browser: true,
es2021: true,
'vue/setup-compiler-macros': true,
},
globals: {
PROJECT_BUILD_TIME: 'readonly',
AMap: 'readonly',
BMap: 'readonly',
TMap: 'readonly',
},
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 12,
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint'],
extends: [
'airbnb-base',
'eslint:recommended',
'plugin:vue/vue3-recommended',
'plugin:prettier/recommended',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier',
'@vue/typescript/recommended',
],
rules: {
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
'import/order': [
'error',
{
'newlines-between': 'never',
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
pathGroups: [
{
pattern: 'vue',
group: 'external',
position: 'before',
},
{
pattern: 'vue-router',
group: 'external',
position: 'before',
},
{
pattern: 'vuex',
group: 'external',
position: 'before',
},
{
pattern: 'pinia',
group: 'external',
position: 'before',
},
// ui framework, such as "naive-ui"
// {
// pattern: 'naive-ui',
// group: 'external',
// position: 'before'
// },
{
pattern: '@/config',
group: 'internal',
position: 'before',
},
{
pattern: '@/settings',
group: 'internal',
position: 'before',
},
{
pattern: '@/enum',
group: 'internal',
position: 'before',
},
{
pattern: '@/plugins',
group: 'internal',
position: 'before',
},
{
pattern: '@/layouts',
group: 'internal',
position: 'before',
},
{
pattern: '@/views',
group: 'internal',
position: 'before',
},
{
pattern: '@/components',
group: 'internal',
position: 'before',
},
{
pattern: '@/router',
group: 'internal',
position: 'before',
},
{
pattern: '@/store',
group: 'internal',
position: 'before',
},
{
pattern: '@/composables',
group: 'internal',
position: 'before',
},
{
pattern: '@/hooks',
group: 'internal',
position: 'before',
},
{
pattern: '@/service',
group: 'internal',
position: 'before',
},
{
pattern: '@/utils',
group: 'internal',
position: 'before',
},
{
pattern: '@/assets',
group: 'internal',
position: 'before',
},
{
pattern: '@/**',
group: 'internal',
position: 'before',
},
{
pattern: '@/interface',
group: 'internal',
position: 'before',
},
],
pathGroupsExcludedImportTypes: [
'vue',
'vue-router',
'vuex',
'pinia',
// 'naive-ui'
],
},
],
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
'max-classes-per-file': 'off',
'no-param-reassign': [
'error',
{
props: true,
ignorePropertyModificationsFor: ['state', 'acc', 'e'],
},
],
'no-plusplus': 'off',
'no-shadow': 'off',
'no-unused-vars': 'off',
'no-use-before-define': 'off',
'vue/multi-word-component-names': [
'error',
{
ignores: ['index'],
},
],
'@typescript-eslint/ban-types': [
'error',
{
types: {
'{}': {
message: 'Use object instead',
fixWith: 'object',
},
},
},
],
'@typescript-eslint/no-empty-interface': [
'error',
{
allowSingleExtends: true,
},
],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/no-unused-vars': ['warn', { ignoreRestSiblings: true, varsIgnorePattern: '^_' }],
'@typescript-eslint/no-use-before-define': ['error', { classes: true, functions: false, typedefs: false }],
},
overrides: [
{
files: ['*.vue'],
rules: {
'no-undef': 'off',
},
},
{
files: ['*.html'],
rules: {
'vue/comment-directive': 'off',
},
},
],
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。