2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-15 11:45:31 +00:00

Fixes for type casting

This commit is contained in:
Oliver
2021-09-28 17:53:14 +10:00
parent 9d95cae612
commit c1152ee286
18 changed files with 294 additions and 228 deletions

View File

@ -1,8 +1,23 @@
include: package:lint/analysis_options.yaml
analyzer:
exclude: [build/**]
language:
strict-raw-types: true
strong-mode:
implicit-casts: false
linter:
rules:
# ------ Disable individual rules ----- #
# --- #
# Turn off what you don't like. #
# ------------------------------------- #
# Make constructors the first thing in every class
sort_constructors_first: true
prefer_single_quotes: true
# Blindly follow the Flutter code style, which prefers types everywhere
always_specify_types: true