ia-eknorr / ignition-lint

Github action to lint Ignition projects
MIT License
8 stars 2 forks source link

[FEATURE] project name checking #32

Open ia-mbordyukov opened 3 months ago

ia-mbordyukov commented 3 months ago

Is your feature request related to a problem? Please describe. current script does not check if project name is in kebab-case

Describe the solution you'd like check project names

Describe alternatives you've considered manually check

Additional context utilizing this tool for exchange resource review, project name would be a helpful addition

ia-eknorr commented 2 months ago

This is totally possible, but currently only **/view.json files are passed into the linter, which will not include the project name. It's probably worthwhile exploring passing the entire project in, and having each piece of IgnitionLint do its own thing, so the views piece does its own thing, then python scripts will be linted, and project name will be checked, etc.