From bb8190524534a0e6146b360e88b7d173cff91e52 Mon Sep 17 00:00:00 2001 From: Itms Date: Mon, 1 May 2017 14:26:50 +0000 Subject: [PATCH] Add text linting to Arcanist. This introduces a .arclint file used by Arcanist to run a handful of checks on patches submitted to Phabricator. To keep it portable and avoid annoying contributors, most of the linting will happen through Jenkins. This commit uses built-in text linting that checks trailing whitespace and end of files. Reviewed By: leper Differential Revision: https://code.wildfiregames.com/D6 This was SVN commit r19502. --- .arclint | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .arclint diff --git a/.arclint b/.arclint new file mode 100644 index 0000000000..449a54e5ba --- /dev/null +++ b/.arclint @@ -0,0 +1,18 @@ +{ + "exclude": [ + "(^binaries/system/)", + "(^source/third_party/)", + "(^libraries/)" + ], + "linters": { + "text": { + "type": "text", + "severity": { + "1": "disabled", + "2": "disabled", + "3": "disabled", + "5": "disabled" + } + } + } +}