Sha256: e3be0aa1740b5c980e953e300c92384c1954ed5dbdd8975d1896e1ea39d56a8f

Contents?: true

Size: 624 Bytes

Versions: 24

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true

namespace :docker do
  desc "Run Rubocop linter from docker"
  task :rubocop do
    sh "docker-compose run lint rake lint:rubocop"
  end

  desc "Run scss-lint linter from docker"
  task :scss do
    sh "docker-compose run lint rake lint:scss"
  end

  desc "Run eslint linter from docker"
  task :eslint do
    sh "docker-compose run lint rake lint:eslint"
  end

  desc "Run all linting from docker"
  task :lint do
    sh "docker-compose run lint rake lint"
  end
end

desc "Runs all linters from docker. Run `rake -D docker` to see all available lint options"
task docker: ["docker:lint"]

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
react_on_rails-13.4.0 rakelib/docker.rake
react_on_rails-13.3.5 rakelib/docker.rake
react_on_rails-13.3.4 rakelib/docker.rake
react_on_rails-13.3.3 rakelib/docker.rake
react_on_rails-13.3.2 rakelib/docker.rake
react_on_rails-13.3.1 rakelib/docker.rake
react_on_rails-13.3.0 rakelib/docker.rake
react_on_rails-13.2.0 rakelib/docker.rake
react_on_rails-13.1.0 rakelib/docker.rake
react_on_rails-13.0.2 rakelib/docker.rake
react_on_rails-13.0.1 rakelib/docker.rake
react_on_rails-13.0.0 rakelib/docker.rake
react_on_rails-13.0.0.beta.0 rakelib/docker.rake
react_on_rails-12.6.0 rakelib/docker.rake
react_on_rails-12.5.2 rakelib/docker.rake
react_on_rails-12.5.1 rakelib/docker.rake
react_on_rails-12.5.0 rakelib/docker.rake
react_on_rails-12.4.0 rakelib/docker.rake
react_on_rails-12.4.0.rc.0 rakelib/docker.rake
react_on_rails-12.3.0 rakelib/docker.rake