Mention typedefs in the sky dart style guide.

TBR=jackson

Review URL: https://codereview.chromium.org/1178523005
This commit is contained in:
Hixie 2015-06-10 12:45:55 -07:00
parent 4806a4cc04
commit 7fce9b4bdb

View File

@ -17,10 +17,11 @@ output of the analyzer unless you've filed a bug with the Dart team.
Use assert()s liberally.
Classes and Enums are named UpperCamelCase. Everything else (methods,
fields, variables, constants, enum values, etc) is lowerCamelCase.
Global double and string constants are prefixed with k. Prefer using a
static const in a relevant class than using a global constant.
Types (i.e. classes, typedefs (function signature definitions) and
enums) are named UpperCamelCase. Everything else (methods, fields,
variables, constants, enum values, etc) is lowerCamelCase. Global
double and string constants are prefixed with k. Prefer using a static
const in a relevant class than using a global constant.
Don't name your libraries (no ```library``` keyword). Name the files
in ```lower_under_score.dart``` format.