1 | {
|
2 | "browser": true, // Standard browser globals e.g. `window`, `document`.
|
3 | "bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.).
|
4 | "camelcase": false, // Permit only camelcase for `var` and `object indexes`.
|
5 | "curly": false, // Require {} for every new block or scope.
|
6 | "devel": true, // Allow development statements e.g. `console.log();`.
|
7 | "esnext": true, // Allow ES.next specific features such as `const` and `let`.
|
8 | "eqeqeq": true, // Require triple equals i.e. `===`.
|
9 | "immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
|
10 | "indent": 4, // Specify indentation spacing
|
11 | "latedef": true, // Prohibit variable use before definition.
|
12 | "node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
|
13 | "newcap": true, // Require capitalization of all constructor functions e.g. `new F()`.
|
14 | "noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
|
15 | "noempty": true, // Prohibit use of empty blocks.
|
16 | "quotmark": false, // Define quotes to string values.
|
17 | "regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
|
18 | "strict": true, // Require `use strict` pragma in every file.
|
19 | "smarttabs": false, // Suppresses warnings about mixed tabs and spaces
|
20 | "trailing": true, // Prohibit trailing whitespaces.
|
21 | "undef": true, // Require all non-global variables be declared before they are used.
|
22 | "unused": true, // Warn unused variables.
|
23 | "globals": { // Globals variables.
|
24 | "angular": true
|
25 | },
|
26 | "predef": [ // Extra globals.
|
27 | "define",
|
28 | "exports",
|
29 | "module",
|
30 | "__dirname",
|
31 | "describe",
|
32 | "xdescribe",
|
33 | "before",
|
34 | "beforeEach",
|
35 | "after",
|
36 | "afterEach",
|
37 | "it",
|
38 | "xit"
|
39 | ]
|
40 | } |
\ | No newline at end of file |