blob: 79f7b537862e535fd80cdc8499a1fdcaa7838c08 [file] [edit]
include: package:dart_flutter_team_lints/analysis_options.yaml
analyzer:
language:
strict-raw-types: true
exclude:
- third_party/**
- "**/node_modules/**"
- build/**
- android/**
- ios/**
- web/**
- windows/**
- macos/**
- linux/**
formatter:
page_width: 120
trailing_commas: preserve
linter:
rules:
lines_longer_than_80_chars: false
omit_local_variable_types: false
always_put_control_body_on_new_line: true
avoid_equals_and_hash_code_on_mutable_classes: true
avoid_escaping_inner_quotes: true
avoid_multiple_declarations_per_line: true
avoid_positional_boolean_parameters: true
matching_super_parameters: true
no_literal_bool_comparisons: true
unnecessary_breaks: true
unnecessary_ignore: true
unnecessary_null_checks: true
plugins:
jaspr_lints:
version: ^0.7.1
diagnostics:
sort_children_last: true
prefer_html_components: true
styles_ordering: true
# Disabled temporarily as it triggers false positives in the current version.
unsafe_imports: false
# For additional information about configuring this file, see
# https://dart.dev/tools/analysis