1 Star 0 Fork 0

BidCms必得软件 / pancake-swap-interface-v1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
RabbitDoge 提交于 2021-01-20 18:51 . fix: Eslint errors
{
"settings": {
"import/resolver": {
"node": {
"paths": ["./src"]
}
}
},
"env": {
"es6": true,
"browser": true,
"jest": true
},
"extends": "@pancakeswap-libs/eslint-config-pancake",
"rules": {
"no-console": ["warn", { "allow": ["info", "warn", "error"] }],
"no-plusplus": 0,
"prefer-destructuring": ["warn", { "object": true, "array": false }],
"max-classes-per-file": 0,
"camelcase": 0,
"no-alert": 0,
"no-underscore-dangle": 0,
// Start temporary rules
// These rules are here just to keep the lint error to 0 during the migration to the new rule set
// They need to be removed and fixed as soon as possible
"@typescript-eslint/ban-ts-comment": [1, { "ts-ignore": false, "ts-nocheck": false }],
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"radix": 0,
"import/no-extraneous-dependencies": 0,
"no-case-declarations": 0,
"no-await-in-loop": 0,
"no-param-reassign": 0,
"no-nested-ternary": 0,
"default-case": 0,
"react/require-default-props": 0,
"class-methods-use-this": 0
// End temporary rules
}
}
1
https://gitee.com/bidcms/pancake-swap-interface-v1.git
git@gitee.com:bidcms/pancake-swap-interface-v1.git
bidcms
pancake-swap-interface-v1
pancake-swap-interface-v1
master

搜索帮助