comigor / artemis

Build dart types from GraphQL schemas and queries
MIT License
495 stars 119 forks source link

[Feature Request] Add Lint Ignore for Lower Camel Case #331

Closed chillbrodev closed 3 years ago

chillbrodev commented 3 years ago

Description

When Artemis generates the code the files contain upper cased camel case variables. It would be great to add the lint ignore above them to disable the lint issue of Name non-constant identifiers using lowerCamelCase.dartnon_constant_identifier_names.

Please consider adding // ignore: non_constant_identifier_names.

Thanks in advance.

Specs

Artemis version: 7.0.0-beta.17

vasilich6107 commented 3 years ago

Check read me for beta branch There is ignore_for_file option to add whatever you need

vasilich6107 commented 3 years ago

@chillbrodev any feedback?

chillbrodev commented 3 years ago

@vasilich6107 Heya, I just saw this comment. Been away from my desk. I'll give it a review and let you know. Thanks :D

chillbrodev commented 3 years ago

This will resolve my issue. Thanks. Closing this now.