Copy link to clipboard
Copied
I am trying to suppress flexPMD warnings in my applicaiton. I am using flex1.1 and i already tried
// NO PMD rule name and other suggestions but it doesnt work. Would like some help on this topic. Is it because // no pmd command is not compatible with flexpmd 1.1 or it has been changed to something else.
I dont want to exclude rule as i need them in some serious cases and i would like to supress remaining warnings
Nachiket
@ nachiket_1985: Have you tried "// NO PMD UnusedField"?
If you curious about how the NO PMD comments will be parsed in the next release (1.2) see here:
Copy link to clipboard
Copied
Works for me in 1.1
it must be exactly in the form of... // NO PMD
And it doesn't work in mxml files for mxml there is currently no solution
Copy link to clipboard
Copied
private var HELP:String = MyClass.getInstance().getString("baseImageDialog","Help_String");// NO PMD
this is my code line with // NO PMD as you said exacctly in same form and still gives me the error in form any suggestion on this ?
error is UnusedField
i cant remove this from my app as i have few functions coming up which wil use this as base...
Nachiket
Copy link to clipboard
Copied
@ nachiket_1985: Have you tried "// NO PMD UnusedField"?
If you curious about how the NO PMD comments will be parsed in the next release (1.2) see here:
Copy link to clipboard
Copied
@Clint and @Tom
got it working guys... i was not following the instructions about the exact format.
Thanks