Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 6月 05, 2023
  2. 2月 16, 2023
  3. 2月 15, 2023
  4. 1月 12, 2023
  5. 12月 20, 2022
  6. 11月 17, 2022
  7. 10月 10, 2022
  8. 9月 21, 2022
    • Sean McGivern's avatar
      Re-run rake rubocop:todo:generate and haml-lint --auto-gen-config · bdb218d9
      Sean McGivern 创作于
      This commit runs two commands:
      
      1. `bundle exec haml-lint --auto-gen-config` to update haml-lint
         offenses (most of these are easily fixed).
      
      2. `bundle exec rake rubocop:todo:generate[...]` with the output of
         `bundle exec rubocop --format offenses` to update todo files of
         existing offenses with existing cops (this is due to cop changes
         since we last upgraded RuboCop).
      
         To somewhat automate this, we can run:
      
             cops = $(
                 bundle exec rubocop --parallel --format offenses |
                     grep '[a-z]/' |
                     awk '{ print $2 }' |
                     sed ':a; N; $!ba; s/\n/,/g'
                  )
      
             bundle exec rake rubocop:todo:generate[$cops]
      bdb218d9
加载中