mirror of
https://github.com/OBKoro1/autoCommit.git
synced 2024-11-24 11:29:24 +08:00
chore: es5 module
This commit is contained in:
parent
b928ab2bc3
commit
13fc08475f
@ -1,6 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['airbnb-typescript/base'],
|
extends: ['airbnb-typescript/base'],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
|
createDefaultProgram: true,
|
||||||
project: './tsconfig.json',
|
project: './tsconfig.json',
|
||||||
},
|
},
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
@ -14,4 +15,4 @@ module.exports = {
|
|||||||
// 优先使用 interface 而不是 type
|
// 优先使用 interface 而不是 type
|
||||||
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
|
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user