Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(format-files): ensure paths passed to prettier-eslint are absolute paths #259

Merged
merged 1 commit into from
Mar 6, 2021

Commits on Apr 19, 2020

  1. fix(format-files): ensure paths passed to prettier-eslint are absol…

    …ute paths
    
    As of the 6.7.0 release of eslint, absolute paths are required when eslint is
    searching for ignore patterns (eslint/eslint@ca3b2a6).
    This causes prettier-eslint-cli to fail if called with a glob pattern using
    relative paths. This commit passes the file path through the `path.resolve` method
    to ensure they are always absolute paths.
    
    Addresses issues prettier#205 & prettier#208
    dpwilhelmsen committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    4b9682b View commit details
    Browse the repository at this point in the history