1 Star 0 Fork 284

Future_数据中台 / L7

forked from antv / L7 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
.eslintrc.js 1.45 KB
Copy Edit Raw Blame History
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: {
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }],
'no-unsafe-optional-chaining':'warn',
'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,
'@typescript-eslint/no-duplicate-enum-values':0,
'prefer-rest-params':0,
},
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
typescript: {
alwaysTryTypes: true,
},
},
}
};
TypeScript
1
https://gitee.com/future-data-center/L7.git
git@gitee.com:future-data-center/L7.git
future-data-center
L7
L7
master

Search