From ffc83a1fa1c64bb3a33f93d51c693ca25435efea Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Mon, 1 Jun 2015 08:41:49 -0400 Subject: [PATCH] chore(jscs): remove .jscs.json.todo, rename config to .jscsrc --- .jscs.json.todo | 15 --------------- .jscs.json => .jscsrc | 0 Gruntfile.js | 2 +- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 .jscs.json.todo rename .jscs.json => .jscsrc (100%) diff --git a/.jscs.json.todo b/.jscs.json.todo deleted file mode 100644 index 5e52d23ed7a6..000000000000 --- a/.jscs.json.todo +++ /dev/null @@ -1,15 +0,0 @@ -// This is an incomplete TODO list of checks we want to start enforcing -// -// The goal is to enable these checks one by one by moving them to .jscs.json along with commits -// that correct the existing code base issues and make the new check pass. - -{ - "validateParameterSeparator": ", ", // Re-assert this rule when JSCS allows multiple spaces - "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"], - "disallowImplicitTypeConversion": ["string"], - "disallowMultipleLineBreaks": true, - "validateJSDoc": { - "checkParamNames": true, - "requireParamTypes": true - } -} diff --git a/.jscs.json b/.jscsrc similarity index 100% rename from .jscs.json rename to .jscsrc diff --git a/Gruntfile.js b/Gruntfile.js index b4c111e22d22..db263ea911bc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -158,7 +158,7 @@ module.exports = function(grunt) { jscs: { src: ['src/**/*.js', 'test/**/*.js'], options: { - config: ".jscs.json" + config: ".jscsrc" } },