|
2 | 2 | // environments
|
3 | 3 | "browser": true, // Define globals exposed by modern browsers.
|
4 | 4 | "jquery": false, // Define globals exposed by jQuery.
|
5 |
| - "node": true, // Define globals exposed by Node.js. |
| 5 | + "node": true, // Define globals exposed by Node.js. |
| 6 | + "jasmine": true, // Define globals exposed by jasmine |
6 | 7 |
|
7 | 8 | // enforcing (true means bug us about it)
|
8 | 9 | "camelcase": false, // Force all variable names to use either camelCase style or UPPER_CASE with underscores.
|
|
15 | 16 | "indent": 4, // Enforce tab width of 4 spaces.
|
16 | 17 | "latedef": "nofunc", // Prohibit use of a variable before it is defined.
|
17 | 18 | "maxcomplexity": false, // This option lets you control cyclomatic complexity throughout your code.
|
18 |
| - "maxdepth": 5, // This option lets you control how nested do you want your blocks to be |
| 19 | + "maxdepth": 6, // This option lets you control how nested do you want your blocks to be |
19 | 20 | "maxlen": 120, // Enforce line length to 120 characters
|
20 |
| - "maxparams": 5, // This option lets you set the max number of formal parameters allowed per function |
21 |
| - "maxstatements": 60, // This option lets you set the max number of statements allowed per function |
22 | 21 | "newcap": true, // Require capitalized names for constructor functions.
|
23 | 22 | "noarg": true, // This option prohibits the use of arguments.caller and arguments.callee.
|
24 | 23 | "noempty": true, // This option warns when you have an empty block in your code.
|
|
31 | 30 | "undef": true, // Prohibit use of explicitly undeclared variables.
|
32 | 31 | "unused": true, // Warn when variables are defined but never used.
|
33 | 32 |
|
34 |
| - |
35 | 33 | // relaxing (true means DON'T bug us about it)
|
36 | 34 | "asi": false, // This option suppresses warnings about missing semicolons.
|
37 | 35 | "boss": false, // This option suppresses warnings about the use of assignments in cases where comparisons are expected.
|
|
61 | 59 |
|
62 | 60 | // global pre defined variables
|
63 | 61 | "predef": [
|
64 |
| - "angular", |
65 |
| - "afterEach", |
66 |
| - "beforeEach", |
67 |
| - "describe", |
68 |
| - "encodeURIComponent", |
69 |
| - "expect", |
70 |
| - "inject", |
71 |
| - "it", |
72 |
| - "spyOn", |
73 | 62 | "JSON",
|
74 | 63 | "Uint8Array",
|
75 | 64 | "Uint16Array",
|
|
78 | 67 | "Int16Array",
|
79 | 68 | "Int32Array",
|
80 | 69 | "Float32Array",
|
81 |
| - "Float64Array", |
82 |
| - "require", |
83 |
| - "module", |
84 |
| - "document" |
| 70 | + "Float64Array" |
85 | 71 | ]
|
86 | 72 | }
|
0 commit comments