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
Improving your code with Linter tools
Search
Bruno Genaro
March 20, 2015
Technology
90
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Improving your code with Linter tools
Bruno Genaro
March 20, 2015
More Decks by Bruno Genaro
See All by Bruno Genaro
Renderizando Componentes React no Servidor
brunogenaro
1
360
The future of React with Universal web applications
brunogenaro
0
120
The future of React with Universal web applications
brunogenaro
0
150
Understand Front-End Roles
brunogenaro
1
180
Why did I build my website using ReactJS?
brunogenaro
0
74
Essential JavaScript libraries to improve your workflow
brunogenaro
0
96
Consuming Third Party Data With JSONP
brunogenaro
0
130
Improving your Sublime Text 3 workflow
brunogenaro
0
200
Other Decks in Technology
See All in Technology
beyond jj: config & tools ecosystem
indirect
0
5.4k
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
6
3.2k
2026_devsumi_ozono.pdf
o3
3
530
品質と信頼性を地続きにする
grimoh
2
820
「守り」で活用するオンデバイスLLM 〜写ってはいけないを総力戦で防ぐ〜 / iOSDC Japan 2026
nakamuuu
0
180
HHKBエバンジェリストになる方法
941
0
110
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.3k
AI coding 整合正規方法
philipz
0
360
あけおめLINE 傾向とその対策
nasa9084
0
180
時うどん〜Socket.getifaddrsで学ぶネットワーク編 / Tokiudon: The Socket.getifaddrs Edition
coe401_
3
150
事業課題から技術的負債に向き合う
sansantech
PRO
2
2k
Claude Code本って、 読む必要あるの?
oikon48
2
490
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
470
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
530
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
Odyssey Design
rkendrick25
PRO
2
810
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
A Soul's Torment
seathinner
8
3.6k
We Have a Design System, Now What?
morganepeng
55
8.3k
Building AI with AI
inesmontani
PRO
1
1.2k
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!