File tree 1 file changed +20
-1
lines changed
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -223,12 +223,31 @@ https://github.com/datadog/dd-apm-test-agent#readme
223
223
224
224
** Linting**
225
225
226
- The trace library uses Rubocop to enforce [ code style] ( https://github.com/bbatsov/ruby-style-guide ) and quality. To check, run:
226
+ Most of the library uses Rubocop to enforce [ code style] ( https://github.com/bbatsov/ruby-style-guide ) and quality. To check, run:
227
227
228
228
```
229
229
$ bundle exec rake rubocop
230
230
```
231
231
232
+ To change your code to the version that rubocop wants, run:
233
+
234
+ ```
235
+ $ bundle exec rake rubocop -A
236
+ ```
237
+
238
+ Profiling and Dynamic Instrumentation use [ standard] ( https://github.com/standardrb/standard )
239
+ instead of Rubocop. To check files with standard, run:
240
+
241
+ ```
242
+ $ bundle exec rake standard
243
+ ```
244
+
245
+ To change your code to the version that standard wants, run:
246
+
247
+ ```
248
+ $ bundle exec rake standard:fix
249
+ ```
250
+
232
251
## Appendix
233
252
234
253
### Writing new integrations
You can’t perform that action at this time.
0 commit comments