Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit c959180

Browse files
committed
Merge pull request #766 from lirantal/feature/jshint-deprecated-options
Updating JSHINT settings
2 parents 21f1f4e + 9149dc4 commit c959180

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.jshintrc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@
55
"browser": true, // Standard browser globals e.g. `window`, `document`.
66
"esnext": true, // Allow ES.next specific features such as `const` and `let`.
77
"bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.).
8-
"camelcase": false, // Permit only camelcase for `var` and `object indexes`.
98
"curly": false, // Require {} for every new block or scope.
109
"eqeqeq": true, // Require triple equals i.e. `===`.
11-
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
1210
"latedef": true, // Prohibit variable use before definition.
13-
"newcap": true, // Require capitalization of all constructor functions e.g. `new F()`.
1411
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
15-
"quotmark": "single", // Define quotes to string values.
16-
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
1712
"undef": true, // Require all non-global variables be declared before they are used.
1813
"unused": false, // Warn unused variables.
1914
"strict": true, // Require `use strict` pragma in every file.
20-
"trailing": true, // Prohibit trailing whitespaces.
21-
"smarttabs": false, // Suppresses warnings about mixed tabs and spaces
2215
"globals": { // Globals variables.
2316
"angular": true,
2417
"io": true,
@@ -30,7 +23,6 @@
3023
"browser",
3124
"element"
3225
],
33-
"indent": 4, // Specify indentation spacing
3426
"devel": true, // Allow development statements e.g. `console.log();`.
35-
"noempty": true // Prohibit use of empty blocks.
27+
"esnext": true
3628
}

0 commit comments

Comments
 (0)