Skip to content

Commit da71292

Browse files
committed
Replace RuboCop with Qlty for code quality
Remove RuboCop 0.54 config (2018) and todo file in favor of Qlty with actionlint, markdownlint, trivy, trufflehog, and yamllint.
1 parent d5083ed commit da71292

File tree

3 files changed

+57
-263
lines changed

3 files changed

+57
-263
lines changed

.qlty/qlty.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# This file configures Qlty code quality and coverage tools
2+
# For configuration guide: https://qlty.sh/d/config
3+
# For full reference: https://qlty.sh/d/qlty-toml
4+
5+
config_version = "0"
6+
7+
exclude_patterns = [
8+
"*_min.*",
9+
"*-min.*",
10+
"*.min.*",
11+
"**/*.d.ts",
12+
"**/node_modules/**",
13+
"**/vendor/**",
14+
"**/coverage/**",
15+
"**/tmp/**",
16+
"**/pkg/**",
17+
"**/gemfiles/**",
18+
"**/.bundle/**",
19+
]
20+
21+
test_patterns = [
22+
"**/test/**",
23+
"**/spec/**",
24+
"**/*.test.*",
25+
"**/*.spec.*",
26+
"**/*_test.*",
27+
"**/*_spec.*",
28+
]
29+
30+
[smells]
31+
mode = "comment"
32+
33+
[[source]]
34+
name = "default"
35+
default = true
36+
37+
[[plugin]]
38+
name = "actionlint"
39+
40+
[[plugin]]
41+
name = "markdownlint"
42+
drivers = ["lint"]
43+
mode = "comment"
44+
45+
[[plugin]]
46+
name = "ripgrep"
47+
mode = "comment"
48+
49+
[[plugin]]
50+
name = "trivy"
51+
drivers = ["config"]
52+
53+
[[plugin]]
54+
name = "trufflehog"
55+
56+
[[plugin]]
57+
name = "yamllint"

.rubocop.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.rubocop_todo.yml

Lines changed: 0 additions & 232 deletions
This file was deleted.

0 commit comments

Comments
 (0)