spkersten / dart_functional_data

Simple and non-intrusive code generator for lenses and boilerplate of data types
https://pub.dev/packages/functional_data
MIT License
41 stars 15 forks source link

Fix lint warnings #17

Closed remonh87 closed 4 years ago

remonh87 commented 4 years ago

Fixes #16

spkersten commented 4 years ago

These warning are specific for the lint rules you have chosen and there are other lint rules requiring the opposite (i.e. the current code). So It would be better to add ignore-comments for the warnings.

remonh87 commented 4 years ago

That can make sense. Maybe it is still handy to remove the var from the hashcode generation so I will leave that one in if that is ok.

spkersten commented 4 years ago

It will cause the "omit type on local variable" in our code base. So, also there I would just add an ignore for the warning.