Skip to content
Snippets Groups Projects
Commit 28e8654a authored by Darius Schneider's avatar Darius Schneider
Browse files

update config

parent 58688e29
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ rubocop: ...@@ -18,7 +18,7 @@ rubocop:
- rails - rails
script: script:
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml" - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
- gem install rubocop:1.71.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.1 --silent - gem install rubocop:1.73.2 rubocop-capybara:2.21.0 rubocop-minitest:0.37.1 rubocop-performance:1.24.0 rubocop-rails:2.30.3 --silent
- rubocop - rubocop
erb_lint: erb_lint:
...@@ -29,7 +29,7 @@ erb_lint: ...@@ -29,7 +29,7 @@ erb_lint:
script: script:
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml" - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/erb_lint.yml" -O ".erb_lint.yml" - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/erb_lint.yml" -O ".erb_lint.yml"
- gem install rubocop:1.71.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.1 erb_lint:0.9.0 --silent - gem install rubocop:1.73.2 rubocop-capybara:2.21.0 rubocop-minitest:0.37.1 rubocop-performance:1.24.0 rubocop-rails:2.30.3 erb_lint:0.9.0 --silent
- erb_lint --lint-all --allow-no-files true - erb_lint --lint-all --allow-no-files true
haml_lint: haml_lint:
...@@ -40,7 +40,7 @@ haml_lint: ...@@ -40,7 +40,7 @@ haml_lint:
script: script:
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml" - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
- wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/haml-lint.yml" -O ".haml-lint.yml" - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/haml-lint.yml" -O ".haml-lint.yml"
- gem install rubocop:1.71.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.1 haml_lint:0.59.0 --silent - gem install rubocop:1.73.2 rubocop-capybara:2.21.0 rubocop-minitest:0.37.1 rubocop-performance:1.24.0 rubocop-rails:2.30.3 haml_lint:0.61.0 --silent
- haml-lint - haml-lint
brakeman: brakeman:
......
require: plugins:
- rubocop-minitest - rubocop-minitest
- rubocop-packaging - rubocop-packaging
- rubocop-performance - rubocop-performance
- rubocop-rails - rubocop-rails
# gem "rubocop", "1.71.0", require: false # gem "rubocop", "1.73.2", require: false
# gem "rubocop-minitest", "0.36.0", require: false # gem "rubocop-minitest", "0.37.1", require: false
# gem "rubocop-performance", "1.23.1", require: false
# gem "rubocop-packaging", "0.5.2", require: false # gem "rubocop-packaging", "0.5.2", require: false
# gem "rubocop-performance", "1.24.0", require: false
# gem "rubocop-rails", "2.30.3", require: false
AllCops: AllCops:
NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed
......
require: plugins:
- rubocop-capybara - rubocop-capybara
- rubocop-minitest - rubocop-minitest
- rubocop-performance - rubocop-performance
- rubocop-rails - rubocop-rails
# gem "rubocop", "1.71.0", require: false # gem "rubocop", "1.73.2", require: false
# gem "rubocop-capybara", "2.21.0", require: false # gem "rubocop-capybara", "2.21.0", require: false
# gem "rubocop-minitest", "0.36.0", require: false # gem "rubocop-minitest", "0.37.1", require: false
# gem "rubocop-performance", "1.23.1", require: false # gem "rubocop-performance", "1.24.0", require: false
# gem "rubocop-rails", "2.29.1", require: false # gem "rubocop-rails", "2.30.3", require: false
AllCops: AllCops:
NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed
......
require: plugins:
- rubocop-performance - rubocop-performance
# gem 'rubocop', '1.71.0', require: false # gem 'rubocop', '1.73.2', require: false
# gem 'rubocop-performance', '1.23.1', require: false # gem 'rubocop-performance', '1.24.0', require: false
AllCops: AllCops:
NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed
......
require: plugins:
- rubocop-minitest - rubocop-minitest
# gem 'rubocop', '1.71.0', require: false # gem 'rubocop', '1.73.2', require: false
# gem 'rubocop-minitest', '0.36.0', require: false # gem 'rubocop-minitest', '0.37.1', require: false
AllCops: AllCops:
NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed
......
require: plugins:
- rubocop-rails - rubocop-rails
# gem 'rubocop', '1.71.0', require: false # gem 'rubocop', '1.73.2', require: false
# gem 'rubocop-rails', '2.29.1', require: false # gem 'rubocop-rails', '2.30.3', require: false
AllCops: AllCops:
NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment