This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
nitpick /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Mar 19 00:58:40 -0700 2009 | |
| |
Changelog | Fri Mar 20 01:07:11 -0700 2009 | |
| |
LICENSE | Mon Jun 02 16:55:09 -0700 2008 | |
| |
README | Wed Mar 18 20:51:03 -0700 2009 | |
| |
Rakefile | Sat Mar 21 14:44:15 -0700 2009 | |
| |
VERSION.yml | Thu Mar 19 22:09:09 -0700 2009 | |
| |
bin/ | Fri Mar 20 01:07:11 -0700 2009 | |
| |
lib/ | Fri Mar 20 01:07:11 -0700 2009 | |
| |
nitpick.gemspec | Thu Mar 19 22:09:14 -0700 2009 | |
| |
spec/ | Fri Mar 20 01:07:11 -0700 2009 |
README
Ruby lint. Sorta. http://github.com/kevinclark/nitpick/wikis Clio:nitpick kev$ ./bin/nitpick spec/fixtures/block_badness.rb \ > spec/fixtures/branch_badness.rb \ > spec/fixtures/method_badness.rb \ > spec/fixtures/rescue_badness.rb \ > spec/fixtures/local_variable_badness.rb ./spec/fixtures/branch_badness.rb:20: warning: found = in conditional, should be == Fixtures::BlockBadness no_conditional_for_block_given - A block is being yielded to without a check for block_given? simple_conditional_without_check - A block is being yielded to without a check for block_given? Fixtures::BranchBadness branch_returning_identical_things - The branches of 'if (true)' are identical. branch_returning_true_or_false - No need for an if. Just return '(1 == 2)' as a boolean. branch_with_assignment_as_condition - An assigment is being used as a condition: (a = 1) - The variable :a is unused. Fixtures::LocalVariableBadness anonymous_args - The method :anonymous_args is empty. block_arg_unused - The argument :block is unused. lvar_shadowed - One or more variables are being shadowed (x) lvar_shadowed_many_block_vars - One or more variables are being shadowed (x) rescue_to_variable - The variable :e is unused. simple_unused_arg - The argument :other is unused. unused_arg - The argument :arg is unused. unused_lasgn - The variable :bar is unused. Fixtures::MethodBadness empty_method - The method :empty_method is empty. Fixtures::RescueBadness rescue_exception - A rescue is capturing Object or Exception, which may hide errors. rescue_nil - A rescue is returning "nil" directly and may not handle an error. rescue_object - A rescue is capturing Object or Exception, which may hide errors.







