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
Improving your code with Linter tools
Search
Bruno Genaro
March 20, 2015
Technology
0
71
Improving your code with Linter tools
Bruno Genaro
March 20, 2015
Tweet
Share
More Decks by Bruno Genaro
See All by Bruno Genaro
Renderizando Componentes React no Servidor
brunogenaro
1
330
The future of React with Universal web applications
brunogenaro
0
110
The future of React with Universal web applications
brunogenaro
0
130
Understand Front-End Roles
brunogenaro
1
160
Why did I build my website using ReactJS?
brunogenaro
0
54
Essential JavaScript libraries to improve your workflow
brunogenaro
0
72
Consuming Third Party Data With JSONP
brunogenaro
0
110
Improving your Sublime Text 3 workflow
brunogenaro
0
180
Other Decks in Technology
See All in Technology
オープンソースKeycloakのMCP認可サーバの仕様の対応状況 / 20251219 OpenID BizDay #18 LT Keycloak
oidfj
0
250
Redshift認可、アップデートでどう変わった?
handy
1
110
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.9k
AI との良い付き合い方を僕らは誰も知らない
asei
1
300
Claude Skillsの テスト業務での活用事例
moritamasami
1
120
日本の AI 開発と世界の潮流 / GenAI Development in Japan
hariby
2
660
AWSに革命を起こすかもしれない新サービス・アップデートについてのお話
yama3133
0
520
Agent Skillsがハーネスの垣根を超える日
gotalab555
6
4.7k
アラフォーおじさん、はじめてre:Inventに行く / A 40-Something Guy’s First re:Invent Adventure
kaminashi
0
180
AI with TiDD
shiraji
1
320
フィッシュボウルのやり方 / How to do a fishbowl
pauli
2
430
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
1.9k
Featured
See All Featured
Claude Code のすすめ
schroneko
67
210k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
37
Un-Boring Meetings
codingconduct
0
170
First, design no harm
axbom
PRO
1
1.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
260
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
99
Everyday Curiosity
cassininazir
0
110
Evolving SEO for Evolving Search Engines
ryanjones
0
82
Heart Work Chapter 1 - Part 1
lfama
PRO
3
35k
Navigating Team Friction
lara
191
16k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Transcript
Improving your code with Linter tools Bruno Genaro
What is a Linter tool? • Analyses your code
• Checks poten?al errors • Bad habits • Best prac?ces • Consistency mistakes
Why should we use? • Be familiar with best prac?ces
• Create our own best prac?ces and paBerns • Consistent code across mul?ple applica?ons • Maintainable code / Easy debug
Let’s talk about JavaScript • JSLint (Douglas Crockford -‐ JavaScript:
The Good Parts) • JSHint (The famous one) • JSCS • ESLint (The preBy younger guy, good to write ES6)
JSHint • Helps you to write more reliable and consistent
JavaScript code. • Checks your code for a number of common errors • Never forget a semicolon anymore!!! • Customizable configura?on using .jshintrc file • hBp://jshint.com/docs/op?ons/
Good .jshintrc examples: • Airbnb: hBps://github.com/airbnb/javascript/blob/ master/linters/jshintrc • HTML5
Boilerplate: hBps://github.com/h5bp/ html5boilerplate.com/blob/master/.jshintrc • Yeoman Ember.js Generator: hBps://github.com/ yeoman/generator-‐ember/blob/master/.jshintrc • Bootstrap: hBps://github.com/twbs/bootstrap/blob/ master/js/.jshintrc
Let’s code like a boss!