1 Star 1 Fork 2

秦辉/vue-draggable-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.cjs 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
丶远方 提交于 2023-03-24 09:47 . lint: update eslint rules
// @ts-check
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
root: true,
env: {
node: true,
es2021: true
},
extends: [
'eslint:recommended',
'plugin:node/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:vue/base'
],
plugins: ['import'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
sourceType: 'module',
ecmaVersion: 2021
},
overrides:[
{
files: ['*.ts'],
rules: {
'no-console': ['error', { allow: ['warn', 'error'] }],
}
}
],
rules: {
'no-debugger': ['error'],
'node/no-unpublished-require': 0,
'node/no-extraneous-import': 0,
'node/no-extraneous-require': 0,
'node/no-missing-import': 0,
'node/no-missing-require': 0,
'no-undef': 0,
'node/no-unpublished-import': 0,
'node/no-unsupported-features/es-syntax': 0,
'no-process-exit': 0,
'@typescript-eslint/ban-ts-comment': 0,
'no-constant-condition': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-extra-semi': 0,
'@typescript-eslint/no-non-null-assertion': 0
}
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qhaly/vue-draggable-plus.git
git@gitee.com:qhaly/vue-draggable-plus.git
qhaly
vue-draggable-plus
vue-draggable-plus
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385