Skip to content

Commit 4390be0

Browse files
authored
release: 1.0.4 (#3)
* Add `non_constant_identifier_names` * release: Bump to 1.0.4 * fix: Update changelog * Update README
1 parent 1486886 commit 4390be0

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

CHANGELOG.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
# Changelog
2+
3+
## 1.0.4
4+
5+
Add new linter rules:
6+
7+
- [non_constant_identifier_names](https://dart.dev/tools/linter-rules/non_constant_identifier_names) — helps to maintain naming conventions.
8+
19
## 1.0.3
210

311
Add new linter rules:
412

513
- [always_put_control_body_on_new_line](https://dart.dev/tools/linter-rules/always_put_control_body_on_new_line) — Along with curly_braces_in_flow_control_structures will help us to create flow breakers more organically (e.g. avoid having `if (..) return;`)
6-
14+
715
- [avoid_slow_async_io](https://dart.dev/tools/linter-rules/avoid_slow_async_io) — Instead of using certain async IO function, dart suggests to use their sync alternatives
816

917
- [directives_ordering](https://dart.dev/tools/linter-rules/directives_ordering) — Sort imports
@@ -34,12 +42,12 @@ Add new linter rules:
3442

3543
## 1.0.2
3644

37-
* Add platforms information to pub.dev
45+
- Add platforms information to pub.dev
3846

3947
## 1.0.1
4048

41-
* Typo fix.
49+
- Typo fix.
4250

4351
## 1.0.0
4452

45-
* Initial release.
53+
- Initial release.

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Or add it to the `pubspec.yaml` yourself:
1919

2020
```yaml
2121
dev_dependencies:
22-
monstarlab_lints: ^1.0.3
22+
monstarlab_lints: ^1.0.4
2323
```
2424
2525
### Configure analysis options
@@ -34,7 +34,6 @@ include: package:monstarlab_lints/analysis_options.yaml
3434

3535
To publish a new version to pub.dev, create a new tag with required version used as a title. For example, creating a tag `1.0.3` will result in pushing the package to pub.dev with version `1.0.3`.
3636

37-
3837
<!-- References -->
39-
[pub-version-img]: https://img.shields.io/badge/pub-v1.0.3-0175c2?logo=flutter
40-
[pub-version-url]: https://pub.dev/packages/monstarlab_lints
38+
[pub-version-img]: https://img.shields.io/badge/pub-v1.0.4-0175c2?logo=flutter
39+
[pub-version-url]: https://pub.dev/packages/monstarlab_lints

lib/analysis_options.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ linter:
66
# https://dart.dev/tools/linter-rules
77
- always_declare_return_types
88
- always_put_control_body_on_new_line
9-
- always_require_non_null_named_parameters
109
- always_use_package_imports
1110
- annotate_overrides
1211
- avoid_init_to_null
@@ -34,6 +33,7 @@ linter:
3433
- library_prefixes
3534
- matching_super_parameters
3635
- no_duplicate_case_values
36+
- non_constant_identifier_names
3737
- no_logic_in_create_state
3838
- no_self_assignments
3939
- null_closures

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: monstarlab_lints
22
description: Flutter lint rules used in Monstarlab EMEA.
3-
version: 1.0.3
3+
version: 1.0.4
44
homepage: https://github.com/monstar-lab-oss/flutter_lints
55
repository: https://github.com/monstar-lab-oss/flutter_lints
66
issue_tracker: https://github.com/monstar-lab-oss/flutter_lints/issues

0 commit comments

Comments
 (0)