-
Notifications
You must be signed in to change notification settings - Fork 2
Conventions
LeroyBuchholz edited this page Jun 7, 2016
·
13 revisions
#Naming
- lower case with dashes
- lower case with underscores
- lower case with underscores
- lower case with dashes
- parent classes have to end on 'View'
- child classes may not end on 'View'
- same conventions for any functions which relate to view classes
- begin with upper case, use CamelCase
- begin with lower case, use camelCase
- first line: 'use babel'
- imports of external node.js libraries as
consts
, mark with leading i, go on with CamelCase, e.g.const iPackage = require('package');
- package internal imports, name of each import should be equal to the corresponding class