prettier-eslint useage?
In the process of setting up eslint and prettier for one of my projects and on prettiers documentation they say
Finally, we have tools that run prettier and then immediately lint files by running, for example, eslint --fix on them.and link to their prettier-eslint (https://github.com/prettier/prettier-eslint) npm package. I dont see anything in the README that shows how to use it other than using it in a javascript file, is that the actual intended use of this package or can i use it as a
npm run
command? If I can use it as a npm run
command how would I go about that because I tried making the script (in my package.json
file) "lint": "prettier-eslint"
but that just gives me an error of that command not existing.
Hope this is enough information, if not feel free to ask for more infoGitHub
GitHub - prettier/prettier-eslint: Code prettier eslint --fix Forma...
Code :arrow_right: prettier :arrow_right: eslint --fix :arrow_right: Formatted Code :sparkles: - GitHub - prettier/prettier-eslint: Code prettier eslint --fix Formatted Code
0 Replies