Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Config in ./config
Add rubocop-rickselby
to your Gemfile:
group :development, :test do
gem "rubocop-rickselby", "~> 0.14", require: false
end
Inherit the desired configuration in your .rubocop.yml
:
# .rubocop.yml
inherit_gem:
rubocop-rickselby:
- config/default.yml # generic Ruby rules and cops
- config/capybara.yml # capybara-specific rules and cops
- config/factory_bot.yml # factory_bot-specific rules and cops
- config/rails.yml # Rails-specific rules and cops
- config/rspec.yml # RSpec-specific rules and cops
- config/rspec_rails.yml # RSpec-specific rules and cops for rails
- config/sequel.yml # sequel-specific rules and cops
You can override cops in your own local .rubocop.yml
file as required.
erb-lint
Config is also available for https://github.com/Shopify/erb-lint.
Add a local .erb-lint.yml
file to your project:
---
exclude:
- 'node_modules/**/*'
- 'vendor/**/*'
inherit_gem:
rubocop-rickselby:
- config/erb-lint.yml
The default file path is **/*.html{+*,}.erb
- this can be changed with a glob
setting in .erb-lint.yml
, e.g.
---
glob: "**/*.erb"
Bug reports and pull requests are welcome on GitHub at https://github.com/rickselby/rubocop-rickselby.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that rubocop-rickselby demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.