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
94
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
130
The future of React with Universal web applications
brunogenaro
0
150
Understand Front-End Roles
brunogenaro
1
190
Why did I build my website using ReactJS?
brunogenaro
0
77
Essential JavaScript libraries to improve your workflow
brunogenaro
0
100
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
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
5
4.3k
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
110
3つのアプローチで目指す チームを強くするAI駆動開発
thkt
0
140
ファミコンでPHPを動かす / PHP on the Famicom side b
tomzoh
0
140
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
1.8k
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
650
並行性の問題を防げ!実践トランザクション入門
occhi
0
280
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
390
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
220
しろおびから始める!ログ活用の第一歩
shumei_ito
0
810
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
240
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
7
2.5k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
A Soul's Torment
seathinner
8
3.7k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
The Cost Of JavaScript in 2023
addyosmani
55
10k
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
HDC tutorial
michielstock
2
950
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
580
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
How to Think Like a Performance Engineer
csswizardry
28
2.9k
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!