Page MenuHomePhabricator

phpcs linter report No such linter standard
Closed, InvalidPublic

Description

.arclint

{
  "linters": {
    "chmod": {
      "type": "chmod"
    },
    "filename": {
      "type": "filename"
    },
    "phpcs": {
      "type": "phpcs",
      "include": "(\\.php$)",
      "standard": "psr2"
    }
  }
}

when run arc lint, it report :

Exception
Error in parsing '.arclint' file, in key 'standard' for linter 'phpcs'.
No such linter standard. Available standards are: .

Event Timeline

arc linters phpcs shows both standard and phpcs.standard configuration options. Have you tried both?