Support for custom .py files. Added on-demand mode and clear lints command. #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added on-demand command for users that doesn't want that linter is automatically executed when opening or saving files.
Added clear lints command for clearing the file squiggles and problems.
Rationale: when working in a project not following the standards, or a project with big files, I had to disable the extension even though I wanted to use it later. With this mode, the user controls when the linter is being executed. Also, allows the user to clear squiggles on demand if needed as it can be a hassle sometimes.
Added support for custom .py files by checking cpplintPath for ends in ".py". This is useful for users that have custom versions of cpplint, even though 100% compatibility with other versions is not guaranteed. Fixes #31.
Fixed missing license warning in package.json.