代码拉取完成,页面将自动刷新
module.exports = {
extends: ['alloy', 'alloy/vue', 'alloy/typescript', './.eslintrc-auto-import'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: {
js: '@babel/eslint-parser',
jsx: '@babel/eslint-parser',
ts: '@typescript-eslint/parser',
tsx: '@typescript-eslint/parser'
// Leave the template parser unspecified, so that it could be determined by `<script lang="...">`
}
},
env: {
// Your environments (which contains several predefined global variables)
//
browser: true,
node: true
// mocha: true,
// jest: true,
// jquery: true
},
globals: {
// Your global variables (setting to false means it's not allowed to be reassigned)
//
ComponentInstance: true
},
rules: {
// Customize your rules
//
'@typescript-eslint/no-use-before-define': ['error', { functions: false }],
'@typescript-eslint/no-unused-vars': 2,
// Please keep this rule off because it requiresTypeChecking
// https://github.com/vuejs/vue-eslint-parser/issues/104
// https://github.com/typescript-eslint/typescript-eslint/pull/5318
'@typescript-eslint/prefer-optional-chain': 'off'
}
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。