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-8.0.1 rakelib/docker.rake
react_on_rails-8.0.0 rakelib/docker.rake
react_on_rails-8.0.0.beta.3 rakelib/docker.rake
react_on_rails-8.0.0.beta.2 rakelib/docker.rake
react_on_rails-8.0.0.beta.1 rakelib/docker.rake
react_on_rails-7.1.0.beta.3 rakelib/docker.rake
react_on_rails-7.0.4 rakelib/docker.rake
react_on_rails-7.1.0.beta.2 rakelib/docker.rake
react_on_rails-7.0.3 rakelib/docker.rake
react_on_rails-7.1.0.beta.1 rakelib/docker.rake
react_on_rails-7.0.2 rakelib/docker.rake
react_on_rails-7.0.1 rakelib/docker.rake
react_on_rails-7.0.0 rakelib/docker.rake
react_on_rails-6.10.1 rakelib/docker.rake
react_on_rails-6.10.0 rakelib/docker.rake
react_on_rails-6.9.3 rakelib/docker.rake
react_on_rails-6.9.2 rakelib/docker.rake
react_on_rails-6.9.1 rakelib/docker.rake
react_on_rails-6.9.0 rakelib/docker.rake
react_on_rails-6.8.2 rakelib/docker.rake