{
  "extends": [
    "../../.eslintrc"
  ],

  "globals": {
    "Components": true,
    "dump": true,
    "Iterator": true
  },

  "env": { "browser": true },

  "rules": {
    // Mozilla stuff
    "mozilla/no-aArgs": 1,
    "mozilla/reject-importGlobalProperties": 1,
    "mozilla/var-only-at-top-level": 1,

    "block-scoped-var": 2,
    "brace-style": [1, "1tbs", {"allowSingleLine": false}],
    "camelcase": 1,
    "comma-dangle": 1,
    "comma-spacing": [1, {"before": false, "after": true}],
    "comma-style": [1, "last"],
    "complexity": 1,
    "consistent-return": 2,
    "curly": 2,
    "dot-location": [1, "property"],
    "dot-notation": 2,
    "eol-last": 2,
    "generator-star-spacing": [1, "after"],
    "indent": [1, 2, {"SwitchCase": 1}],
    "key-spacing": [1, {"beforeColon": false, "afterColon": true}],
    "keyword-spacing": 1,
    "max-len": [1, 80, 2, {"ignoreUrls": true}],
    "max-nested-callbacks": [2, 3],
    "new-cap": [2, {"capIsNew": false}],
    "new-parens": 2,
    "no-array-constructor": 2,
    "no-cond-assign": 2,
    "no-control-regex": 2,
    "no-debugger": 2,
    "no-delete-var": 2,
    "no-dupe-args": 2,
    "no-dupe-keys": 2,
    "no-duplicate-case": 2,
    "no-else-return": 2,
    "no-eval": 2,
    "no-extend-native": 2,
    "no-extra-bind": 2,
    "no-extra-boolean-cast": 2,
    "no-extra-semi": 1,
    "no-fallthrough": 2,
    "no-inline-comments": 1,
    "no-lonely-if": 2,
    "no-mixed-spaces-and-tabs": 2,
    "no-multi-spaces": 1,
    "no-multi-str": 1,
    "no-multiple-empty-lines": [1, {"max": 1}],
    "no-native-reassign": 2,
    "no-nested-ternary": 2,
    "no-redeclare": 2,
    "no-return-assign": 2,
    "no-self-compare": 2,
    "no-sequences": 2,
    "no-shadow": 1,
    "no-shadow-restricted-names": 2,
    "no-spaced-func": 1,
    "no-throw-literal": 2,
    "no-trailing-spaces": 2,
    "no-undef": 2,
    "no-unneeded-ternary": 2,
    "no-unreachable": 2,
    "no-unused-vars": 2,
    "no-with": 2,
    "padded-blocks": [1, "never"],
    "quotes": [1, "double", "avoid-escape"],
    "semi": [1, "always"],
    "semi-spacing": [1, {"before": false, "after": true}],
    "space-before-blocks": [1, "always"],
    "space-before-function-paren": [1, "never"],
    "space-in-parens": [1, "never"],
    "space-infix-ops": [1, {"int32Hint": true}],
    "space-unary-ops": [1, { "words": true, "nonwords": false }],
    "spaced-comment": [1, "always"],
    "strict": [2, "global"],
    "use-isnan": 2,
    "valid-typeof": 2,
    "yoda": 2
  }
}
