From 13590b9e3def0199fb59d92c0c08f78686b09b74 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 16 Jul 2014 22:07:55 +1000 Subject: [PATCH] Rename the `support/jshint` directory. Summary: It is somewhat overkill to use an entire directory for a single file (the configuration file for JSHint). Instead, rename the directory so that it could (theoretically) be used for other linter configuration files. Test Plan: Ran `arc lint -- webroot/rsrc/js/core/phtize.js` just to make sure everything still works. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9944 --- .arclint | 4 ++-- support/{jshint/jshintconfig => lint/jshintrc} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename support/{jshint/jshintconfig => lint/jshintrc} (100%) diff --git a/.arclint b/.arclint index 8d2564e4fa..a36acbdcc9 100644 --- a/.arclint +++ b/.arclint @@ -24,13 +24,13 @@ "jshint": { "type": "jshint", "include": "(\\.js$)", - "jshint.jshintrc": "support/jshint/jshintconfig" + "jshint.jshintrc": "support/lint/jshintrc" }, "json": { "type": "json", "include": [ "(^src/docs/book/.*\\.book$)", - "(^support/jshint/jshintconfig$)", + "(^support/lint/jshintrc$)", "(^\\.arcconfig$)", "(^\\.arclint$)", "(\\.json$)" diff --git a/support/jshint/jshintconfig b/support/lint/jshintrc similarity index 100% rename from support/jshint/jshintconfig rename to support/lint/jshintrc