65 Star 180 Fork 61

antv/G2

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
ian 提交于 2025-05-23 22:54 +08:00 . test: migrate to vitest (#6889)
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"rules": {
"no-constant-condition": [
"error",
{
"checkLoops": false
}
],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-fallthrough": "off",
"import/no-unresolved": "off",
"no-multiple-empty-lines": 1,
"import/order": "warn",
"import/namespace": "warn",
// Allow `const self = this`.
"@typescript-eslint/no-this-alias": "off"
},
"env": {
"node": true
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/antv/g2.git
git@gitee.com:antv/g2.git
antv
g2
G2
v5

搜索帮助