forked from DataDog/dd-trace-rb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.standard_todo.yml
More file actions
30 lines (28 loc) · 1.55 KB
/
Copy path.standard_todo.yml
File metadata and controls
30 lines (28 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is used to ignore specific rules for specific files or directories.
---
ignore:
# This list should stay in sync with .rubocop.yml's own disabled-cops
# section for these same cops (Layout/LeadingCommentSpace has an extra
# reason here). Check that file too when adding or removing entries here,
# so it stays clear which tool is, or is not, enforcing each cop.
# After quite some discussion on the team, we decided to make an exception to the
# "standard-isn't-supposed-to-be-configured" thing to allow for trailing comma, see
# https://github.com/standardrb/standard/issues/611 for a discussion
- "**/**":
- Style/TrailingCommaInArguments
- Style/TrailingCommaInArrayLiteral
- Style/TrailingCommaInHashLiteral
# steep has annotation syntax which requires immediate sign after the hash character.
# Enforced separately via `rake rubocop` - see rubocop/standard_overrides.rubocop.yml.
# We can drop this override if https://github.com/standardrb/standard/pull/820 (proposing
# AllowSteepAnnotation: true in standard's own base config, following the precedent set by
# RBS support in https://github.com/standardrb/standard/pull/709) is merged and released.
- Layout/LeadingCommentSpace
# This disables standardrb for third-party and generated code.
- appraisal/**/**
- gemfiles/**/**
- integration/**/**
- lib/datadog/**/vendor/**/*
- lib/datadog/profiling/ext/exec_monkey_patch.rb # This is Ruby 2.7+ and standard doesn't like it
- vendor/bundle/**/*
- "*.rb" # test files at the root