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
36
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
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
190
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
420
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
4.9k
EMこそClaude Codeでコード調査しよう
shibayu36
0
370
モテるデスク環境
mozumasu
3
1.2k
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.1k
Software Architecture
hschwentner
6
2.3k
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
810
Introduce Hono CLI
yusukebe
6
3.1k
Developer Joy - The New Paradigm
hollycummins
1
360
Featured
See All Featured
Making Projects Easy
brettharned
120
6.4k
Building an army of robots
kneath
305
46k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Mobile First: as difficult as doing things right
swwweet
225
10k
Code Review Best Practice
trishagee
72
19k
Faster Mobile Websites
deanohume
310
31k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
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