Sha256: a458d6b6a606c236fd85e68ba2f568afa1c058ad2ed2aba7ea81cbe84dae7752

Contents?: true

Size: 706 Bytes

Versions: 35

Compression:

Stored size: 706 Bytes

Contents

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

  desc "Run ruby-lint linter from docker"
  task :ruby do
    sh "docker-compose run lint rake lint:ruby"
  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

35 entries across 35 versions & 1 rubygems

Version Path
react_on_rails-6.8.1 rakelib/docker.rake
react_on_rails-6.8.0 rakelib/docker.rake
react_on_rails-6.7.2 rakelib/docker.rake
react_on_rails-6.7.1 rakelib/docker.rake
react_on_rails-6.6.0 rakelib/docker.rake
react_on_rails-6.6.0.alpha.1 rakelib/docker.rake
react_on_rails-6.5.1 rakelib/docker.rake
react_on_rails-6.5.0 rakelib/docker.rake
react_on_rails-6.4.2 rakelib/docker.rake
react_on_rails-6.5.0.beta.1 rakelib/docker.rake
react_on_rails-6.4.1 rakelib/docker.rake
react_on_rails-6.4.0 rakelib/docker.rake
react_on_rails-6.3.5 rakelib/docker.rake
react_on_rails-6.3.4 rakelib/docker.rake
react_on_rails-6.3.3 rakelib/docker.rake