Skip to content

Commit c1201e0

Browse files
authored
add ruby files to enable linting (#97)
1 parent cacbacd commit c1201e0

File tree

4 files changed

+101
-0
lines changed

4 files changed

+101
-0
lines changed

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
inherit_gem:
2+
rubocop-discourse: stree-compat.yml

.streerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--print-width=100
2+
--plugins=plugin/trailing_comma,plugin/disable_auto_ternary

Gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
group :development do
6+
gem "rubocop-discourse"
7+
gem "syntax_tree"
8+
end

Gemfile.lock

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (7.1.3.3)
5+
base64
6+
bigdecimal
7+
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
connection_pool (>= 2.2.5)
9+
drb
10+
i18n (>= 1.6, < 2)
11+
minitest (>= 5.1)
12+
mutex_m
13+
tzinfo (~> 2.0)
14+
ast (2.4.2)
15+
base64 (0.2.0)
16+
bigdecimal (3.1.8)
17+
concurrent-ruby (1.2.3)
18+
connection_pool (2.4.1)
19+
drb (2.2.1)
20+
i18n (1.14.5)
21+
concurrent-ruby (~> 1.0)
22+
json (2.7.2)
23+
language_server-protocol (3.17.0.3)
24+
minitest (5.23.1)
25+
mutex_m (0.2.0)
26+
parallel (1.24.0)
27+
parser (3.3.1.0)
28+
ast (~> 2.4.1)
29+
racc
30+
prettier_print (1.2.1)
31+
racc (1.8.0)
32+
rack (3.0.11)
33+
rainbow (3.1.1)
34+
regexp_parser (2.9.2)
35+
rexml (3.3.6)
36+
strscan
37+
rubocop (1.64.0)
38+
json (~> 2.3)
39+
language_server-protocol (>= 3.17.0)
40+
parallel (~> 1.10)
41+
parser (>= 3.3.0.2)
42+
rainbow (>= 2.2.2, < 4.0)
43+
regexp_parser (>= 1.8, < 3.0)
44+
rexml (>= 3.2.5, < 4.0)
45+
rubocop-ast (>= 1.31.1, < 2.0)
46+
ruby-progressbar (~> 1.7)
47+
unicode-display_width (>= 2.4.0, < 3.0)
48+
rubocop-ast (1.31.3)
49+
parser (>= 3.3.1.0)
50+
rubocop-capybara (2.20.0)
51+
rubocop (~> 1.41)
52+
rubocop-discourse (3.8.0)
53+
activesupport (>= 6.1)
54+
rubocop (>= 1.59.0)
55+
rubocop-capybara (>= 2.0.0)
56+
rubocop-factory_bot (>= 2.0.0)
57+
rubocop-rails (>= 2.25.0)
58+
rubocop-rspec (>= 2.25.0)
59+
rubocop-factory_bot (2.25.1)
60+
rubocop (~> 1.41)
61+
rubocop-rails (2.25.0)
62+
activesupport (>= 4.2.0)
63+
rack (>= 1.1)
64+
rubocop (>= 1.33.0, < 2.0)
65+
rubocop-ast (>= 1.31.1, < 2.0)
66+
rubocop-rspec (2.29.2)
67+
rubocop (~> 1.40)
68+
rubocop-capybara (~> 2.17)
69+
rubocop-factory_bot (~> 2.22)
70+
rubocop-rspec_rails (~> 2.28)
71+
rubocop-rspec_rails (2.28.3)
72+
rubocop (~> 1.40)
73+
ruby-progressbar (1.13.0)
74+
strscan (3.1.0)
75+
syntax_tree (6.2.0)
76+
prettier_print (>= 1.2.0)
77+
tzinfo (2.0.6)
78+
concurrent-ruby (~> 1.0)
79+
unicode-display_width (2.5.0)
80+
81+
PLATFORMS
82+
ruby
83+
84+
DEPENDENCIES
85+
rubocop-discourse
86+
syntax_tree
87+
88+
BUNDLED WITH
89+
2.5.10

0 commit comments

Comments
 (0)