Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lint-staged/lint-staged
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v12.1.6
Choose a base ref
...
head repository: lint-staged/lint-staged
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.1.7
Choose a head ref
  • 1 commit
  • 7 files changed
  • 1 contributor

Commits on Jan 7, 2022

  1. fix: resolve config modules with ESM createRequire (#1082)

    ES modules do not have require() available, we must construct it first.
    This fixes the CLI when passing `--config my-config-package`, broken in
    v12.0.0.
    
    The tests didn't catch this because Jest still doesn't support mocking
    ESM, and there's really no way to write a test for this right now.
    evocateur authored Jan 7, 2022
    Configuration menu
    Copy the full SHA
    f9f6538 View commit details
    Browse the repository at this point in the history
Loading