chore: es5 module

This commit is contained in:
OBKoro1 2020-12-25 14:39:00 +08:00
parent b928ab2bc3
commit 13fc08475f

View File

@ -1,6 +1,7 @@
module.exports = {
extends: ['airbnb-typescript/base'],
parserOptions: {
createDefaultProgram: true,
project: './tsconfig.json',
},
parser: '@typescript-eslint/parser',
@ -14,4 +15,4 @@ module.exports = {
// 优先使用 interface 而不是 type
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
},
}
};