Skip to content

Commit a8ae7cc

Browse files
authored
Initial commit
0 parents  commit a8ae7cc

28 files changed

Lines changed: 4393 additions & 0 deletions

.discourse-compatibility

Whitespace-only changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Discourse Plugin
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
ci:
11+
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
/gems
3+
/auto_generated

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
engine-strict = true
2+
auto-install-peers = false

.prettierrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("@discourse/lint-configs/prettier");

.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

.template-lintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("@discourse/lint-configs/template-lint");

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: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
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.12)
33+
rainbow (3.1.1)
34+
regexp_parser (2.9.2)
35+
rexml (3.3.9)
36+
rubocop (1.64.0)
37+
json (~> 2.3)
38+
language_server-protocol (>= 3.17.0)
39+
parallel (~> 1.10)
40+
parser (>= 3.3.0.2)
41+
rainbow (>= 2.2.2, < 4.0)
42+
regexp_parser (>= 1.8, < 3.0)
43+
rexml (>= 3.2.5, < 4.0)
44+
rubocop-ast (>= 1.31.1, < 2.0)
45+
ruby-progressbar (~> 1.7)
46+
unicode-display_width (>= 2.4.0, < 3.0)
47+
rubocop-ast (1.31.3)
48+
parser (>= 3.3.1.0)
49+
rubocop-capybara (2.20.0)
50+
rubocop (~> 1.41)
51+
rubocop-discourse (3.8.0)
52+
activesupport (>= 6.1)
53+
rubocop (>= 1.59.0)
54+
rubocop-capybara (>= 2.0.0)
55+
rubocop-factory_bot (>= 2.0.0)
56+
rubocop-rails (>= 2.25.0)
57+
rubocop-rspec (>= 2.25.0)
58+
rubocop-factory_bot (2.25.1)
59+
rubocop (~> 1.41)
60+
rubocop-rails (2.25.0)
61+
activesupport (>= 4.2.0)
62+
rack (>= 1.1)
63+
rubocop (>= 1.33.0, < 2.0)
64+
rubocop-ast (>= 1.31.1, < 2.0)
65+
rubocop-rspec (2.29.2)
66+
rubocop (~> 1.40)
67+
rubocop-capybara (~> 2.17)
68+
rubocop-factory_bot (~> 2.22)
69+
rubocop-rspec_rails (~> 2.28)
70+
rubocop-rspec_rails (2.28.3)
71+
rubocop (~> 1.40)
72+
ruby-progressbar (1.13.0)
73+
syntax_tree (6.2.0)
74+
prettier_print (>= 1.2.0)
75+
tzinfo (2.0.6)
76+
concurrent-ruby (~> 1.0)
77+
unicode-display_width (2.5.0)
78+
79+
PLATFORMS
80+
ruby
81+
82+
DEPENDENCIES
83+
rubocop-discourse
84+
syntax_tree
85+
86+
BUNDLED WITH
87+
2.5.10

0 commit comments

Comments
 (0)