From 8ba0e5142eb0e6daa7816b4831cca270ae896f30 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 14 Aug 2020 00:50:20 +0200 Subject: [PATCH] [core] Batch small changes (#22183) --- .eslintrc.js | 4 +- .github/ISSUE_TEMPLATE/1.bug.md | 2 +- CHANGELOG.md | 20 +++++++-- docs/scripts/formattedTSDemos.js | 2 +- docs/src/pages/components/chips/chips.md | 2 +- .../pages/components/tree-view/tree-view.md | 2 +- .../pages/guides/migration-v4/migration-v4.md | 41 ++++++++++++++++-- docs/webpackBaseConfig.js | 42 ------------------- .../src/TreeItem/TreeItem.test.js | 6 +-- .../material-ui/scripts/export-coverage.sh | 6 --- .../ClickAwayListener/ClickAwayListener.js | 2 +- packages/material-ui/src/Modal/Modal.js | 2 +- .../typescript-to-proptypes/src/injector.ts | 2 +- .../typescript-to-proptypes/src/parser.ts | 4 +- test/regressions/webpack.config.js | 2 +- test/utils/setupJSDOM.js | 2 - webpackBaseConfig.js | 42 +++++++++++++++++++ 17 files changed, 111 insertions(+), 72 deletions(-) delete mode 100644 docs/webpackBaseConfig.js delete mode 100755 packages/material-ui/scripts/export-coverage.sh create mode 100644 webpackBaseConfig.js diff --git a/.eslintrc.js b/.eslintrc.js index 709593603d5138..68a9b935236eb2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -22,11 +22,11 @@ module.exports = { parserOptions: { ecmaVersion: 7, }, - plugins: ['material-ui', 'react-hooks', '@typescript-eslint'], + plugins: ['eslint-plugin-material-ui', 'eslint-plugin-react-hooks', '@typescript-eslint/eslint-plugin'], settings: { 'import/resolver': { webpack: { - config: path.join(__dirname, './docs/webpackBaseConfig.js'), + config: path.join(__dirname, './webpackBaseConfig.js'), }, }, }, diff --git a/.github/ISSUE_TEMPLATE/1.bug.md b/.github/ISSUE_TEMPLATE/1.bug.md index 2736492a851fc1..8d5ef874dfcf5f 100644 --- a/.github/ISSUE_TEMPLATE/1.bug.md +++ b/.github/ISSUE_TEMPLATE/1.bug.md @@ -60,7 +60,7 @@ Steps: | Tech | Version | | ----------- | ------- | -| Material-UI | v4.?.? | +| Material-UI | v5.?.? | | React | | | Browser | | | TypeScript | | diff --git a/CHANGELOG.md b/CHANGELOG.md index 06f0abc8a1672e..56178af4a555aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,7 +34,7 @@ Here are some highlights ✨: } // Enjoy! -