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

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

Configure ESLint with node support.
Configure ESLint with node support.
