benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
814 stars 126 forks source link

Adding phpmd rules in phpmd_additional_args #153

Closed omargourari closed 8 years ago

omargourari commented 8 years ago

I'd like to know if the following is the correct way to add phpmd rules as additional args cause I'd like to apply the larger rules coverage by adding them all.

"phpmd_additional_args": { "cleancode,codesize,controversial,design,naming,unusedcode": "" },

benmatselby commented 8 years ago

@omargourari Yes, that is also the way I have mine defined:

    "phpmd_additional_args": {
        "codesize,naming,unusedcode": ""
    },