Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modernize `.arclint` file

Summary:
Modernize the `.arclint` file. Specifically:

- Add a (native) JSON linter (see D9628)
- Add `xhpast.php-version` and `xhpast.php-version.windows` configuration (see D9576)
- Sort `.arclint` linters alpahbetically

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9801
commit 5eb40aeca9af798a366e4d9c915a36fab791966f 1 parent afa9d6b
@joshuaspence joshuaspence authored
Showing with 18 additions and 11 deletions.
  1. +18 −11 .arclint
View
29 .arclint
@@ -12,36 +12,43 @@
"generated": {
"type": "generated"
},
+ "json": {
+ "type": "json",
+ "include": [
+ "(^\\.arcconfig$)",
+ "(^\\.arclint$)",
+ "(\\.json$)"
+ ]
+ },
"merge-conflict": {
"type": "merge-conflict"
},
"nolint": {
"type": "nolint"
},
- "phutil-xhpast": {
- "type": "phutil-xhpast",
- "include": "(\\.php$)"
- },
"phutil-library": {
"type": "phutil-library",
"include": "(\\.php$)"
},
- "text": {
- "type": "text"
+ "phutil-xhpast": {
+ "type": "phutil-xhpast",
+ "include": "(\\.php$)"
},
"spelling": {
"type": "spelling"
},
+ "text": {
+ "type": "text"
+ },
"xhpast": {
"type": "xhpast",
"include": "(\\.php$)",
"severity": {
"16": "advice",
- "29": "warning",
- "31": "error",
- "34": "error",
- "35": "error"
- }
+ "34": "error"
+ },
+ "xhpast.php-version": "5.2.3",
+ "xhpast.php-version.windows": "5.3.0"
}
}
}

0 comments on commit 5eb40ae

Please sign in to comment.
Something went wrong with that request. Please try again.