A modern combined tool for using both Prettier and ESLint but only using one tool. Ideally suited for integration in editors and CI phases.
effective-prettier <pattern>
Effective Prettier uses you locally installed tools. It does not include any versions of prettier
or eslint
on its own. In our experience this most often leads to more issues than it actually helps. We define these two tools as peer dependencies therefor:
- "eslint": "8.x",
- "prettier": "3.x"
Note: Effective Prettier will never use its own eslint
or prettier
. The import is modified so that it loads these dependencies (as well as the plugins) relative to the current working directory.
eslint
for linting JavaScript and TypeScript filesprettier
for formatting text content (JSON, Markdown, ...)
Apache License; Version 2.0, January 2004
Copyright 2023
Sebastian Software GmbH