Skip to content

prettier: formatter is executed even if rootMarkers have no match #279

@gpayer

Description

@gpayer

I'm using the configuration for prettier from efmls-config for javascript and it seems to be enough that prettier is installed in node_modules for the formatter to run.

The expected behaviour is that the prettier formatter should not run.

How to reproduce

  1. have efm configured for javascript with javascript = { require('efmls-configs.formatters.prettier') }
  2. create a small badly configured file, test.js for example
  3. save the file, it will be formatted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions