esformatter-config-algolia
v1.1.0
Published
Algolia's esformatter config.
Downloads
13
Readme
esformatter-config-algolia
This is Algolia's esformatter configuration.
It will format your JavaScript code following the algolia/eslint-config-algolia rules.
Wait, we have an automatic formatter according to this configuration
If you want to easily reformat your project according to our rules, see algolia/jsfmt.
How to use this configuration?
(really, just use algolia/jsfmt)
In your project:
npm install esformatter \
esformatter-config-algolia \
esformatter-quotes \
esformatter-semicolons \
esformatter-parseint \
esformatter-var-each \
esformatter-eol-last \
esformatter-spaced-lined-comment \
esformatter-shebang-ignore \
esformatter-remove-trailing-commas \
--save-dev
In your package.json:
{
"scripts": {
"jsformat": "esformatter -i -p default -c node_modules/esformatter-config-algolia/.esformatter"
}
}