Lostmyname/lmn-gtm-analytics

View on GitHub
.eslintrc

Summary

Maintainability
Test Coverage
{
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module"
  },
  "env": {
    "browser": true,
    "node": true,
    "es6": true
  },
  "rules": {
    "semi": [2, "always"],
    "camelcase": 2,
    "comma-style": [2, "last"],
    "curly": [2, "all"],
    "dot-notation": [2, {
      "allowKeywords": true
    }],
    "eqeqeq": [2, "allow-null"],
    "guard-for-in": 2,
    "new-cap": [2, {
      "capIsNewExceptions": ["Deferred"]
    }],
    "no-bitwise": 2,
    "no-caller": 2,
    "no-cond-assign": [2, "except-parens"],
    "no-debugger": 1,
    "no-empty": 2,
    "no-eval": 2,
    "no-extend-native": 2,
    "no-irregular-whitespace": 2,
    "no-iterator": 2,
    "no-loop-func": 2,
    "no-multi-str": 2,
    "no-new": 2,
    "no-proto": 2,
    "no-script-url": 2,
    "no-sequences": 2,
    "no-shadow": 0,
    "no-undef": 2,
    "no-unused-vars": 2,
    "no-with": 2,
    "quotes": [2, "single"],
    "valid-typeof": 2,
    "wrap-iife": [2, "inside"],
    "no-use-before-define": [2, "nofunc"],
    "keyword-spacing": 2,
    "brace-style": [2, "1tbs"],
    "consistent-this": [1, "that"],
    "eol-last": 1,
    "indent": [2, 2],
    "max-nested-callbacks": [1, 4],
    "no-lonely-if": 2,
    "no-nested-ternary": 2,
    "no-underscore-dangle": 0,
    "no-unneeded-ternary": 2,
    "object-curly-spacing": [2, "always"],
    "one-var": [2, {
      "uninitialized": "always",
      "initialized": "never"
    }],
    "quote-props": [2, "as-needed"],
    "space-before-blocks": 2,
    "space-before-function-paren": [2, {
      "anonymous": "always",
      "named": "never"
    }],
    "space-in-parens": [2, "never"],
    "max-len": [2, 120, 2],
    "dot-location": [2, "property"],
    "no-alert": 2,
    "no-else-return": 2,
    "no-self-compare": 2,
    "radix": 2,
    "no-shadow-restricted-names": 2
  }
}