Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rubocop you personal lint assistant
Search
Pritesh Jain
April 04, 2015
Programming
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rubocop you personal lint assistant
Rubocop, Ruby static code analyzer.
Pritesh Jain
April 04, 2015
More Decks by Pritesh Jain
See All by Pritesh Jain
DevRel vs Dev Marketing: Differences and Synergies
priteshjain
0
46
Rails 5 Changes.
priteshjain
1
100
Tips and Tricks to make RubyonRails webpage response Faster
priteshjain
2
150
Other Decks in Programming
See All in Programming
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
AWSに止められる覚悟してますか?
morizo_1984
2
530
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
920
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Railsバージョンを4倍にした話
optim
0
350
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
カツオ、ご期待ください
suneo3476
0
190
R8 の設定見直しでアプリサイズ削減
andpad
0
220
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Navigating Team Friction
lara
192
16k
Marketing to machines
jonoalderson
1
5.9k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
Odyssey Design
rkendrick25
PRO
2
870
Utilizing Notion as your number one productivity tool
mfonobong
4
620
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