Page MenuHomec4science

Linters
Updated 2,872 Days AgoPublic

  • You can use various syntax checking tools when submitting patches to phabricator

List available tools

arc linters

Configuration of a specific linter for your project

  • Create a .arclint file in your project with the desired linters
  • In this example it has python, text, spelling and filename linters
.arclint
{
  "linters": {
    "spelling-linter": {
      "type": "spelling"
    },
    "filename-linter": {
      "type": "filename"
    },
    "text-linter": {
      "type": "text"
    },
    "python-checks": {
      "type": "pylint",
      "include": "(\\.py$)"
    }
  }
}

Checks all files with configured linters

arc lint --everything

Official documentation

Last Author
aubort
Last Edited
Jun 7 2016, 12:43

Event Timeline

admin created this document.Mar 11 2016, 12:51
admin edited the content of this document. (Show Details)
aubort edited the content of this document. (Show Details)Jun 2 2016, 15:42
aubort changed the visibility from "Public (No Login Required)" to "All Users".Jun 5 2016, 20:54
aubort edited the content of this document. (Show Details)Jun 7 2016, 12:43
aubort changed the visibility from "All Users" to "Public (No Login Required)".Jun 7 2016, 12:46
aubort changed the edit policy from "c4science (Project)" to "Restricted Project (Project)".Dec 16 2016, 16:50