Skip to content

Commit

Permalink
chore: fix eslint warning and bisheng terminal log (ant-design#36220)
Browse files Browse the repository at this point in the history
* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md
  • Loading branch information
afc163 authored Jun 24, 2022
1 parent d733de8 commit eeedb87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
},
settings: {
react: {
version: '16.9',
version: 'detect',
},
polyfills: ['Promise', 'URL'],
},
Expand Down
1 change: 0 additions & 1 deletion components/table/__tests__/Table.rowSelection.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ describe('Table.rowSelection', () => {
});
expect(onChange).toHaveBeenLastCalledWith([3, 0, 1, 2]);
fireEvent.click(allElement());
console.log(baseElement.innerHTML);
expect(onChange).toHaveBeenLastCalledWith([]);

// Reset last select key when select all
Expand Down
7 changes: 5 additions & 2 deletions site/bisheng.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ function alertBabelConfig(rules) {
});
}

const port = process.env.DEV_PORT || 8001;

module.exports = {
port: 8001,
port,
hash: true,
source: {
components: './components',
Expand Down Expand Up @@ -192,8 +194,9 @@ module.exports = {
},

devServerConfig: {
public: process.env.DEV_HOST || 'localhost',
public: `${process.env.DEV_HOST || 'localhost'}:${port}`,
disableHostCheck: !!process.env.DEV_HOST,
publicPath: '/_site',
},

htmlTemplateExtraData: {
Expand Down

0 comments on commit eeedb87

Please sign in to comment.