1 Star 0 Fork 0

homework / SIP.js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
John Riordan 提交于 2022-09-27 22:01 . Fix lint configuration
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
// "ecmaVersion": "latest",
"ecmaVersion": 2017,
"sourceType": "module",
"project": "./tsconfig-base.json"
},
"plugins": [
"@typescript-eslint",
"tree-shaking",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
// "plugin:@typescript-eslint/strict",
"prettier"
],
"rules": {
"no-console": "error",
"prettier/prettier": "error",
// "@typescript-eslint/explicit-member-accessibility": "error",
// "@typescript-eslint/member-ordering": "error",
"tree-shaking/no-side-effects-in-initialization": "error"
},
"overrides": [
{
"files": ["./demo/**/*.ts", "./test/**/*.ts"],
"rules": {
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-implied-eval": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"tree-shaking/no-side-effects-in-initialization": "off"
}
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/homework_free/SIP.js.git
git@gitee.com:homework_free/SIP.js.git
homework_free
SIP.js
SIP.js
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891