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
Sebastiano Armeli
January 14, 2015
Programming
1
100
Enforcing Coding Standards
Talk given at MelbJS (Melbourne, Australia) - January 2015
Sebastiano Armeli
January 14, 2015
Tweet
Share
More Decks by Sebastiano Armeli
See All by Sebastiano Armeli
From Strategy Definition to Execution with OKRs and Roadmap
sebarmeli
0
77
From Mission to Strategy: going over OKRs and Roadmap
sebarmeli
0
220
Managing a software engineering team
sebarmeli
1
490
Enforcing coding standards in a JS project
sebarmeli
0
540
ES6: The future is now
sebarmeli
2
460
EcmaScript 6 - the future is here
sebarmeli
5
6.9k
Dependency management and Package management in JavaScript
sebarmeli
0
630
Karma - JS Test Runner
sebarmeli
1
760
RequireJS
sebarmeli
5
420
Other Decks in Programming
See All in Programming
Tailwind CSSを本気でカスタマイズする方法
fsubal
14
5.5k
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
1k
Elm 0.19.0 Changes
bkuhlmann
0
510
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
220
Hanami and htmx
bkuhlmann
0
220
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
9
4.2k
What We Can Learn From OSS
inouehi
0
440
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
470
Domain-Driven Transformation
hschwentner
2
1.5k
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
Elm Form Validation
bkuhlmann
0
510
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
9
1.4k
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
21
6.4k
Optimising Largest Contentful Paint
csswizardry
12
2.4k
Bash Introduction
62gerente
605
210k
The Mythical Team-Month
searls
216
42k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.2k
Web Components: a chance to create the future
zenorocha
306
41k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
A designer walks into a library…
pauljervisheath
201
23k
Automating Front-end Workflow
addyosmani
1357
200k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Making Projects Easy
brettharned
109
5.5k
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