mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 07:43:18 +00:00
Fixes for type casting
This commit is contained in:
parent
9d95cae612
commit
c1152ee286
18 changed files with 294 additions and 228 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue