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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
CSC307 Lecture 04
javiergs
PRO
0
660
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
CSC307 Lecture 07
javiergs
PRO
1
550
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
1
110
Grafana:建立系統全知視角的捷徑
blueswen
0
330
CSC307 Lecture 05
javiergs
PRO
0
500
ぼくの開発環境2026
yuzneri
0
240
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
310
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
The Cult of Friendly URLs
andyhume
79
6.8k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
220
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
We Are The Robots
honzajavorek
0
160
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
[SF Ruby Conf 2025] Rails X
palkan
1
760
How to train your dragon (web standard)
notwaldorf
97
6.5k
Unsuck your backbone
ammeep
671
58k
Building the Perfect Custom Keyboard
takai
2
690
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
120
Raft: Consensus for Rubyists
vanstee
141
7.3k
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