@effective/prettier
v0.2.1
Published
Lean CLI which combines prettier and eslint
Downloads
145
Readme
Effective Prettier
A modern combined tool for using both Prettier and ESLint but only using one tool. Ideally suited for integration in editors and CI phases.
Usage
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.
Tech Stack
eslint
for linting JavaScript and TypeScript filesprettier
for formatting text content (JSON, Markdown, ...)
License
Apache License; Version 2.0, January 2004
Copyright
Copyright 2023Sebastian Software GmbH