A helper package for integrate prettier-eslint with standard
Formats your JavaScript using prettier
followed by standard --fix
- prettier is a wonderful tool for code prettify.
- standard is
zero configuration pain
tool based on ESLint.
The two packages are great and very well designed, that can be used together with a minimum effort
$ npm install standard-prettier-eslint --save-dev
Ex: package.json
"scripts": {
...
"lint": "standard --verbose | snazzy",
"format": "npm run __format -- --write '**/*.js'",
"__format": "prettier-eslint --no-bracket-spacing --eslint-path=node_modules/standard-prettier-eslint"
}
prettier-std-cli is the cli version created for simplify package.json scripts
settings and use globally.
- Documentation improvement
- Feel free to send any PR