pronto

Set up pronto with all the found linters
Icons/chart bar
Used 13 times
Created by
T TobiasBales

Usage

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/Xg8s8P"
Template Source

Review the code before running this template on your machine.

gem_group :development, :test do
  gem 'pronto'
  gem 'pronto-brakeman'
  gem 'pronto-bundler_audit'
  gem 'pronto-eslint_npm'
  gem 'pronto-fasterer'
  gem 'pronto-json'
  gem 'pronto-rails_best_practices'
  gem 'pronto-rails_schema'
  gem 'pronto-rubocop'
  gem 'pronto-shellcheck'
  gem 'pronto-sorbet'
  gem 'pronto-stylelint'
end

Bundler.with_unbundled_env { 
  run 'bundle install'
  run 'bundle update'
  run 'bundle install'
}

create_file '.pronto_eslint_npm.yml' do <<~YML
  eslint_executable: node_modules/.bin/eslint
  YML
end
Comments

Sign up or Login to leave a comment.

© 2023 GoRails, LLC