Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch typo in the input files #5

Closed
2 of 3 tasks
Luthaf opened this issue Feb 3, 2016 · 1 comment
Closed
2 of 3 tasks

Catch typo in the input files #5

Luthaf opened this issue Feb 3, 2016 · 1 comment

Comments

@Luthaf
Copy link
Member

Luthaf commented Feb 3, 2016

It would be great to suggest a fix to the user when the input file contains an error.

Some fixes I can think of:

  • Check for \t inside YAML files;
  • Give suggestion with typo: hamronic => harmonic
  • Check types of the data

The first one is easy, the others one require some kind of mechanism to register a keyword and associated data to some kind of linter.

@Luthaf
Copy link
Member Author

Luthaf commented Jul 7, 2016

This is mainly outdated by the TOML input file. Typo suggestion (hamronic => harmonic) would still be a nice improvement, but is hard to implement.

@Luthaf Luthaf closed this as completed Jul 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant