提交 2a3cc486 作者: ZhangLingKun

优化:eslint插件unused-imports

上级 70e60688
流水线 #8994 已失败 于阶段
in 22 秒
......@@ -24,7 +24,8 @@
"import",
"jsx-a11y",
"react-hooks",
"prettier"
"prettier",
"unused-imports"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
......@@ -52,6 +53,13 @@
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/display-name": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off"
"jsx-a11y/no-noninteractive-element-interactions": "off",
"unused-imports/no-unused-imports": "warn",
"unused-imports/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
]
}
}
.sider-view {
.menu-view {
padding-bottom: 86px;
.ant-menu-item-group-title {
padding: 2px 0;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论