We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f23c644 commit b359448Copy full SHA for b359448
.github/workflows/lint.yml
@@ -15,8 +15,9 @@ jobs:
15
with:
16
ruby-version: 3.2
17
bundler-cache: true
18
- # Create a dummy scanner.rb so we don't need Ragel but require statements work
19
- - name: Stub scanner.rb
20
- run: 'echo "class Regexp::Scanner; end" > lib/regexp_parser/scanner.rb'
+ - name: Install and run ragel
+ run: |
+ sudo apt-get install -yqq ragel
21
+ bundle exec rake ragel:rb
22
- name: Run rubocop
23
run: bundle exec rubocop
.rubocop.yml
@@ -18,5 +18,3 @@ Lint/DuplicateRegexpCharacterClassElement:
Exclude: ['spec/**/*']
Lint/MixedRegexpCaptureTypes:
-Lint/UnescapedBracketInRegexp:
- Exclude: ['spec/**/*']
0 commit comments