Edit: Wow, I need to learn how to read. Looks like what I want is "classPropertiesAllowed" set to true. I guess the wording confused me, I thought 'allowed' meant that it would ignore class methods. But it still doesn't work as expected, which is why I submitted #20.
Take this example class:
I'd expect it to report an error, as the correct way would be:
Or have I misunderstood what this plugin does (there aren't examples in the docs)? This is the config I'm using:
Edit: Wow, I need to learn how to read. Looks like what I want is "classPropertiesAllowed" set to
true
. I guess the wording confused me, I thought 'allowed' meant that it would ignore class methods. But it still doesn't work as expected, which is why I submitted #20.