message: build: optimize eslint import resolver configs
  Use `node` resolver and `node` env for `webpack.config.js`, use
  `webpack` resolver only for `src`.
diff: @@ -27,6 +27,12 @@ module.exports = {
  env: {
  browser: true,
  },
  + settings: {
  + 'import/resolver': 'webpack',
  + react: {
  + version: 'detect',
  + },
  + },
  plugins: ['prettier', 'react'],
  overrides: [
  {
  @@ -38,8 +44,13 @@ module.exports = {
  },
  {
  files: ['webpack*.js'],
  - rules: {
  - 'import/no-extraneous-dependencies': 0,
  + env: {
  + node: true,
  + },
  + settings: {
  + 'import/resolver': {
  + node: {},
  + },
  },
  },
  {
  @@ -241,10 +252,4 @@ module.exports = {
  'react/static-property-placement': 0, // disabled temporarily
  'prettier/prettier': 'error',
  },
  - settings: {
  - 'import/resolver': 'webpack',
  - react: {
  - version: 'detect',
  - },
  - },
  };
  