This repository manages common config files for INTERFIRM projects.
All config files are in /templates
directory.
- Edit
@interfirm/configs
entry inpackage.json
. - Install via
npm
oryarn
:
npm install --save-dev @interfirm/configs
yarn add --dev @interfirm/configs
This package automatically copies config files to the installed repository
when downloaded into your node_modules
.
"key": boolean || [boolean, destinationPath]
Default configuration:
{
"@interfirm/configs": {
"reek": true,
"codeclimate": true,
"rubocop": true,
"editorconfig": true
}
}
If you omit destinationPath
, config files are copied to default path.
service/tool | key | default path |
---|---|---|
Reek | reek | .reek.yml |
Code Climate | codeclimate | .codeclimate.yml |
RuboCop | rubocop | .rubocop.yml |
EditorConfig | editorconfig | .editorconfig |
- Run
yarn version
command. - Push new tag to remote repository.
- New version will be published by Travis automatically.
Example:
git checkout master
git pull
yarn version
git push --follow-tags