File tree 2 files changed +82
-0
lines changed
2 files changed +82
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Rubocop
3
+ sidebar_label : Rubocop
4
+ description : CodeRabbit's guide to Rubocop.
5
+ ---
6
+
7
+ [ Rubocop] ( https://rubocop.org/ ) A Ruby static code analyzer and formatter, based on the community Ruby style guide.
8
+
9
+ ## Files
10
+
11
+ Rubocop will run on the following files and extensions:
12
+
13
+ - ` .rb `
14
+ - ` .arb `
15
+ - ` .axlsx `
16
+ - ` .builder `
17
+ - ` .fcgi `
18
+ - ` .gemfile `
19
+ - ` .gemspec `
20
+ - ` .god `
21
+ - ` .jb `
22
+ - ` .jbuilder `
23
+ - ` .mspec `
24
+ - ` .opal `
25
+ - ` .pluginspec `
26
+ - ` .podspec `
27
+ - ` .rabl `
28
+ - ` .rake `
29
+ - ` .rbuild `
30
+ - ` .rbw `
31
+ - ` .rbx `
32
+ - ` .ru `
33
+ - ` .ruby `
34
+
35
+ - ` .schema `
36
+ - ` .spec `
37
+ - ` .thor `
38
+ - ` .watchr `
39
+ - ` .irbrc `
40
+ - ` .pryrc `
41
+ - ` .simplecov `
42
+ - ` buildfile `
43
+ - ` Appraisals `
44
+ - ` Berksfile `
45
+ - ` Brewfile `
46
+ - ` Buildfile `
47
+ - ` Capfile `
48
+ - ` Cheffile `
49
+ - ` Dangerfile `
50
+ - ` Deliverfile `
51
+ - ` Fastfile `
52
+ - ` Fastfile `
53
+ - ` Gemfile `
54
+
55
+ - ` Guardfile `
56
+ - ` Jarfile `
57
+ - ` Mavenfile `
58
+ - ` Podfile `
59
+ - ` Puppetfile `
60
+ - ` Rakefile `
61
+
62
+ - ` rakefile `
63
+ - ` Schemafile `
64
+ - ` Snapfile `
65
+ - ` Steepfile `
66
+ - ` Thorfile `
67
+ - ` Vagabondfile `
68
+ - ` Vagrantfile `
69
+
70
+ ## Configuration
71
+
72
+ Rubocop uses a YAML style configuration file.
73
+
74
+ - ` .rubocop.yml `
75
+
76
+ CodeRabbit will use the default settings based on the profile selected if no config file is found.
77
+
78
+ ## Links
79
+
80
+ - [ Rubocop Configuration] ( https://docs.rubocop.org/rubocop/1.65/configuration.html/ )
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ Remove extraneous f prefix
59
59
| TSX | [ Biome] [ Biome ] |
60
60
| Typescript | [ Biome] [ Biome ] |
61
61
| YAML | [ YamlLint] [ YamlLint ] |
62
+ | Ruby | [ Rubocop] [ Rubocop ] |
62
63
63
64
[ ShellCheck ] : ./shellcheck.md
64
65
[ Ruff ] : ./ruff.md
@@ -73,3 +74,4 @@ Remove extraneous f prefix
73
74
[ Gitleaks ] : ./gitleaks.md
74
75
[ Checkov ] : ./checkov.md
75
76
[ Detekt ] : ./detekt.md
77
+ [ Rubocop ] : ./rubocop.md
You can’t perform that action at this time.
0 commit comments