Skip to content

Commit

Permalink
chore: update workspace sdk version and lint rules (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykmnkmi authored Aug 12, 2023
1 parent 78af0b3 commit 0f212f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 0 additions & 8 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,8 @@ analyzer:

linter:
rules:
# Permanent inclusions: These are optional lints that are not default true.
- hash_and_equals
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- overridden_fields
- prefer_function_declarations_over_variables
- prefer_initializing_formals
- prefer_void_to_null
- unnecessary_statements
# from pedantic
- always_declare_return_types
- prefer_single_quotes
- sort_child_properties_last
Expand Down
6 changes: 4 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: angular_workspace

environment:
sdk: '>=2.18.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dev_dependencies:
melos: 3.1.0
lints: ^2.1.1
melos: ^3.1.0

0 comments on commit 0f212f7

Please sign in to comment.