aslint-config.xml
Configure the Royale linter for a specific project
If the current working directory contains an aslint-config.xml file, the aslint tool included with Apache Royale will conveniently load this file automatically to configure its options.
The root of this file is an <aslint-config>
element. To specify a linter option, add it as a child element.
<aslint-config>
<max-params>5</max-params>
<no-dynamic-class>true</no-dynamic-class>
<line-comment-position>beside</line-comment-position>
</aslint-config>
For boolean option values, set the text inside the opening and closing tags to true
or false
. For numeric option values, use the digits 0-9. For string option values, enter the text as you would on the command line.
Disable aslint-config.xml
To disable loading the aslint-config.xml file, use the -skip-local-config-file
option.
aslint --skip-local-config-file src/com/example/MyClass.as