1 Star 3 Fork 0

we_coder/fe-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
杨波 提交于 2022-09-04 00:15 +08:00 . 全面使用esbuild
{
"root": true,
"env": {
"node": true,
"browser": true
},
"globals": {
"window": true,
"process": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"plugin:@typescript-eslint/recommended",
"eslint:recommended"
],
"rules": {
"no-tabs": "off",
"indent": "off",
"quotes": ["error", "single"],
"comma-dangle": "error",
"semi": ["error", "never"],
"comma-spacing": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"arrow-spacing": "error",
"block-spacing": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"switch-colon-spacing": "error",
"space-before-blocks": "error",
"space-before-function-paren": "error",
"spaced-comment": "error",
"no-trailing-spaces": "error",
"no-undef": "off",
"space-infix-ops": ["error", { "int32Hint": false }],
"no-useless-escape": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-this-alias": "off"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/we_coder/fe-utils.git
git@gitee.com:we_coder/fe-utils.git
we_coder
fe-utils
fe-utils
master

搜索帮助