HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/good-life-be/.eslintrc.json
{
  "env": {
      "browser": true,
      "es2021": true,
      "node": true
  },
  "extends": "airbnb-base",
  "overrides": [],
  "parserOptions": {
      "ecmaVersion": "latest",
      "sourceType": "module"
  },
  "rules": {
      "no-console": "warn",
      "linebreak-style": "off",
      "no-restricted-syntax": "error",
      "no-undef": "error",
      "semi": "error",
      "semi-spacing": "error",
      "eqeqeq": "warn",
      "comma-dangle":"off",
      "no-invalid-this": "error",
      "no-underscore-dangle":"off",
      "no-return-assign": "error",
      "multiline-ternary":"off",
      "no-unused-expressions": [
          "error",
          {
              "allowTernary": true
          }
      ],
      "no-useless-concat": "error",
      "no-useless-return": "error",
      "no-constant-condition": "warn",
      "no-unused-vars": [
          "warn",
          {
              "argsIgnorePattern": "req|res|next|__"
          }
      ],
      "indent": [
          "off",
          2,
          {
              "SwitchCase": 1
          }
      ],
      "no-mixed-spaces-and-tabs": "warn",
      "space-before-blocks": "error",
      "space-in-parens": "error",
      "space-infix-ops": "error",
      "space-unary-ops": "error",
      "quotes": ["error", "single"],
      "max-len": [
          "error",
          {
              "code": 200
          }
      ],
      "max-lines": [
          "error",
          {
              "max": 800
          }
      ],
      "keyword-spacing": "error",
      "no-mixed-operators": "error",
      "no-multiple-empty-lines": [
          "error",
          {
              "max": 2,
              "maxEOF": 1
          }
      ],
      "no-whitespace-before-property": "error",
      "nonblock-statement-body-position": "error",
      "object-property-newline": [
          "error",
          {
              "allowAllPropertiesOnSameLine": true
          }
      ],
      "import/extensions": 0,
      "no-param-reassign": 0
  }
}