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" } },