Skip to content

Commit

Permalink
chore(lint): suppress typescript eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m committed Sep 9, 2023
1 parent f3c9ed0 commit 8d2c39f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@babel/core": "7.21.0",
"@babel/eslint-parser": "7.22.11",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@umijs/babel-preset-umi": "workspace:*",
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-react": "7.33.2",
Expand Down
1 change: 1 addition & 0 deletions packages/lint/src/config/eslint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module.exports = {
presets: [require.resolve('@umijs/babel-preset-umi')],
},
requireConfigFile: false,
warnOnUnsupportedTypeScriptVersion: false,
},
};

Expand Down
1 change: 1 addition & 0 deletions packages/lint/src/config/eslint/legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ module.exports = {
presets: [require.resolve('@umijs/babel-preset-umi')],
},
requireConfigFile: false,
warnOnUnsupportedTypeScriptVersion: false,
},
};
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d2c39f

Please sign in to comment.