Compare commits
2 Commits
8a026cf541
...
993c8b60ac
Author | SHA1 | Date | |
---|---|---|---|
993c8b60ac | |||
e94db052b8 |
@ -586,4 +586,4 @@ new_version.sh
|
||||
example/
|
||||
build/
|
||||
*.iml
|
||||
|
||||
tool/
|
||||
|
@ -1,6 +1,5 @@
|
||||
## 2.6.0
|
||||
|
||||
- **ADDED** annotate_redeclares (https://dart.dev/tools/linter-rules/annotate_redeclares)
|
||||
- **ADDED** deprecated_member_use_from_same_package (https://dart.dev/tools/linter-rules/deprecated_member_use_from_same_package)
|
||||
- **ADDED** diagnostic_describe_all_properties (https://dart.dev/tools/linter-rules/diagnostic_describe_all_properties)
|
||||
- **ADDED** implicit_reopen (https://dart.dev/tools/linter-rules/implicit_reopen)
|
||||
|
@ -117,7 +117,7 @@ To indicate your project is using `wyatt_analysis` → [![style: wyatt analysis]
|
||||
When you want to create a new version of the plugin. Before any modification, execute the following command to create new files:
|
||||
|
||||
```sh
|
||||
./tools/new_version.sh <version>
|
||||
./tool/new_version.sh <version>
|
||||
```
|
||||
|
||||
The previous version is automatically retrieved from the `pubspec.yaml` file.
|
||||
@ -136,7 +136,7 @@ And update the following files:
|
||||
Then, you can use the following command to retrieve latest available lints from the official linter.
|
||||
|
||||
```sh
|
||||
./tools/check_rules.sh
|
||||
./tool/check_rules.sh
|
||||
```
|
||||
|
||||
After that, you can modify the files `lib/analysis_options.<version>.yaml` and `lib/analysis_options.flutter.<version>.yaml` to add new lints or remove some.
|
||||
@ -144,17 +144,17 @@ After that, you can modify the files `lib/analysis_options.<version>.yaml` and `
|
||||
Then you can sort the lints with the following command:
|
||||
|
||||
```sh
|
||||
./tools/sort_rules.sh
|
||||
./tool/sort_rules.sh
|
||||
```
|
||||
|
||||
Finally, you can generate the changelog with the following command:
|
||||
|
||||
```sh
|
||||
./tools/generate_changelog.sh <old_version>
|
||||
./tool/generate_changelog.sh <old_version>
|
||||
```
|
||||
|
||||
The new version is automatically retrieved from the `pubspec.yaml` file. But **you have to specify** the previous version.
|
||||
|
||||
## Notes
|
||||
|
||||
You can explore every lint rules [here](https://dart.dev/tools/linter-rules).
|
||||
You can explore every lint rules [here](https://dart.dev/tool/linter-rules).
|
||||
|
@ -42,7 +42,6 @@ linter:
|
||||
- always_put_required_named_parameters_first
|
||||
- always_use_package_imports
|
||||
- annotate_overrides
|
||||
- annotate_redeclares
|
||||
- avoid_bool_literals_in_conditional_expressions
|
||||
- avoid_catching_errors
|
||||
- avoid_double_and_int_checks
|
||||
@ -149,7 +148,6 @@ linter:
|
||||
- prefer_final_fields
|
||||
- prefer_final_in_for_each
|
||||
- prefer_final_locals
|
||||
- prefer_final_parameters
|
||||
- prefer_for_elements_to_map_fromIterable
|
||||
- prefer_foreach
|
||||
- prefer_function_declarations_over_variables
|
||||
@ -230,3 +228,4 @@ linter:
|
||||
# - prefer_double_quotes
|
||||
# - prefer_relative_imports
|
||||
# - unnecessary_final
|
||||
# - prefer_final_parameters
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
# Copyright (C) 2023 WYATT GROUP
|
||||
# Please see the AUTHORS file for details.
|
||||
#
|
||||
@ -16,4 +15,3 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
include: package:wyatt_analysis/analysis_options.flutter.2.6.0.yaml
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
# Copyright (C) 2023 WYATT GROUP
|
||||
# Please see the AUTHORS file for details.
|
||||
#
|
||||
@ -16,4 +15,3 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
include: package:wyatt_analysis/analysis_options.2.6.0.yaml
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user