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

Add support for prettierIgnore key in package.json #12672

Closed
wants to merge 9 commits into from
Closed

Add support for prettierIgnore key in package.json #12672

wants to merge 9 commits into from

Commits on Oct 2, 2023

  1. Add support for prettierIgnore key in package.json

    This is a rather dumb implementation (for now).
    
    Implements #3460
    
    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    3c6da29 View commit details
    Browse the repository at this point in the history
  2. Update documentation regarding prettierIgnore

    With a sample `package.json`.
    
    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    879091d View commit details
    Browse the repository at this point in the history
  3. Add package.json tests + snapshot

    Not sure if more are necessary?
    
    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    239a160 View commit details
    Browse the repository at this point in the history
  4. Add changes to changelog file

    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    534710f View commit details
    Browse the repository at this point in the history
  5. Don't mix file and key ignores, just fallback

    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    7ed1889 View commit details
    Browse the repository at this point in the history
  6. Search for package.json from filepath, not cwd

    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    c0b040e View commit details
    Browse the repository at this point in the history
  7. Limit key content to string array only

    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    95624bf View commit details
    Browse the repository at this point in the history
  8. Use cosmiconfig instead

    Signed-off-by: mataha <mataha@users.noreply.github.com>
    mataha committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    27d9940 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Use lilconfig instead

    mataha committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    b0f5c0f View commit details
    Browse the repository at this point in the history