Skip to content

Commit

Permalink
add standard to development guide
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Dec 25, 2024
1 parent c116d75 commit ce4814c
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 ce4814c

Please sign in to comment.