|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "browser": true |
| 4 | + }, |
| 5 | + "globals": { |
| 6 | + "require": true, |
| 7 | + "define": true, |
| 8 | + "$": true, |
| 9 | + "angular": true, |
| 10 | + "moment": true |
| 11 | + }, |
| 12 | + "rules": { |
| 13 | + "block-scoped-var": 1, |
| 14 | + "brace-style": [2, "1tbs"], |
| 15 | + "camelcase": 2, |
| 16 | + "comma-style": [2, "last"], |
| 17 | + "consistent-this": [0, "self"], |
| 18 | + "curly": 2, |
| 19 | + "default-case": 2, |
| 20 | + "dot-notation": 2, |
| 21 | + "eqeqeq": 1, |
| 22 | + "func-names": 0, |
| 23 | + "func-style": 0, |
| 24 | + "guard-for-in": 1, |
| 25 | + "key-spacing": 1, |
| 26 | + "max-nested-callbacks": [2, 5], |
| 27 | + "new-cap": 2, |
| 28 | + "new-parens": 1, |
| 29 | + "no-alert": 2, |
| 30 | + "no-array-constructor": 2, |
| 31 | + "no-comma-dangle": 2, |
| 32 | + "no-constant-condition": 1, |
| 33 | + "no-control-regex": 2, |
| 34 | + "no-debugger": 2, |
| 35 | + "no-dupe-keys": 1, |
| 36 | + "no-empty": 2, |
| 37 | + "no-eval": 2, |
| 38 | + "no-extra-bind": 1, |
| 39 | + "no-extra-parens": 0, |
| 40 | + "no-fallthrough": 1, |
| 41 | + "no-floating-decimal": 1, |
| 42 | + "no-func-assign": 0, |
| 43 | + "no-implied-eval": 2, |
| 44 | + "no-invalid-regexp": 2, |
| 45 | + "no-labels": 2, |
| 46 | + "no-lone-blocks": 1, |
| 47 | + "no-lonely-if": 1, |
| 48 | + "no-mixed-requires": [1, true], |
| 49 | + "no-multi-spaces": 1, |
| 50 | + "no-multi-str": 1, |
| 51 | + "no-native-reassign": 2, |
| 52 | + "no-nested-ternary": 2, |
| 53 | + "no-new-object": 1, |
| 54 | + "no-octal": 2, |
| 55 | + "no-redeclare": 1, |
| 56 | + "no-script-url": 2, |
| 57 | + "no-sequences": 1, |
| 58 | + "no-shadow-restricted-names": 0, |
| 59 | + "no-space-before-semi": 2, |
| 60 | + "no-spaced-func": 2, |
| 61 | + "no-ternary": 0, |
| 62 | + "no-underscore-dangle": 0, |
| 63 | + "no-unreachable": 1, |
| 64 | + "no-unused-expressions": 1, |
| 65 | + "no-void": 1, |
| 66 | + "no-wrap-func": 1, |
| 67 | + "one-var": 0, |
| 68 | + "quote-props": 0, |
| 69 | + "quotes": [1, "single", "avoid-escape"], |
| 70 | + "radix": 2, |
| 71 | + "semi": 2, |
| 72 | + "sort-vars": 0, |
| 73 | + "space-after-keywords": [2, "always"], |
| 74 | + "space-before-blocks": [1, "always"], |
| 75 | + "space-in-brackets": [2, "never"], |
| 76 | + "space-in-parens": [2, "never"], |
| 77 | + "space-infix-ops": 2, |
| 78 | + "space-return-throw-case": 2, |
| 79 | + "space-unary-ops": [1, { "words": true, "nonwords": false }], |
| 80 | + "spaced-line-comment": ["always", { exceptions: ["-", "#"]}], |
| 81 | + "strict": 2, |
| 82 | + "use-isnan": 2, |
| 83 | + "valid-jsdoc": 0, |
| 84 | + "valid-typeof": 1, |
| 85 | + "vars-on-top": 0, |
| 86 | + "wrap-iife": [2, "inside"], |
| 87 | + "wrap-regex": 2, |
| 88 | + "yoda": [1, "never"] |
| 89 | + } |
| 90 | +} |
0 commit comments