代码拉取完成,页面将自动刷新
同步操作将从 dgiot开源社区/iotStudio 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
module.exports = {
root: true,
globals: {
moment: true,
Vue: true,
axios: true,
$: true,
Cookies: true,
downLink: true,
downloadFile: true,
downloadByLink: true,
_: true,
options: true,
Konva: true,
bcrypt: true,
BeFull: true,
JSONEditor: true,
VueAMap: true,
topology: true,
konva: true,
VCharts: true,
CountTo: true,
VueKonva: true,
Mock: true,
md5: true,
Base64: true,
ace: true,
mqtt: true,
COS: true,
paho: true,
Sortable: true,
vuex: true,
VueRouter: true,
clipboard: true,
lodash: true,
VueI18n: true,
XLSX: true,
colors: true,
FileSaver: true,
VueBaiduMap: true,
echarts: true,
screenfull: true,
qs: true,
Qs: true,
jsplumb: true,
JSEncrypt: true,
CodeMirror: true,
nprogress: true,
vueCodemirror: true,
vuedraggable: true,
elementChinaAreaData: true,
vueFlvPlayer: true,
EZUIKit: true,
fuzzy: true,
VueAliplayerV2: true,
},
env: {
node: true,
},
extends: ['plugin:vue/recommended', 'eslint:recommended', '@vue/prettier'],
parser: 'vue-eslint-parser',
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
ecmaFeatures: {
jsx: true,
},
},
rules: {
'no-unused-labels': 'off',
'no-unused-vars': 'off',
'no-undef': 'off',
'no-redeclare': 'off',
'no-unreachable': 'off',
'no-useless-escape': 'off',
'no-case-declarations': 'off',
'no-dupe-else-if': 'off',
'no-irregular-whitespace': 'off',
'no-prototype-builtins': 'off',
'no-empty': 'off',
'no-dupe-keys': 'off',
'no-self-assign': 'off',
'no-console': 'off',
'no-debugger': 'off',
'vue/no-unused-vars': 'off',
'vue/no-template-shadow': 'off',
'vue/no-unused-components': 'off',
'vue/no-useless-template-attributes': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-v-html': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'any',
normal: 'any',
component: 'always',
},
svg: 'always',
math: 'always',
},
],
// Vue.js风格指南(https://cn.vuejs.org/v2/style-guide/)
// Vue组件排序
'vue/order-in-components': [
'warn',
{
order: [
'el',
'name',
'key',
'parent',
'functional',
['delimiters', 'comments'],
['components', 'directives', 'filters'],
'extends',
'mixins',
['provide', 'inject'],
'ROUTER_GUARDS',
'layout',
'middleware',
'validate',
'scrollToTop',
'transition',
'loading',
'inheritAttrs',
'model',
['props', 'propsData'],
'emits',
'setup',
'fetch',
'asyncData',
'data',
'head',
'computed',
'watch',
'watchQuery',
'LIFECYCLE_HOOKS',
'methods',
['template', 'render'],
'renderError',
],
},
],
// Vue属性排序
'vue/attributes-order': [
'warn',
{
order: [
'DEFINITION',
'LIST_RENDERING',
'CONDITIONALS',
'RENDER_MODIFIERS',
'GLOBAL',
'UNIQUE',
'TWO_WAY_BINDING',
'OTHER_DIRECTIVES',
'OTHER_ATTR',
'EVENTS',
'CONTENT',
],
alphabetical: true, //字母顺序
},
],
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)',
],
env: {
jest: true,
},
},
],
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。