From 13fc08475f189b9253354bd903e07c7721540e53 Mon Sep 17 00:00:00 2001 From: OBKoro1 <1677593011@qq.com> Date: Fri, 25 Dec 2020 14:39:00 +0800 Subject: [PATCH] chore: es5 module --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 096e090..46b1559 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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'], }, -} +};