当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
13 Star 91 Fork 24

antv-l7 / antv-l7
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
module.exports = {
globals: {
"AMap": true,
"L7": true,
},
env: {
browser: true,
es2021: true,
node: true,
jest: true,
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
},
plugins: ['@typescript-eslint',"unused-imports"],
rules: {
"unused-imports/no-unused-imports": "error",
'@typescript-eslint/no-loss-of-precision':0,
'@typescript-eslint/no-inferrable-types': 0,
'no-constant-condition': 0,
'@typescript-eslint/ban-types': 0,
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-empty-function': 0,
'no-prototype-builtins': 0,
'no-case-declarations': 0,
'no-useless-catch': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-explicit-any':0,
'prefer-rest-params':0,
},
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
typescript: {
alwaysTryTypes: true,
},
},
}
};
JavaScript
1
https://gitee.com/antv-l7/antv-l7.git
git@gitee.com:antv-l7/antv-l7.git
antv-l7
antv-l7
antv-l7
master

搜索帮助