2 Star 0 Fork 55

hanqiufeng/ tiny-vue

forked from OpenTiny/ tiny-vue 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
/* eslint-env node */
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ['@antfu', 'plugin:prettier/recommended'],
rules: {
'vue/component-tags-order': [
'error',
{
order: [['script', 'template'], 'style']
}
],
'vue/attribute-hyphenation': 'off',
'vue/v-on-event-hyphenation': 'off',
'vue/order-in-components': 'off',
'vue/component-name-in-template-casing': 'off',
'vue/custom-event-name-casing': 'off',
'vue/quote-props': 'off',
'vue/attributes-order': 'off',
'vue/prop-name-casing': 'off',
'vue/html-self-closing': 'off',
'vue/prefer-separate-static-class': 'off',
'vue/comma-dangle': 'off',
'vue/prefer-template': 'off',
'vue/no-unused-refs': 'off',
'vue/require-component-is': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/no-v-for-template-key-on-child': 'off',
'curly': 'off',
'sort-imports': 'off',
'prefer-template': 'off',
'arrow-parens': 'off',
'operator-linebreak': 'off',
'antfu/if-newline': 'off',
'antfu/top-level-function': 'off',
'import/order': 'off',
'import/no-duplicates': 'off',
'quote-props': 'off',
'prefer-const': 'off',
'multiline-ternary': 'off',
'vue/no-deprecated-v-on-native-modifier': 'off',
'@typescript-eslint/comma-dangle': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/brace-style': 'off',
'@typescript-eslint/restrict-plus-operands': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-invalid-this': 'off',
'vue/no-deprecated-dollar-scopedslots-api': 'off'
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hanqiufeng/tiny-vue.git
git@gitee.com:hanqiufeng/tiny-vue.git
hanqiufeng
tiny-vue
tiny-vue
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385