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
Enforcing Coding Standards
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sebastiano Armeli
January 14, 2015
Programming
140
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Enforcing Coding Standards
Talk given at MelbJS (Melbourne, Australia) - January 2015
Sebastiano Armeli
January 14, 2015
More Decks by Sebastiano Armeli
See All by Sebastiano Armeli
Cultivate Excellence In Engineering Teams through Continuous Software Engineering
sebarmeli
1
220
From Strategy Definition to Execution with OKRs and Roadmap
sebarmeli
0
240
From Mission to Strategy: going over OKRs and Roadmap
sebarmeli
0
320
Managing a software engineering team
sebarmeli
1
660
Enforcing coding standards in a JS project
sebarmeli
0
620
ES6: The future is now
sebarmeli
2
520
EcmaScript 6 - the future is here
sebarmeli
5
7.6k
Dependency management and Package management in JavaScript
sebarmeli
0
790
Karma - JS Test Runner
sebarmeli
1
880
Other Decks in Programming
See All in Programming
数百円から始めるRuby電子工作
tarosay
0
100
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
610
継続モナドとリアクティブプログラミング
yukikurage
3
640
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
550
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
150
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
140
FDEが実現するAI駆動経営の現在地
gonta
2
220
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
110
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
0
380
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
3
650
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
8
15k
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1.2k
Featured
See All Featured
Everyday Curiosity
cassininazir
0
260
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
190
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
BBQ
matthewcrist
89
10k
WCS-LA-2024
lcolladotor
0
750
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
KATA
mclloyd
PRO
35
15k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Embracing the Ebb and Flow
colly
88
5.1k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
230
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
Transcript
Sebastiano Armeli @sebarmeli Enforcing Coding Standards 14/1/2015 - MelbJS
@sebarmeli Sebastiano Armeli
None
function Dog(name) { if (name != null) { this.name =
name; } } Dog.prototype.bark = function (){ // do something }; exports.Dog=Dog;
commit 111111 Author: Sebastiano Armeli Date: Sun Dec 21 22:08:00
2014 -0500 adding something commit 2222222 Author: Sebastiano Armeli Date: Thu Dec 18 15:35:39 2014 -0500 it will work, trust me
my_project | |— module1.js |— module2.js |— module3.js |— module_4.js
|__ module5.js |— package.son
None
None
EditorConfig
Coding Style / Conventions
Git Commits (feat|fix|docs|style|refactor|test|chore)(<scope>): <description> E.g. doc(readme): update with additional links.
Changelog conventional-changelog Changelog.md commit 7aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Author: Sebastiano Armeli <
[email protected]
> Date:
Tue Jan 6 11:48:59 2015 -0500 refactor(BaseAd): Removed addToStreamTime method from BaseAd commit 7bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb Author: Sebastiano Armeli <
[email protected]
> Date: Tue Jan 6 00:04:49 2015 -0500 style(gpt): rearrange for better readability
./setup.sh npm i && gulp test pre-commit hook
README.md doc
Build tool gulp test / gulp dev
ES6 gulp es6 /src /dist
Plato gulp plato
Testing
CI / CD gulp test:ci gulp bump:path gulp bump:minor gulp
bump:major Changelog.md
@sebarmeli Sebastiano Armeli http://goo.gl/0DfEmk