https://github.com/mrdoob/three.js
Raw File
Tip revision: edefdc237b2528b9668fb873a1c06cb835840303 authored by Mr.doob on 29 June 2023, 03:02:33 UTC
r154
Tip revision: edefdc2
.eslintrc.json
{
  "root": true,
  "env": {
    "browser": true,
    "node": true,
    "es2018": true
  },
  "parserOptions": {
    "ecmaVersion": 2018,
    "sourceType": "module"
  },
  "extends": [
    "mdcs",
    "plugin:compat/recommended"
  ],
  "plugins": [
    "html",
    "import"
  ],
  "settings": {
    "polyfills": [
      "WebGL2RenderingContext"
    ]
  },
  "globals": {
    "__THREE_DEVTOOLS__": "readonly",
    "potpack": "readonly",
    "fflate": "readonly",
    "Stats": "readonly",
    "XRWebGLBinding": "readonly",
    "XRWebGLLayer": "readonly",
    "GPUShaderStage": "readonly",
    "GPUBufferUsage": "readonly",
    "GPUTextureUsage": "readonly",
    "GPUTexture": "readonly",
    "GPUMapMode": "readonly",
    "QUnit": "readonly",
    "Ammo": "readonly",
    "XRRigidTransform": "readonly",
    "XRMediaBinding": "readonly",
    "CodeMirror": "readonly",
    "esprima": "readonly",
    "jsonlint": "readonly"
  },
  "rules": {
    "no-throw-literal": [
      "error"
    ],
    "quotes": [
      "error",
      "single"
    ],
    "prefer-const": [
      "error",
      {
        "destructuring": "any",
        "ignoreReadBeforeAssign": false
      }
    ]
  }
}
back to top