Переглянути джерело

Merge pull request #192 from jitsi/latedef

Delete latedef repetition
dev1
hristoterezov 8 роки тому
джерело
коміт
2095755d90
1 змінених файлів з 10 додано та 11 видалено
  1. 10
    11
      .jshintrc

+ 10
- 11
.jshintrc Переглянути файл

@@ -1,19 +1,18 @@
1 1
 {
2 2
     // Refer to http://jshint.com/docs/options/ for an exhaustive list of options
3 3
     "asi": false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
4
-    "expr": true, // true: Tolerate `ExpressionStatement` as Programs
5
-    "loopfunc": true, // true: Tolerate functions being defined in loops
4
+    "browser": true, // Web Browser (window, document, etc)
6 5
     "curly": false, // true: Require {} for every new block or scope
7 6
     "evil": true, // true: Tolerate use of `eval` and `new Function()`
8
-    "white": true,
9
-    "undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
10
-    "browser": true, // Web Browser (window, document, etc)
11
-    "node": true, // Node.js
12
-    "trailing": true,
7
+    "expr": true, // true: Tolerate `ExpressionStatement` as Programs
13 8
     "indent": 4, // {int} Number of spaces to use for indentation
14
-    "latedef": true, // true: Require variables/functions to be defined before being used
15
-    "newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()`
16
-    "maxlen": 80, // {int} Max number of characters per line
17 9
     "latedef": false, //This option prohibits the use of a variable before it was defined
18
-    "laxbreak": true //Ignore line breaks around "=", "==", "&&", etc.
10
+    "laxbreak": true, //Ignore line breaks around "=", "==", "&&", etc.
11
+    "loopfunc": true, // true: Tolerate functions being defined in loops
12
+    "maxlen": 80, // {int} Max number of characters per line
13
+    "newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()`
14
+    "node": true, // Node.js
15
+    "trailing": true,
16
+    "undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
17
+    "white": true
19 18
 }

Завантаження…
Відмінити
Зберегти