{
  "extends": "eslint:recommended",
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module",
    "ecmaFeatures": {
      "globalReturn": true,
      "impliedStrict": true,
      "experimentalObjectRestSpread": true
    }
  },
  "env": {
    "es6": true,
    "browser": true,
    "node": true,
    "shared-node-browser": true,
    "worker": true
  },
  "rules": {
    "no-mixed-spaces-and-tabs": "error",
    "no-console": "warn",
    "semi": "warn"
  }
}

{
  "extends": "eslint:recommended",
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module",
    "ecmaFeatures": {
      "globalReturn": true,
      "impliedStrict": true,
      "experimentalObjectRestSpread": true
    }
  },
  "env": {
    "es6": true,
    "browser": true,
    "node": true,
    "shared-node-browser": true,
    "worker": true,
    "mocha": true
  },
  "rules": {
    "comma-dangle": "off",
    "key-spacing": [
      "error", {
        "beforeColon": false,
        "afterColon": true
      }
    ],
    "no-empty": "off",
    "no-mixed-spaces-and-tabs": "error",
    "no-unused-vars": [
      "warn", {
        "args": "none"
      }
    ],
    "no-tabs": "error",
    "no-useless-escape": "warn",
    "no-console": "warn",
    "no-undef": "warn",
    "semi": "warn"
  }
}

Add mocha in env Add rules
Add mocha in env
Add rules
