{
  "env": {
    "browser": true
  },
  "globals": {
    "angular": true
  },
  "extends":"eslint:recommended",
  "rules": {
    "indent": [
      "error",
      2
    ],
    "linebreak-style": [
      "error",
      "unix"
    ],
    "quotes": [
      "warn",
      "single"
    ],
    "semi": [
      "error",
      "always"
    ],
    "dot-notation": [
      "warn"
    ],
    "eqeqeq": [
      "error"
    ],
    "no-implicit-globals": [
      "error"
    ],
    "comma-dangle": [
      "error",
      "only-multiline"
    ]
  }
}

{
  "env": {
    "browser": true,
    "node": true
  },
  "globals": {
    "angular": true
  },
  "extends":"eslint:recommended",
  "rules": {
    "indent": [
      "error",
      2
    ],
    "linebreak-style": [
      "error",
      "unix"
    ],
    "quotes": [
      "warn",
      "single"
    ],
    "semi": [
      "error",
      "always"
    ],
    "dot-notation": [
      "warn"
    ],
    "eqeqeq": [
      "error"
    ],
    "no-implicit-globals": [
      "error"
    ],
    "comma-dangle": [
      "error",
      "only-multiline"
    ]
  }
}

Add node to environment in eslint
Add node to environment in eslint
