代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/vue-devtools 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
module.exports = {
root: true,
env: {
browser: true,
},
extends: [
'plugin:vue/recommended',
'@vue/standard',
'@vue/typescript/recommended',
],
parserOptions: {
ecmaVersion: 2020,
},
globals: {
bridge: true,
chrome: true,
localStorage: 'off',
HTMLDocument: true,
name: 'off',
browser: true,
},
rules: {
'vue/html-closing-bracket-newline': [
'error',
{
singleline: 'never',
multiline: 'always',
},
],
'no-var': ['error'],
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
},
singleline: {
delimiter: 'comma',
},
},
],
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
camelcase: 'warn',
'no-prototype-builtins': 'off',
'no-use-before-define': 'off',
'no-console': ['error', { allow: ['warn', 'error'] }],
'comma-dangle': ['error', 'always-multiline'],
quotes: ['error', 'single', { allowTemplateLiterals: true }],
},
ignorePatterns: [
'node_modules/',
'/packages/*/lib/',
'dist/',
'build/',
'build-node/',
'/legacy',
],
overrides: [
{
files: [
'release.js',
'sign-firefox.js',
'extension-zips.js',
'packages/build-tools/**',
'packages/shell-electron/**',
'**webpack.config.js',
],
rules: {
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/camelcase': 'off',
},
},
{
files: ['packages/shell-dev-vue3/**'],
rules: {
'vue/valid-template-root': 'off',
},
},
{
files: [
'packages/shell-dev-vue2/**',
'packages/shell-dev-vue3/**',
],
rules: {
'@typescript-eslint/no-unused-vars': 'off',
'vue/require-default-prop': 'off',
'vue/require-prop-types': 'off',
'no-console': 'off',
},
},
{
files: [
'packages/shell-host/**',
],
globals: {
localStorage: false,
},
rules: {
'no-console': 'off',
},
},
{
files: [
'packages/app-backend-core/src/hook.ts',
],
rules: {
'no-restricted-syntax': ['error', {
selector: 'ImportDeclaration',
message: 'File is injected with a `Function.toString()`, imports will not work',
}, {
selector: `CallExpression[callee.name='require']`,
message: 'File is injected with a `Function.toString()`, require will not work',
}],
},
},
],
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。