Update shared config for Shuttlerock's projects.

Downloads in past


0.3.02 years ago5 years agoMinified + gzip package size for shuttlerock_shared_config in KB


Update shared config for Shuttlerock's projects:

Installation in Ruby application

Add this line to your application's Gemfile:
gem 'shuttlerock_shared_config'

And then execute:
$ bundle
Or install it yourself as:
$ gem install shuttlerock_shared_config

Usage in Ruby application

$ rake shuttlerock_shared_config:update_pull_request_template  # Update
$ rake shuttlerock_shared_config:update_codeclimate            # Update .codeclimate.yml
$ rake shuttlerock_shared_config:update_eslint                 # Update .eslint.yml
$ rake shuttlerock_shared_config:update_rubocop                # Update .rubocop.yml
$ rake shuttlerock_shared_config:update_stylelintrc            # Update .stylelintrc
$ rake shuttlerock_shared_config:update_dangerfile             # Update Dangerfile and create      doc/env_list.yml
$ rake shuttlerock_shared_config:update_codecov                # Update codecov.yml
$ rake shuttlerock_shared_config:update_gitleaks               # Update .gitleaks.toml/gitleaks.yml
$ rake shuttlerock_shared_config:update                        # Update all

Installation in JS application

$ npm install shuttlerock_shared_config
Add ' "updateeslintrc": "npx updateeslintrc" ' to yours package.json:
scripts: {
"update_eslintrc": "npx update_eslintrc"

Usage in JS application

$ npm run-script update_eslintrc
$ yarn run update_eslintrc

How to publish

  1. Update gem's version:
- For RubyGems here - For NPM here
  1. Commit and push changes to Github
  2. Add tag with new version and push to Github
$ git tag -a vX.X.X -m "vX.X.X"
$ git push origin vX.X.X

## How to Add npm-owner to NPM Package

You can read about this [here](

## How to set up danger.gem
Add to .circleci/config.yml:

   <<: *defaults
     - restore_cache:
         key: v1-repo-{{ .Environment.CIRCLE_SHA1 }}
     - restore_cache:
         key: v1-bundle-{{ checksum "Gemfile.lock" }}
     - run: bundle --path vendor/bundle
     - run: bundle exec danger
Add environment variables to doc/envlist.yml


After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to


The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the ShuttlerockSharedConfig project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.