<aside> đź’ˇ Code convention will be referred to Conventional Commit.
</aside>
Commands | Types | Descriptions |
---|---|---|
feat |
Features | A new feature |
fix |
Bug Fixes | A bug fix |
docs |
Documentation | DocumeÂntation only changes |
style |
Styles | Changes that do not affect the meaning of the code (whiteÂ-space, formatÂting, missing semi-cÂolons, etc) |
refactor |
Code Refactoring | A code change that neither fixes a bug nor adds a feature |
perf |
Performance Improvements | A code change that improves perforÂmance |
test |
Tests | Adding missing tests or correcting existing tests |
build |
Builds | Changes that affect the build system or external dependÂencies (example scopes: gulp, broccoli, npm) |
ci |
Continuous Integrations | Changes to our CI configÂuration files and scripts (example scopes: Travis, Circle, BrowseÂrStack, SauceLabs) |
chore |
Chores | Other changes that don't modify src or test files |
revert |
Reverts | Reverts a previous commit |
<aside> đź’ˇ Code Convention will be referred to Dart.
</aside>
https://dart.dev/effective-dart/design
UpperCamelCase: all types of classes.
class SliderMenu { ... }
class HttpRequest { ... }
typedef Predicate<T> = bool Function(T value);
Lowercase_with_underscores
my_package
└─ lib
└─ file_system.dart
└─ slider_menu.dart
import 'dart:math' as math;
import 'package:angular_components/angular_components.dart' as angular_components;
import 'package:js/js.dart' as js;
LowerCamelCase
const pi = 3.14;
const defaultTimeout = 1000;
final urlScheme = RegExp('^([a-z]+):');
class Dice {
static final numberGenerator = Random();
}