diff --git a/.rubocop.yml b/.rubocop.yml index 43b4e46171b..86549bc84d2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -602,9 +602,6 @@ Style/MultilineWhenThen: Style/NumericPredicate: EnforcedStyle: comparison -Style/FloatDivision: - Enabled: false - Cop/BanCatchThrow: Enabled: true diff --git a/.rubocop_todo/style/float_division.yml b/.rubocop_todo/style/float_division.yml new file mode 100644 index 00000000000..201f89ac35a --- /dev/null +++ b/.rubocop_todo/style/float_division.yml @@ -0,0 +1,8 @@ +--- +Style/FloatDivision: + Exclude: + - 'ee/app/models/geo_node_status.rb' + - 'ee/app/models/namespaces/storage/root_size.rb' + - 'lib/learn_gitlab/onboarding.rb' + - 'qa/qa/support/formatters/allure_metadata_formatter.rb' + - 'qa/qa/tools/reliable_report.rb' diff --git a/app/assets/javascripts/blob/notebook/notebook_viewer.vue b/app/assets/javascripts/blob/notebook/notebook_viewer.vue index 79b8d273883..dc1a9cb865a 100644 --- a/app/assets/javascripts/blob/notebook/notebook_viewer.vue +++ b/app/assets/javascripts/blob/notebook/notebook_viewer.vue @@ -1,11 +1,11 @@ @@ -298,16 +298,20 @@ export default { /> -
- +
+ - +