Skip to content

Commit

Permalink
feat: 린트 추가
Browse files Browse the repository at this point in the history
일단 자주 사용하는 lint 를 추가해보았습니다. 후에 필요하면 또 추가하면 될 것 같습니다

resolve: #2
  • Loading branch information
brownglasses committed Jan 2, 2024
1 parent 6ccac13 commit 5315533
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions front/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,30 @@ linter:
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

- prefer_const_constructors
- always_declare_return_types
- always_require_non_null_named_parameters
- avoid_types_on_closure_parameters
- avoid_annotating_with_dynamic
- avoid_escaping_inner_quotes
- avoid_function_literals_in_foreach_calls
- avoid_private_typedef_functions
- combinators_ordering
- curly_braces_in_flow_control_structures
- omit_local_variable_types
- annotate_overrides
- sort_constructors_first
- unawaited_futures
- directives_ordering
- unnecessary_final
- unnecessary_parenthesis
- conditional_uri_does_not_exist
- prefer_single_quotes
- await_only_futures
- always_use_package_imports
- avoid_empty_else
- comment_references
- prefer_void_to_null
- use_key_in_widget_constructors
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options

0 comments on commit 5315533

Please sign in to comment.