@interfirm/configs

1.0.2 • Public • Published

INTERFIRM Configs

NPM version CircleCI

This repository manages common config files for INTERFIRM projects. All config files are in /templates directory.

Usage

  1. Edit @interfirm/configs entry in package.json.
  2. Install via npm or yarn:
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.

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

  1. Run yarn version command.
  2. Push new tag to remote repository.
  3. New version will be published by Travis automatically.

Example:

git checkout master
git pull
yarn version
git push --follow-tags

Readme

Keywords

none

Package Sidebar

Install

npm i @interfirm/configs

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

10.1 kB

Total Files

10

Last publish

Collaborators

  • interfirm