Skip to content

Commit

Permalink
Add standard to development guide (#4242)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Pudeyev <[email protected]>
Co-authored-by: Ivo Anjo <[email protected]>
  • Loading branch information
3 people authored Jan 3, 2025
1 parent 6fc4c8e commit f3e66ea
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docs/DevelopmentGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,31 @@ https://github.com/datadog/dd-apm-test-agent#readme

**Linting**

The trace library uses Rubocop to enforce [code style](https://github.com/bbatsov/ruby-style-guide) and quality. To check, run:
Most of the library uses Rubocop to enforce [code style](https://github.com/bbatsov/ruby-style-guide) and quality. To check, run:

```
$ bundle exec rake rubocop
```

To change your code to the version that rubocop wants, run:

```
$ bundle exec rake rubocop -A
```

Profiling and Dynamic Instrumentation use [standard](https://github.com/standardrb/standard)
instead of Rubocop. To check files with standard, run:

```
$ bundle exec rake standard
```

To change your code to the version that standard wants, run:

```
$ bundle exec rake standard:fix
```

## Appendix

### Writing new integrations
Expand Down

0 comments on commit f3e66ea

Please sign in to comment.