Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

wip: improve fixer, add always peer config option #55

Open
wants to merge 2 commits into
base: better-dependency-import-mgmt
Choose a base branch
from

Conversation

noahnu
Copy link
Contributor

@noahnu noahnu commented Mar 29, 2021

Example config from an internal monorepo:

module.exports = {
    excludeFiles: ["**/lib/**", "**/docs/**"],
    devFiles: ["**/*.test.{js,jsx,ts,tsx}"],
    alwaysPeerDependencies: [
        'react',
        'react-dom',
        'prop-types',
        'axios',
        'immutable',
        'styled-components',
        'react-redux',
        'redux-saga',
        'react-redux',
    ],
}

and run with: yarn ghost-imports-buster --skipRoot --fix.

@noahnu noahnu requested a review from mcataford March 29, 2021 03:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant