Eslint configuration
Installation in another project
- Install package:
npm i -D eslint-config-voys
- Add to the eslint config of the consuming project:
{
"extends": ["voys"],
}
Development
- You can test this configuration in a consuming project by cloning this project and installing said local repository into the consuming project:
cd consuming-project
npm link ../eslint-config-voys
- Add to the eslint config of the consuming project:
{
"extends": ["voys"],
}
Publish a new version
Make sure you are logged in, use the spindle user within KeyHub to authenticate:
npm login
Bump the version accordingly and publish it to the NPM registry, make sure to git push the new version as well:
npm version <major | minor | patch>
npm publish
git push
Install the new version within the consuming project:
npm i -D eslint-config-voys@latest