Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rubocop you personal lint assistant
Search
Pritesh Jain
April 04, 2015
Programming
0
180
Rubocop you personal lint assistant
Rubocop, Ruby static code analyzer.
Pritesh Jain
April 04, 2015
Tweet
Share
More Decks by Pritesh Jain
See All by Pritesh Jain
DevRel vs Dev Marketing: Differences and Synergies
priteshjain
0
37
Rails 5 Changes.
priteshjain
1
97
Tips and Tricks to make RubyonRails webpage response Faster
priteshjain
2
150
Other Decks in Programming
See All in Programming
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
720
CSC307 Lecture 08
javiergs
PRO
0
670
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
200
CSC307 Lecture 07
javiergs
PRO
1
550
Oxlint JS plugins
kazupon
1
980
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
今から始めるClaude Code超入門
448jp
8
9k
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
140
CSC307 Lecture 09
javiergs
PRO
1
840
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
140
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
30 Presentation Tips
portentint
PRO
1
220
Being A Developer After 40
akosma
91
590k
Building AI with AI
inesmontani
PRO
1
700
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
350
We Are The Robots
honzajavorek
0
160
YesSQL, Process and Tooling at Scale
rocio
174
15k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
Transcript
Rubocop Ruby static code analyzer
None
Cops - Style - check for stylistics problems in your
code - Lint - check for possible errors and very bad practices in your code
How to - gem install rubocop - cd yourapp -
rubocop app or - rubocop lib/app.rb - rubocop --auto-correct
Usage
References https://github.com/bbatsov/rubocop http://blog.crowdint.com/2013/11/29/improve- your-ruby-syntax-with-rubocop.html http://www.refactorcop.com/
https://github.com/troessner/reek https://github.com/presidentbeef/brakeman https://github.com/mmozuras/pronto Thank You By - Pritesh Jain @priteshjrocks
More useful references