From 9149dc495070fbe45ab69e22b994579372eb9254 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Thu, 6 Aug 2015 09:46:03 +0300 Subject: [PATCH] removing deprecated options in the latest versiosn of jshint which will be replaced by adding JSCS settings --- .jshintrc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.jshintrc b/.jshintrc index b1c735f190..6cca215a40 100644 --- a/.jshintrc +++ b/.jshintrc @@ -5,20 +5,13 @@ "browser": true, // Standard browser globals e.g. `window`, `document`. "esnext": true, // Allow ES.next specific features such as `const` and `let`. "bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.). - "camelcase": false, // Permit only camelcase for `var` and `object indexes`. "curly": false, // Require {} for every new block or scope. "eqeqeq": true, // Require triple equals i.e. `===`. - "immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` "latedef": true, // Prohibit variable use before definition. - "newcap": true, // Require capitalization of all constructor functions e.g. `new F()`. "noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`. - "quotmark": "single", // Define quotes to string values. - "regexp": true, // Prohibit `.` and `[^...]` in regular expressions. "undef": true, // Require all non-global variables be declared before they are used. "unused": false, // Warn unused variables. "strict": true, // Require `use strict` pragma in every file. - "trailing": true, // Prohibit trailing whitespaces. - "smarttabs": false, // Suppresses warnings about mixed tabs and spaces "globals": { // Globals variables. "angular": true, "io": true, @@ -30,7 +23,6 @@ "browser", "element" ], - "indent": 4, // Specify indentation spacing "devel": true, // Allow development statements e.g. `console.log();`. - "noempty": true // Prohibit use of empty blocks. + "esnext": true }