Skip to content

Commit

Permalink
Added rubocop.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed May 2, 2024
1 parent b557b34 commit fe90f06
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.1
Include:
- 'exploits/{**/,}*.rb'
Exclude:
- 'vendor/**/*'

inherit_gem:
rubocop-ronin: rubocop.yml

#
# community-pocs specific exceptions
#
Style/FrozenStringLiteralComment: { Enabled: false }
Style/Documentation: { Enabled: false }
Style/SignalException: { Enabled: false }
Naming/ClassAndModuleCamelCase: { Enabled: false }
Layout/FirstHashElementIndentation: { Enabled: false }
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ gem 'ronin-payloads', '~> 0.2', github: 'ronin-rb/ronin-payloads',
branch: '0.2.0'
gem 'ronin-exploits', '~> 1.1', github: 'ronin-rb/ronin-exploits',
branch: '1.1.0'

group :development do
gem 'rubocop', require: false, platform: :mri
gem 'rubocop-ronin', require: false, platform: :mri
end

0 comments on commit fe90f06

Please sign in to comment.