chore: es5 module
This commit is contained in:
parent
b928ab2bc3
commit
13fc08475f
|
@ -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'],
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue