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
35
Rails 5 Changes.
priteshjain
1
95
Tips and Tricks to make RubyonRails webpage response Faster
priteshjain
2
150
Other Decks in Programming
See All in Programming
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
320
技術同人誌をMCP Serverにしてみた
74th
0
340
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
120
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
390
Deep Dive into ~/.claude/projects
hiragram
8
1.5k
5つのアンチパターンから学ぶLT設計
narihara
1
110
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.3k
Select API from Kotlin Coroutine
jmatsu
1
190
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
220
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
360
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
190
Is Xcode slowly dying out in 2025?
uetyo
1
190
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Code Review Best Practice
trishagee
68
18k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Become a Pro
speakerdeck
PRO
28
5.4k
A designer walks into a library…
pauljervisheath
207
24k
Faster Mobile Websites
deanohume
307
31k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
BBQ
matthewcrist
89
9.7k
Speed Design
sergeychernyshev
32
1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
The Art of Programming - Codeland 2020
erikaheidi
54
13k
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