@interfirm/configs
v1.0.2
Published
Manage common config files for interfirm projects
Downloads
35
Readme
INTERFIRM Configs
This repository manages common config files for INTERFIRM projects.
All config files are in /templates directory.
Usage
- Edit
@interfirm/configsentry inpackage.json. - Install via
npmoryarn:
npm install --save-dev @interfirm/configsyarn add --dev @interfirm/configsThis package automatically copies config files to the installed repository
when downloaded into your node_modules.
Configuration
"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.
Available config files
| service/tool | key | default path | | --- | --- | --- | | Reek | reek | .reek.yml | | Code Climate | codeclimate | .codeclimate.yml | | RuboCop | rubocop | .rubocop.yml | | EditorConfig | editorconfig | .editorconfig |
Release
- Run
yarn versioncommand. - 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