Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Enforcing Coding Standards
Sebastiano Armeli-Battana
January 14, 2015
Programming
1
83
Enforcing Coding Standards
Talk given at MelbJS (Melbourne, Australia) - January 2015
Sebastiano Armeli-Battana
January 14, 2015
Tweet
Share
More Decks by Sebastiano Armeli-Battana
See All by Sebastiano Armeli-Battana
sebarmeli
1
250
sebarmeli
0
370
sebarmeli
2
390
sebarmeli
5
6.5k
sebarmeli
0
320
sebarmeli
1
450
sebarmeli
5
270
sebarmeli
3
230
sebarmeli
0
44
Other Decks in Programming
See All in Programming
yoshinoriiiii
0
110
christianweyer
PRO
0
300
pluu
0
620
keeeeen
0
110
takapdayon
0
150
ryokbt
2
300
lovee
9
2.9k
tooppoo
0
200
ryosukes
0
1.4k
ntaro
0
170
emmaglorypraise
0
140
afilina
PRO
0
150
Featured
See All Featured
philhawksworth
192
8.8k
lynnandtonic
272
16k
jonrohan
1021
380k
paulrobertlloyd
72
1.4k
tanoku
86
8.6k
maltzj
502
36k
ddemaree
273
31k
hannesfritz
28
950
geoffreycrofte
21
930
revolveconf
200
9.7k
swwweet
206
6.9k
matthewcrist
73
7.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 <xxx@yyy.com> Date:
Tue Jan 6 11:48:59 2015 -0500 refactor(BaseAd): Removed addToStreamTime method from BaseAd commit 7bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb Author: Sebastiano Armeli <xxx@yyy.com> 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