-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDangerfile
More file actions
28 lines (19 loc) · 724 Bytes
/
Dangerfile
File metadata and controls
28 lines (19 loc) · 724 Bytes
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
# frozen_string_literal: true
# Runs rails_best_practices on modified and added files in the PR
rails_best_practices.lint
# Runs Rubocop and submit comments on modified and added files
rubocop.lint(inline_comment: true, force_exclusion: true)
# Runs Brakeman on modified and added files
brakeman.run
# Runs Reek on modified and added files
reek.lint
# Suggests code changes in the PR
suggester.suggest
# Runs ESLint on modified and added files in the PR
eslint.lint
# Runs slim-lint on modified and added files in the PR
slim_lint.lint
# Report your Ruby app test suite code coverage in Danger.
# simplecov.report 'coverage/coverage.json'
# Report missing test coverage of new changes in Danger
# undercover.report