Skip to main content

base

Base is the default starting ground for ESLint configurations. All other configurations are layered on top of this. It's ok to use this for vanilla Javascript projects

ESLint Configuration
{  "env": {    "browser": true,    "es6": true,    "node": true  },  "extends": [    "eslint:recommended",    "./rules/lodash",    "./rules/noloops",    "./rules/promise",    "./rules/security",    "./rules/cspell",    "./rules/prettier"  ],  "plugins": [],  "rules": {    "comma-dangle": [      "error",      "only-multiline"    ],    "eqeqeq": "error",    "function-paren-newline": "off",    "no-underscore-dangle": [      "error",      {        "allow": [          "__DEV__",          "__ENV__",          "__typename",          "_cachedRowCount",          "_dataBlob",          "_ensureIndex",          "_id",          "_typename"        ],        "allowAfterThis": true      }    ],    "no-use-before-define": "off",    "prefer-destructuring": [      "off",      {        "array": true,        "object": true      },      {        "enforceForRenamedProperties": true      }    ],    "semi": [      "error",      "always"    ]  }}