moves linter into separate file