Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
1) Many cops have configurable attributes. See for example Layout/SpaceInsideParens. You could open a merge request to add configurable attributes to other cops like Layout/SpaceInsidePercentLiteralDelimiters - as long as the default behaviour stays the same, it will probably get accepted. I do suggest opening an issue with a detailed list of what attributes you would like to add to which cops first, and getting a green light from a maintainer. Check the Contributing section on the website, which also contains a link to the contribution guidelines.
2) You can create your own rubocop extension with your own cops. See the Extensions docs. This can take the form of files in your application, or your own custom gem. Have a look at e.g. rubocop-rake.
Related posts
- Mastering Linters : A Code Quality Assurance Comprehensive Guide using Ruby on Rails
- code review / feedback for improvement
- I live and work in the US where protests against police brutality have been ongoing for days, and coming to work this week the word "cop" has an uncomfortable feeling about it.
- What’s your day to day development env set up?
- RuboCoping with legacy: Bring your Ruby code up to Standard