```ruby
desc "Run govuk-lint with similar params to CI"
task "lint" do
  sh "bundle exec rubocop"
end
```

Set :environment task as a dependency to all rake task
user
```ruby
desc "Run govuk-lint with similar params to CI"
task lint: :environment do
  sh "bundle exec rubocop"
end
```
assistant