1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- {
- "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",
- "VideoFrame": "readonly"
- },
- "rules": {
- "no-throw-literal": [
- "error"
- ],
- "quotes": [
- "error",
- "single"
- ],
- "prefer-const": [
- "error",
- {
- "destructuring": "any",
- "ignoreReadBeforeAssign": false
- }
- ]
- }
- }
|