introduce invalidExtension helper
refactoring logging
introduce getConfig helper
get rid of unnecessary syntax option
refactoring options
added linting feature