|
1 | 1 | ---
|
2 | 2 |
|
| 3 | +require: |
| 4 | + - rubocop-performance |
| 5 | + |
3 | 6 | AllCops:
|
4 | 7 | DisabledByDefault: true
|
5 | 8 |
|
@@ -43,5 +46,163 @@ Layout/TrailingWhitespace:
|
43 | 46 | Layout/TrailingEmptyLines:
|
44 | 47 | Enabled: true
|
45 | 48 |
|
| 49 | +Performance: |
| 50 | + Enabled: true |
| 51 | + |
| 52 | +Performance/AncestorsInclude: |
| 53 | + Enabled: false |
| 54 | + |
| 55 | +Performance/ArraySemiInfiniteRangeSlice: |
| 56 | + Enabled: false |
| 57 | + |
| 58 | +Performance/BigDecimalWithNumericArgument: |
| 59 | + Enabled: true |
| 60 | + |
| 61 | +Performance/BindCall: |
| 62 | + Enabled: true |
| 63 | + |
| 64 | +Performance/BlockGivenWithExplicitBlock: |
| 65 | + Enabled: true |
| 66 | + |
| 67 | +Performance/Caller: |
| 68 | + Enabled: true |
| 69 | + |
| 70 | +Performance/CaseWhenSplat: |
| 71 | + Enabled: true |
| 72 | + |
| 73 | +Performance/Casecmp: |
| 74 | + Enabled: false |
| 75 | + |
| 76 | +Performance/ChainArrayAllocation: |
| 77 | + Enabled: false |
| 78 | + |
| 79 | +Performance/CollectionLiteralInLoop: |
| 80 | + Enabled: true |
| 81 | + Exclude: |
| 82 | + - spec/**/* |
| 83 | + |
| 84 | +Performance/CompareWithBlock: |
| 85 | + Enabled: true |
| 86 | + |
| 87 | +Performance/ConcurrentMonotonicTime: |
| 88 | + Enabled: true |
| 89 | + |
| 90 | +Performance/ConstantRegexp: |
| 91 | + Enabled: true |
| 92 | + |
| 93 | +Performance/Count: |
| 94 | + Enabled: true |
| 95 | + |
| 96 | +Performance/DeletePrefix: |
| 97 | + Enabled: true |
| 98 | + |
| 99 | +Performance/DeleteSuffix: |
| 100 | + Enabled: true |
| 101 | + |
| 102 | +Performance/Detect: |
| 103 | + Enabled: true |
| 104 | + |
| 105 | +Performance/DoubleStartEndWith: |
| 106 | + Enabled: true |
| 107 | + IncludeActiveSupportAliases: true |
| 108 | + |
| 109 | +Performance/EndWith: |
| 110 | + Enabled: true |
| 111 | + |
| 112 | +Performance/FixedSize: |
| 113 | + Enabled: true |
| 114 | + |
| 115 | +Performance/FlatMap: |
| 116 | + Enabled: true |
| 117 | + EnabledForFlattenWithoutParams: false |
| 118 | + |
| 119 | +Performance/InefficientHashSearch: |
| 120 | + Enabled: true |
| 121 | + |
| 122 | +Performance/IoReadlines: |
| 123 | + Enabled: true |
| 124 | + |
| 125 | +Performance/MapCompact: |
| 126 | + Enabled: false |
| 127 | + |
| 128 | +Performance/MapMethodChain: |
| 129 | + Enabled: false |
| 130 | + |
| 131 | +Performance/MethodObjectAsBlock: |
| 132 | + Enabled: true |
| 133 | + |
| 134 | +Performance/OpenStruct: |
| 135 | + Enabled: true |
| 136 | + |
| 137 | +Performance/RangeInclude: |
| 138 | + Enabled: true |
| 139 | + |
| 140 | +Performance/RedundantBlockCall: |
| 141 | + Enabled: false |
| 142 | + |
| 143 | +Performance/RedundantEqualityComparisonBlock: |
| 144 | + Enabled: false |
| 145 | + |
| 146 | +Performance/RedundantMatch: |
| 147 | + Enabled: true |
| 148 | + |
| 149 | +Performance/RedundantMerge: |
| 150 | + Enabled: true |
| 151 | + MaxKeyValuePairs: 2 |
| 152 | + |
| 153 | +Performance/RedundantSortBlock: |
| 154 | + Enabled: true |
| 155 | + |
| 156 | +Performance/RedundantSplitRegexpArgument: |
| 157 | + Enabled: true |
| 158 | + |
| 159 | +Performance/RedundantStringChars: |
| 160 | + Enabled: true |
| 161 | + |
| 162 | +Performance/RegexpMatch: |
| 163 | + Enabled: true |
| 164 | + |
| 165 | +Performance/ReverseEach: |
| 166 | + Enabled: true |
| 167 | + |
| 168 | +Performance/ReverseFirst: |
| 169 | + Enabled: true |
| 170 | + |
| 171 | +Performance/SelectMap: |
| 172 | + Enabled: false |
| 173 | + |
| 174 | +Performance/Size: |
| 175 | + Enabled: true |
| 176 | + |
| 177 | +Performance/SortReverse: |
| 178 | + Enabled: true |
| 179 | + |
| 180 | +Performance/Squeeze: |
| 181 | + Enabled: true |
| 182 | + |
| 183 | +Performance/StartWith: |
| 184 | + Enabled: true |
| 185 | + |
| 186 | +Performance/StringIdentifierArgument: |
| 187 | + Enabled: true |
| 188 | + |
| 189 | +Performance/StringInclude: |
| 190 | + Enabled: true |
| 191 | + |
| 192 | +Performance/StringReplacement: |
| 193 | + Enabled: true |
| 194 | + |
| 195 | +Performance/Sum: |
| 196 | + Enabled: false |
| 197 | + |
| 198 | +Performance/TimesMap: |
| 199 | + Enabled: true |
| 200 | + |
| 201 | +Performance/UnfreezeString: |
| 202 | + Enabled: true |
| 203 | + |
| 204 | +Performance/UriDefaultParser: |
| 205 | + Enabled: true |
| 206 | + |
46 | 207 | Style/HashSyntax:
|
47 | 208 | Enabled: true
|
0 commit comments