Changeset View
Changeset View
Standalone View
Standalone View
.arclint
{ | { | ||||
epriestley: (You're presumably on top of it, but this has test-only changes, so make sure those get… | |||||
"exclude": [ | "exclude": [ | ||||
"(^externals/)", | "(^externals/)" | ||||
"(^src/console/__tests__/wrap/.*\\.txt(\\.expect)?$)", | |||||
"(^src/markup/engine/__tests__/remarkup/.*\\.txt$)", | |||||
"(^src/markup/syntax/highlighter/__tests__/xhpast/.*\\.(expect|source)$)" | |||||
], | ], | ||||
"linters": { | "linters": { | ||||
"chmod": { | "chmod": { | ||||
"type": "chmod" | "type": "chmod" | ||||
}, | }, | ||||
"filename": { | "filename": { | ||||
"type": "filename" | "type": "filename" | ||||
}, | }, | ||||
Show All 21 Lines | "linters": { | ||||
"phutil-xhpast": { | "phutil-xhpast": { | ||||
"type": "phutil-xhpast", | "type": "phutil-xhpast", | ||||
"include": "(\\.php$)" | "include": "(\\.php$)" | ||||
}, | }, | ||||
"spelling": { | "spelling": { | ||||
"type": "spelling" | "type": "spelling" | ||||
}, | }, | ||||
"text": { | "text": { | ||||
"type": "text", | "type": "text" | ||||
"exclude": [ | |||||
"(^support/xhpast/\\w+\\.(hpp|l|y)$)", | |||||
"(^\\.arclint$)" | |||||
] | |||||
}, | |||||
"text-without-length": { | |||||
"type": "text", | |||||
"severity": { | |||||
"3": "disabled" | |||||
}, | |||||
"include": [ | |||||
"(^support/xhpast/\\w+\\.(hpp|l|y)$)", | |||||
"(^\\.arclint$)" | |||||
] | |||||
}, | }, | ||||
"xhpast": { | "xhpast": { | ||||
"type": "xhpast", | "type": "xhpast", | ||||
"include": "(\\.php$)", | "include": "(\\.php$)", | ||||
"severity": { | "severity": { | ||||
"16": "advice", | "16": "advice", | ||||
"34": "error" | "34": "error" | ||||
}, | }, | ||||
"xhpast.blacklisted.function": { | "xhpast.blacklisted.function": { | ||||
"eval": "The eval() function should be avoided. It is potentially unsafe and makes debugging more difficult." | "eval": "The eval() function should be avoided. It is potentially unsafe and makes debugging more difficult." | ||||
}, | }, | ||||
"xhpast.php-version": "5.2.3", | "xhpast.php-version": "5.2.3", | ||||
"xhpast.php-version.windows": "5.3.0" | "xhpast.php-version.windows": "5.3.0" | ||||
} | } | ||||
} | } | ||||
} | } |
(You're presumably on top of it, but this has test-only changes, so make sure those get reverted before committing.)