1 Star 0 Fork 33

麦琪 / g2plot

forked from antv / G2Plot 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
jiefeng.yjf 提交于 2019-11-13 15:07 . feat: lint工具使用eslint
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["prettier", "@typescript-eslint"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"impliedStrict": true
},
"rules": {
"no-sparse-arrays": 0,
"no-self-assign": 1,
"no-unused-vars": 0, // @typescript-eslint/no-unused-vars
"@typescript-eslint/no-unused-vars": [
1,
{
"args": "after-used",
"ignoreRestSiblings": true
}
],
"no-inner-declarations": 1,
"@typescript-eslint/no-empty-function": 1,
"prettier/prettier": 2,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-use-before-define": [2, { "functions": false }],
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/no-empty-interface": 1,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/no-inferrable-types": 0,
"@typescript-eslint/explicit-function-return-type": 0
}
}
JavaScript
1
https://gitee.com/emaiqi/g2plot.git
git@gitee.com:emaiqi/g2plot.git
emaiqi
g2plot
g2plot
master

搜索帮助