|
| 1 | +root: true |
| 2 | + |
| 3 | +env: |
| 4 | + node: true |
| 5 | + browser: true |
| 6 | + jasmine: true |
| 7 | + |
| 8 | +extends: |
| 9 | + "eslint:recommended" |
| 10 | + |
| 11 | +rules: |
| 12 | + indent: [2, 2, {SwitchCase: 1}] |
| 13 | + block-spacing: 2 |
| 14 | + brace-style: [2, "1tbs"] |
| 15 | + camelcase: [2, { properties: "never" }] |
| 16 | + callback-return: [2, ["cb", "callback", "next"]] |
| 17 | + comma-spacing: 2 |
| 18 | + comma-style: [2, "last"] |
| 19 | + consistent-return: 2 |
| 20 | + curly: [2, "all"] |
| 21 | + default-case: 2 |
| 22 | + dot-notation: [2, { allowKeywords: true }] |
| 23 | + eol-last: 2 |
| 24 | + eqeqeq: 2 |
| 25 | + func-style: [2, "declaration"] |
| 26 | + guard-for-in: 2 |
| 27 | + key-spacing: [2, { beforeColon: false, afterColon: true }] |
| 28 | + new-cap: 2 |
| 29 | + new-parens: 2 |
| 30 | + no-alert: 2 |
| 31 | + no-array-constructor: 2 |
| 32 | + no-caller: 2 |
| 33 | + no-console: 0 |
| 34 | + no-delete-var: 2 |
| 35 | + no-empty-label: 2 |
| 36 | + no-eval: 2 |
| 37 | + no-extend-native: 2 |
| 38 | + no-extra-bind: 2 |
| 39 | + no-fallthrough: 2 |
| 40 | + no-floating-decimal: 2 |
| 41 | + no-implied-eval: 2 |
| 42 | + no-invalid-this: 2 |
| 43 | + no-iterator: 2 |
| 44 | + no-label-var: 2 |
| 45 | + no-labels: 2 |
| 46 | + no-lone-blocks: 2 |
| 47 | + no-loop-func: 2 |
| 48 | + no-mixed-spaces-and-tabs: [2, false] |
| 49 | + no-multi-spaces: 2 |
| 50 | + no-multi-str: 2 |
| 51 | + no-native-reassign: 2 |
| 52 | + no-nested-ternary: 2 |
| 53 | + no-new: 2 |
| 54 | + no-new-func: 2 |
| 55 | + no-new-object: 2 |
| 56 | + no-new-wrappers: 2 |
| 57 | + no-octal: 2 |
| 58 | + no-octal-escape: 2 |
| 59 | + no-process-exit: 2 |
| 60 | + no-proto: 2 |
| 61 | + no-redeclare: 2 |
| 62 | + no-return-assign: 2 |
| 63 | + no-script-url: 2 |
| 64 | + no-sequences: 2 |
| 65 | + no-shadow: 2 |
| 66 | + no-shadow-restricted-names: 2 |
| 67 | + no-spaced-func: 2 |
| 68 | + no-trailing-spaces: 2 |
| 69 | + no-undef: 2 |
| 70 | + no-undef-init: 2 |
| 71 | + no-undefined: 2 |
| 72 | + no-underscore-dangle: 2 |
| 73 | + no-unused-expressions: 2 |
| 74 | + no-unused-vars: [2, {vars: "all", args: "after-used"}] |
| 75 | + no-use-before-define: 2 |
| 76 | + no-useless-concat: 2 |
| 77 | + no-with: 2 |
| 78 | + quotes: [2, "single"] |
| 79 | + radix: 2 |
| 80 | + semi: 2 |
| 81 | + semi-spacing: [2, {before: false, after: true}] |
| 82 | + space-after-keywords: [2, "always"] |
| 83 | + space-before-blocks: 2 |
| 84 | + space-before-function-paren: [2, "never"] |
| 85 | + space-infix-ops: 2 |
| 86 | + space-return-throw-case: 2 |
| 87 | + space-unary-ops: [2, {words: true, nonwords: false}] |
| 88 | + spaced-comment: [2, "always", { exceptions: ["-"]}] |
| 89 | + strict: [2, "global"] |
| 90 | + wrap-iife: 2 |
| 91 | + yoda: [2, "never"] |
0 commit comments