Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
.eslintrc.js 798 Bytes
Copy Edit Raw Blame History
kuitos authored 2020-10-12 09:50 . ⚡️ cache for loadMicroApp (#986)
module.exports = {
extends: [require.resolve('@umijs/fabric/dist/eslint')],
rules: {
'@typescript-eslint/prefer-interface': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
'no-return-assign': 0,
semi: ['error', 'always'],
'no-confusing-arrow': 0,
'no-console': 0,
'max-len': ['error', { code: 120, ignoreComments: true, ignoreStrings: true }],
// see https://github.com/prettier/prettier/issues/3847
'space-before-function-paren': ['error', { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
'no-underscore-dangle': 0,
'no-plusplus': 0,
},
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json',
createDefaultProgram: true,
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化