This linter plugin for Linter provides an interface to flexpmd for linting/analyzing ActionScript/Flash/Flex/AIR code.
-
Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.
-
language-actionscript3 package must be installed.
$ apm install language-actionscript3
- FlexPMD tool requires Java, so you need install it first.
Now you can proceed to install the linter-flexpmd plugin.
$ apm install linter-flexpmd
You can configure linter-flexpmd by editing ~/.atom/config.cson (choose Open Your Config in Atom menu):
'linter-flexpmd':
'javaExecutablePath': null #java path. run 'which java' to find the path
If you would like to contribute enhancements or fixes, please do the following:
- Fork the plugin repository.
- Hack on a separate topic branch created from the latest
master
. - Commit and push the topic branch.
- Make a pull request.
- welcome to the club
Please note that modifications should follow these coding guidelines:
- Indent is 2 spaces.
- Code should pass coffeelint linter.
- Vertical whitespace helps readability, don’t be afraid to use it.
Thank you for helping out!