Merge pull request #1638 from ethereum/LianaHus-patch-1

add a link to coding style guide
pull/1/head
yann300 6 years ago committed by GitHub
commit 1fe0ede5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      best-practices.md

@ -1,5 +1,7 @@
# Current "Best Practice" Conventions # Current "Best Practice" Conventions
- Please use [JS Standard Style](https://standardjs.com/) as a coding style guide.
- `ES6 class` rather than ES5 to create class. - `ES6 class` rather than ES5 to create class.
- CSS declaration using `csjs-inject`. - CSS declaration using `csjs-inject`.
- CSS files: - CSS files:
@ -147,4 +149,5 @@ setTimeout(function () {
userCard.setNickname('new name') userCard.setNickname('new name')
usercard.update() usercard.update()
}, 5000) }, 5000)
``` ```

Loading…
Cancel
Save