Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Bump eslint-import-resolver-webpack from 0.8.3 to 0.11.0 #111

Conversation

dependabot-preview[bot]
Copy link

Bumps eslint-import-resolver-webpack from 0.8.3 to 0.11.0.

Release notes

Sourced from eslint-import-resolver-webpack's releases.

custom resolvers!

Resolver plugins: now the linter can read Webpack config, properly follow aliases and ignore externals, dismisses inline loaders, etc. etc.!

correctness

  • cache correctness: should properly re-load changed files even in a long lived process (like a webpack dev server)
  • fixed issue where inferring JSX parsing from ecmaFeatures.jsx was broken when ESLint froze the context and settings. My own fault... not very hygienic to mutate shared state in the first place.

errors abound

Breaking: removed no-errors rule. Instead, each individual rule will report parse errors in the target imported file, if encountered.

#90: Added {commonjs: [bool], amd: [bool]} option object to no-unresolved. If set true, will attempt to resolve module paths for CommonJS require and AMD define + require in a limited set of cases. Not nearly so smart as Webpack, but smart enough to be useful. (hopefully.) Thanks mctep for changing my mind on this. 😁

#94: Dependency parser will infer 'jsx' plugin if using default Babylon and jsx is asserted in the ecmaFeatures. Thanks jameslnewell for bringing this up.

#88: un-smarted no-require. It will now report on all require statements, everywhere, regardless of target.

rise of Babylon

  • Internal parser is now Babylon (6) by default (so generally, you can remove babel-eslint as import/parser)
  • published eslint-config-import with 3 different stock configs
  • all rules are off by default; use config package + import/warnings to get previous defaults:
---
extends:
- 'eslint:recommended' # or your favorite base config
- import/warnings  # or just `import` if you want only the basics
- import/es7-jsx  # will configure the parser for stage 1 ES7 syntax + JSX

Both import/warnings and import/es7-jsx extend the base import config, so you only need to mention it explicitly if you want only the basic config. All 3 will set plugins: - import for you, too.

  • import/parse-options setting allows custom configuration options for Babylon, or whatever parser package you specified with import/parser

es6-only

  • Removed no-common in favor of enforcing that all imports have ES6 modules behind them. (#20)
  • resolve.root setting allows module resolution to start from some arbitrary path within your package, instead of just relative paths and node_modules. (#18)
Changelog

Sourced from eslint-import-resolver-webpack's changelog.

[0.11.0] - 2015-11-27

Added

  • Resolver plugins. Now the linter can read Webpack config, properly follow
    aliases and ignore externals, dismisses inline loaders, etc. etc.!

Earlier releases (0.10.1 and younger)

See GitHub release notes
for info on changes for earlier releases.

... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants