Drupal Code Linting with Sublime Text, PHPStorm and VSCode

Using ZSH?

Create a .zprofile with this: export PATH=$HOME/.composer/vendor/bin:$PATH

Getting CodeSniffer and Drupal Coder

Sublime Text configuration

    "SublimeLinter": {
        "linters": {
            "phpcs": {
                "standard": "Drupal"
            }
        }
    }

PHP Storm configuration

Official instructions here.

VSCode Configuration

✦✦✦