|
| 1 | +# This file is used to ignore specific rules for specific files or directories. |
| 2 | +--- |
| 3 | +ignore: |
| 4 | + |
| 5 | +# After quite some discussion on the team, we decided to make an exception to the |
| 6 | +# "standard-isn't-supposed-to-be-configured" thing to allow for trailing comma, see |
| 7 | +# https://github.com/standardrb/standard/issues/611 for a discussion |
| 8 | +- '**/**': |
| 9 | + - Style/TrailingCommaInArguments |
| 10 | + - Style/TrailingCommaInArrayLiteral |
| 11 | + - Style/TrailingCommaInHashLiteral |
| 12 | + |
| 13 | +# This disables standardrb for the rest of dd-trace-rb (other than profiling) |
| 14 | +- .pryrc |
| 15 | +- .simplecov |
| 16 | +- Appraisals |
| 17 | +- datadog.gemspec |
| 18 | +- Gemfile |
| 19 | +- Rakefile |
| 20 | +- Steepfile |
| 21 | +- appraisal/**/** |
| 22 | +- benchmarks/**/** |
| 23 | +- gemfiles/**/** |
| 24 | +- integration/**/** |
| 25 | +- lib-injection/**/** |
| 26 | +- ext/libdatadog_extconf_helpers.rb |
| 27 | +- ext/libdatadog_api/**/** |
| 28 | +- lib/* |
| 29 | +- lib/datadog/* |
| 30 | +- lib/datadog/appsec/**/** |
| 31 | +- lib/datadog/core/**/** |
| 32 | +- lib/datadog/kit/**/** |
| 33 | +- lib/datadog/opentelemetry/**/** |
| 34 | +- lib/datadog/tracing/**/** |
| 35 | +- spec/* |
| 36 | +- spec/datadog/* |
| 37 | +- spec/datadog/appsec/**/** |
| 38 | +- spec/datadog/benchmark/**/** |
| 39 | +- spec/datadog/core/**/** |
| 40 | +- spec/datadog/kit/**/** |
| 41 | +- spec/datadog/tracing/**/** |
| 42 | +- spec/support/**/** |
| 43 | +- tasks/**/** |
| 44 | +- yard/**/** |
| 45 | + |
| 46 | +# These profiling ignores are ALL going to be fixed in separate PRs |
| 47 | +- lib/datadog/profiling/collectors/code_provenance.rb: |
| 48 | + - Style/StringLiterals |
| 49 | + - Layout/SpaceInsideHashLiteralBraces |
| 50 | +- lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb: |
| 51 | + - Style/StringLiterals |
| 52 | + - Style/RedundantBegin |
| 53 | +- lib/datadog/profiling/collectors/idle_sampling_helper.rb: |
| 54 | + - Style/RedundantBegin |
| 55 | + - Style/StringLiterals |
| 56 | +- lib/datadog/profiling/collectors/info.rb: |
| 57 | + - Style/StringLiterals |
| 58 | +- lib/datadog/profiling/component.rb: |
| 59 | + - Layout/SpaceInsideHashLiteralBraces |
| 60 | + - Style/StringLiterals |
| 61 | +- lib/datadog/profiling/crashtracker.rb: |
| 62 | + - Style/StringLiterals |
| 63 | + - Style/RedundantBegin |
| 64 | +- lib/datadog/profiling/exporter.rb: |
| 65 | + - Style/StringLiterals |
| 66 | +- lib/datadog/profiling/ext.rb: |
| 67 | + - Style/StringLiterals |
| 68 | +- lib/datadog/profiling/ext/dir_monkey_patches.rb: |
| 69 | + - Style/StringLiterals |
| 70 | +- lib/datadog/profiling/ext/forking.rb: |
| 71 | + - Style/StringLiterals |
| 72 | +- lib/datadog/profiling/flush.rb: |
| 73 | + - Style/StringLiterals |
| 74 | +- lib/datadog/profiling/http_transport.rb: |
| 75 | + - Style/StringLiterals |
| 76 | +- lib/datadog/profiling/load_native_extension.rb: |
| 77 | + - Style/StringLiterals |
| 78 | +- lib/datadog/profiling/preload.rb: |
| 79 | + - Style/StringLiterals |
| 80 | +- lib/datadog/profiling/profiler.rb: |
| 81 | + - Style/StringLiterals |
| 82 | +- lib/datadog/profiling/scheduler.rb: |
| 83 | + - Style/StringLiterals |
| 84 | + - Style/RedundantBegin |
| 85 | +- lib/datadog/profiling/tag_builder.rb: |
| 86 | + - Style/StringLiterals |
| 87 | +- lib/datadog/profiling/tasks/exec.rb: |
| 88 | + - Style/StringLiterals |
| 89 | +- lib/datadog/profiling/tasks/setup.rb: |
| 90 | + - Style/StringLiterals |
| 91 | + - Style/RedundantBegin |
| 92 | +- lib/datadog/profiling.rb: |
| 93 | + - Style/StringLiterals |
| 94 | + - Style/RedundantBegin |
| 95 | +- spec/datadog/profiling/collectors/code_provenance_spec.rb: |
| 96 | + - Style/StringLiterals |
| 97 | +- spec/datadog/profiling/collectors/cpu_and_wall_time_worker_spec.rb: |
| 98 | + - Style/StringLiterals |
| 99 | + - Layout/SpaceInsideHashLiteralBraces |
| 100 | + - Style/QuotedSymbols |
| 101 | + - Style/RedundantBegin |
| 102 | +- spec/datadog/profiling/collectors/discrete_dynamic_sampler_spec.rb: |
| 103 | + - Style/StringLiterals |
| 104 | +- spec/datadog/profiling/collectors/dynamic_sampling_rate_spec.rb: |
| 105 | + - Style/StringLiterals |
| 106 | +- spec/datadog/profiling/collectors/idle_sampling_helper_spec.rb: |
| 107 | + - Style/StringLiterals |
| 108 | +- spec/datadog/profiling/collectors/info_spec.rb: |
| 109 | + - Style/StringLiterals |
| 110 | + - Layout/SpaceInsideHashLiteralBraces |
| 111 | +- spec/datadog/profiling/collectors/stack_spec.rb: |
| 112 | + - Style/StringLiterals |
| 113 | + - Layout/SpaceInsideHashLiteralBraces |
| 114 | +- spec/datadog/profiling/collectors/thread_context_spec.rb: |
| 115 | + - Style/StringLiterals |
| 116 | + - Style/QuotedSymbols |
| 117 | + - Style/RedundantBegin |
| 118 | + - Layout/SpaceInsideHashLiteralBraces |
| 119 | +- spec/datadog/profiling/component_spec.rb: |
| 120 | + - Style/StringLiterals |
| 121 | + - Layout/SpaceInsideHashLiteralBraces |
| 122 | +- spec/datadog/profiling/crashtracker_spec.rb: |
| 123 | + - Style/StringLiterals |
| 124 | + - Layout/SpaceInsideHashLiteralBraces |
| 125 | + - Style/QuotedSymbols |
| 126 | +- spec/datadog/profiling/exporter_spec.rb: |
| 127 | + - Style/StringLiterals |
| 128 | + - Layout/SpaceInsideHashLiteralBraces |
| 129 | +- spec/datadog/profiling/ext/dir_monkey_patches_spec.rb: |
| 130 | + - Style/StringLiterals |
| 131 | + - Style/RedundantBegin |
| 132 | +- spec/datadog/profiling/ext/forking_spec.rb: |
| 133 | + - Style/StringLiterals |
| 134 | +- spec/datadog/profiling/flush_spec.rb: |
| 135 | + - Style/StringLiterals |
| 136 | + - Layout/SpaceInsideHashLiteralBraces |
| 137 | +- spec/datadog/profiling/http_transport_spec.rb: |
| 138 | + - Style/StringLiterals |
| 139 | + - Layout/SpaceInsideHashLiteralBraces |
| 140 | + - Style/RedundantBegin |
| 141 | +- spec/datadog/profiling/load_native_extension_spec.rb: |
| 142 | + - Style/StringLiterals |
| 143 | +- spec/datadog/profiling/native_extension_helpers_spec.rb: |
| 144 | + - Style/StringLiterals |
| 145 | +- spec/datadog/profiling/native_extension_spec.rb: |
| 146 | + - Style/StringLiterals |
| 147 | +- spec/datadog/profiling/pprof/pprof_pb.rb: |
| 148 | + - Style/StringLiterals |
| 149 | +- spec/datadog/profiling/preload_spec.rb: |
| 150 | + - Style/StringLiterals |
| 151 | +- spec/datadog/profiling/profiler_spec.rb: |
| 152 | + - Style/StringLiterals |
| 153 | +- spec/datadog/profiling/scheduler_spec.rb: |
| 154 | + - Style/StringLiterals |
| 155 | + - Layout/SpaceInsideHashLiteralBraces |
| 156 | +- spec/datadog/profiling/spec_helper.rb: |
| 157 | + - Style/StringLiterals |
| 158 | + - Style/QuotedSymbols |
| 159 | +- spec/datadog/profiling/stack_recorder_spec.rb: |
| 160 | + - Style/StringLiterals |
| 161 | + - Layout/SpaceInsideHashLiteralBraces |
| 162 | + - Style/QuotedSymbols |
| 163 | + - Style/RedundantBegin |
| 164 | +- spec/datadog/profiling/tag_builder_spec.rb: |
| 165 | + - Style/StringLiterals |
| 166 | + - Layout/SpaceInsideHashLiteralBraces |
| 167 | +- spec/datadog/profiling/tasks/exec_spec.rb: |
| 168 | + - Style/StringLiterals |
| 169 | +- spec/datadog/profiling/tasks/help_spec.rb: |
| 170 | + - Style/StringLiterals |
| 171 | +- spec/datadog/profiling/tasks/setup_spec.rb: |
| 172 | + - Style/StringLiterals |
| 173 | +- spec/datadog/profiling/validate_benchmarks_spec.rb: |
| 174 | + - Style/StringLiterals |
| 175 | +- spec/datadog/profiling_spec.rb: |
| 176 | + - Style/StringLiterals |
| 177 | + - Style/RedundantBegin |
| 178 | +- ext/datadog_profiling_loader/extconf.rb: |
| 179 | + - Style/StringLiterals |
| 180 | +- ext/datadog_profiling_native_extension/extconf.rb: |
| 181 | + - Style/StringLiterals |
| 182 | +- ext/datadog_profiling_native_extension/native_extension_helpers.rb: |
| 183 | + - Style/StringLiterals |
| 184 | + - Layout/SpaceInsideHashLiteralBraces |
| 185 | + - Style/RedundantBegin |
0 commit comments