All Projects → semaperepelitsa → Ruby_warning_filter

semaperepelitsa / Ruby_warning_filter

Verbose Ruby mode without the noise

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Ruby warning filter

Flake8 Bugbear
A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
Stars: ✭ 518 (+5655.56%)
Mutual labels:  code-quality
Checkstyle
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
Stars: ✭ 6,481 (+71911.11%)
Mutual labels:  code-quality
App Githooks
Plugin-based system to run specific actions and checks when git hooks are triggered.
Stars: ✭ 5 (-44.44%)
Mutual labels:  code-quality
Composerrequirechecker
A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies
Stars: ✭ 557 (+6088.89%)
Mutual labels:  code-quality
Sonarqube
Continuous Inspection
Stars: ✭ 6,365 (+70622.22%)
Mutual labels:  code-quality
Imgbot
An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]
Stars: ✭ 732 (+8033.33%)
Mutual labels:  code-quality
Awesome Guidelines
A curated list of high quality coding style conventions and standards.
Stars: ✭ 6,379 (+70777.78%)
Mutual labels:  code-quality
Checkstyle Action
Run Java checkstyle with reviewdog in github actions
Stars: ✭ 26 (+188.89%)
Mutual labels:  code-quality
Sonarjs
SonarSource Static Analyzer for JavaScript and TypeScript
Stars: ✭ 696 (+7633.33%)
Mutual labels:  code-quality
Sonar Jproperties Plugin
SonarQube Java Properties Analyzer
Stars: ✭ 5 (-44.44%)
Mutual labels:  code-quality
Vim Disapprove Deep Indentation
ಠ_ಠ Vim plugin to disapprove deeply indented code. ಠ_ಠ
Stars: ✭ 566 (+6188.89%)
Mutual labels:  code-quality
Pyre Check
Performant type-checking for python.
Stars: ✭ 5,716 (+63411.11%)
Mutual labels:  code-quality
Android Guidelines
Project Guidelines for the Android Buffer App
Stars: ✭ 760 (+8344.44%)
Mutual labels:  code-quality
Pep8speaks
A GitHub app to automatically review Python code style over Pull Requests
Stars: ✭ 546 (+5966.67%)
Mutual labels:  code-quality
Php Code Quality
Code Quality scripts that can be run via Composer.
Stars: ✭ 19 (+111.11%)
Mutual labels:  code-quality
Phpdependencyanalysis
Static code analysis to find violations in a dependency graph
Stars: ✭ 505 (+5511.11%)
Mutual labels:  code-quality
Pdepend
PHP_Depend is an adaptation of the established Java development tool JDepend. This tool shows you the quality of your design in terms of extensibility, reusability and maintainability.
Stars: ✭ 727 (+7977.78%)
Mutual labels:  code-quality
Feflow
🚀 A command line tool aims to improve front-end engineer workflow and standard, powered by TypeScript.
Stars: ✭ 942 (+10366.67%)
Mutual labels:  code-quality
Ansible Role Sonarqube
Ansible Role: SonarQube
Stars: ✭ 22 (+144.44%)
Mutual labels:  code-quality
Sonarts
Static code analyzer for TypeScript
Stars: ✭ 776 (+8522.22%)
Mutual labels:  code-quality

Hassle-free Ruby warnings

Ruby warnings are cool. They prevent you from making typos in instance variables, making unused variables, accidentally overriding methods, and more. Unfortunately, many libraries still don’t check their code for warnings. In a big enough project you end up with tons of warnings from all the libraries you use which renders the whole thing useless. But it doesn’t have to be this way!

With the help of this gem you can filter out all those useless messages and only get the warnings relevant to your code.

Usage

Add to your Gemfile:

gem "ruby_warning_filter", "~> 1.0.0"

Put the following code somewhere before your project is loaded. In a Rails application, a good place would be at the end of "config/boot.rb".

$VERBOSE = true
require "ruby_warning_filter"
$stderr = RubyWarningFilter.new($stderr)

When running your app or tests you should see only relevant warnings. Now, go fix them!

Feedback

The filter works by proxying all writes to stderr. It has been running for a while in many of my work projects with good results. However, it is probably not comprehensive. Please, report any warnings that it misses or swallows by error.

Build Status

The gem is tested against Ruby versions 2.5 down to 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].