|
5 | 5 | "browser": true, // Standard browser globals e.g. `window`, `document`.
|
6 | 6 | "esnext": true, // Allow ES.next specific features such as `const` and `let`.
|
7 | 7 | "bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.).
|
8 |
| - "camelcase": false, // Permit only camelcase for `var` and `object indexes`. |
9 | 8 | "curly": false, // Require {} for every new block or scope.
|
10 | 9 | "eqeqeq": true, // Require triple equals i.e. `===`.
|
11 |
| - "immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` |
12 | 10 | "latedef": true, // Prohibit variable use before definition.
|
13 |
| - "newcap": true, // Require capitalization of all constructor functions e.g. `new F()`. |
14 | 11 | "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. |
17 | 12 | "undef": true, // Require all non-global variables be declared before they are used.
|
18 | 13 | "unused": false, // Warn unused variables.
|
19 | 14 | "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 |
22 | 15 | "globals": { // Globals variables.
|
23 | 16 | "angular": true,
|
24 | 17 | "io": true,
|
|
30 | 23 | "browser",
|
31 | 24 | "element"
|
32 | 25 | ],
|
33 |
| - "indent": 4, // Specify indentation spacing |
34 | 26 | "devel": true, // Allow development statements e.g. `console.log();`.
|
35 |
| - "noempty": true // Prohibit use of empty blocks. |
| 27 | + "esnext": true |
36 | 28 | }
|
0 commit comments