Is there a way to suppress warnings in FlexPMD?
In PMD there is the @SuppressWarnings java annotation that can be used to suppress all or individual warnings in a class. Is there anything similar that can be added in an AS or MXML file with FlexPMD?
In PMD there is the @SuppressWarnings java annotation that can be used to suppress all or individual warnings in a class. Is there anything similar that can be added in an AS or MXML file with FlexPMD?
So there is a way to suppress one or all violations in a given line by appending // NO PMD or // NO PMD ruleName
There is no way at the moment to ignore every violation at a class level, or function level using metadata.
Feel free to add a feature request if you think it is needed.
Xavier
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.