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:
@ -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
|
||||
|
Reference in New Issue
Block a user