diff --git a/files/en-us/web/api/webgl2renderingcontext/readbuffer/index.md b/files/en-us/web/api/webgl2renderingcontext/readbuffer/index.md index c37c45ce6b1b237..35f5fdfd9db6182 100644 --- a/files/en-us/web/api/webgl2renderingcontext/readbuffer/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/readbuffer/index.md @@ -22,7 +22,7 @@ source for pixels for subsequent calls to ## Syntax -```js +```js-nolint readBuffer(source) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/renderbufferstoragemultisample/index.md b/files/en-us/web/api/webgl2renderingcontext/renderbufferstoragemultisample/index.md index 0f40a61a5dd8645..b03f1acde467b5d 100644 --- a/files/en-us/web/api/webgl2renderingcontext/renderbufferstoragemultisample/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/renderbufferstoragemultisample/index.md @@ -21,7 +21,7 @@ samples to be used. ## Syntax -```js +```js-nolint renderbufferStorageMultisample(target, samples, internalFormat, width, height) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/resumetransformfeedback/index.md b/files/en-us/web/api/webgl2renderingcontext/resumetransformfeedback/index.md index b7b0baf21c9e4d1..6758d2c063ffb70 100644 --- a/files/en-us/web/api/webgl2renderingcontext/resumetransformfeedback/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/resumetransformfeedback/index.md @@ -19,7 +19,7 @@ transform feedback operation. ## Syntax -```js +```js-nolint resumeTransformFeedback() ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/samplerparameter/index.md b/files/en-us/web/api/webgl2renderingcontext/samplerparameter/index.md index 25fa17a75122c3a..6fbbb335fd2402d 100644 --- a/files/en-us/web/api/webgl2renderingcontext/samplerparameter/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/samplerparameter/index.md @@ -19,7 +19,7 @@ of the [WebGL 2 API](/en-US/docs/Web/API/WebGL_API) set ## Syntax -```js +```js-nolint samplerParameteri(sampler, pname, param) samplerParameterf(sampler, pname, param) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/teximage3d/index.md b/files/en-us/web/api/webgl2renderingcontext/teximage3d/index.md index 6c7fd973c150699..033c2b3409e66e0 100644 --- a/files/en-us/web/api/webgl2renderingcontext/teximage3d/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/teximage3d/index.md @@ -18,7 +18,7 @@ texture image. ## Syntax -```js +```js-nolint texImage3D(target, level, internalformat, width, height, depth, border, format, type, offset) texImage3D(target, level, internalformat, width, height, depth, border, format, type, source) texImage3D(target, level, internalformat, width, height, depth, border, format, type, srcData) diff --git a/files/en-us/web/api/webgl2renderingcontext/texstorage2d/index.md b/files/en-us/web/api/webgl2renderingcontext/texstorage2d/index.md index 03900b5547b099b..0300f8430fa0212 100644 --- a/files/en-us/web/api/webgl2renderingcontext/texstorage2d/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/texstorage2d/index.md @@ -19,7 +19,7 @@ two-dimensional texture storage. ## Syntax -```js +```js-nolint texStorage2D(target, levels, internalformat, width, height) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/texstorage3d/index.md b/files/en-us/web/api/webgl2renderingcontext/texstorage3d/index.md index faee3550e2990d0..d52f28e079fb6c4 100644 --- a/files/en-us/web/api/webgl2renderingcontext/texstorage3d/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/texstorage3d/index.md @@ -19,7 +19,7 @@ three-dimensional texture or two-dimensional array texture. ## Syntax -```js +```js-nolint texStorage3D(target, levels, internalformat, width, height, depth) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/texsubimage3d/index.md b/files/en-us/web/api/webgl2renderingcontext/texsubimage3d/index.md index 90e4c43a0e56411..352ac640a8c28f5 100644 --- a/files/en-us/web/api/webgl2renderingcontext/texsubimage3d/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/texsubimage3d/index.md @@ -19,7 +19,7 @@ current texture. ## Syntax -```js +```js-nolint texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, offset) texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData) diff --git a/files/en-us/web/api/webgl2renderingcontext/transformfeedbackvaryings/index.md b/files/en-us/web/api/webgl2renderingcontext/transformfeedbackvaryings/index.md index 591495d71a123ad..f12971893a0a21f 100644 --- a/files/en-us/web/api/webgl2renderingcontext/transformfeedbackvaryings/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/transformfeedbackvaryings/index.md @@ -19,7 +19,7 @@ to record in {{domxref("WebGLTransformFeedback")}} buffers. ## Syntax -```js +```js-nolint transformFeedbackVaryings(program, varyings, bufferMode) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/uniform/index.md b/files/en-us/web/api/webgl2renderingcontext/uniform/index.md index cb987a41a90856e..781dbaab77befc6 100644 --- a/files/en-us/web/api/webgl2renderingcontext/uniform/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/uniform/index.md @@ -24,7 +24,7 @@ uniform variables. ## Syntax -```js +```js-nolint uniform1ui(location, v0) uniform2ui(location, v0, v1) uniform3ui(location, v0, v1, v2) diff --git a/files/en-us/web/api/webgl2renderingcontext/uniformblockbinding/index.md b/files/en-us/web/api/webgl2renderingcontext/uniformblockbinding/index.md index 90f85927e882c49..0cbcbe53fe2b55f 100644 --- a/files/en-us/web/api/webgl2renderingcontext/uniformblockbinding/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/uniformblockbinding/index.md @@ -19,7 +19,7 @@ for active uniform blocks. ## Syntax -```js +```js-nolint uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/uniformmatrix/index.md b/files/en-us/web/api/webgl2renderingcontext/uniformmatrix/index.md index 305e2ba0e732747..5425a7198cbaf82 100644 --- a/files/en-us/web/api/webgl2renderingcontext/uniformmatrix/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/uniformmatrix/index.md @@ -23,7 +23,7 @@ values for uniform variables. ## Syntax -```js +```js-nolint uniformMatrix2fv(location, transpose, data) uniformMatrix2fv(location, transpose, data, srcOffset) uniformMatrix2fv(location, transpose, data, srcOffset, srcLength) diff --git a/files/en-us/web/api/webgl2renderingcontext/vertexattribdivisor/index.md b/files/en-us/web/api/webgl2renderingcontext/vertexattribdivisor/index.md index a8203f93661d7e4..178157b2b989eba 100644 --- a/files/en-us/web/api/webgl2renderingcontext/vertexattribdivisor/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/vertexattribdivisor/index.md @@ -26,7 +26,7 @@ with {{domxref("WebGL2RenderingContext.drawArraysInstanced()", ## Syntax -```js +```js-nolint vertexAttribDivisor(index, divisor) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/vertexattribi/index.md b/files/en-us/web/api/webgl2renderingcontext/vertexattribi/index.md index 6e936966bba06dc..045df43dc3757d1 100644 --- a/files/en-us/web/api/webgl2renderingcontext/vertexattribi/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/vertexattribi/index.md @@ -19,7 +19,7 @@ values for generic vertex attributes. ## Syntax -```js +```js-nolint vertexAttribI4i(index, v0, v1, v2, v3) vertexAttribI4ui(index, v0, v1, v2, v3) vertexAttribI4iv(index, value) diff --git a/files/en-us/web/api/webgl2renderingcontext/vertexattribipointer/index.md b/files/en-us/web/api/webgl2renderingcontext/vertexattribipointer/index.md index 99791f3ef8c0c64..1b28c505b509ef3 100644 --- a/files/en-us/web/api/webgl2renderingcontext/vertexattribipointer/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/vertexattribipointer/index.md @@ -19,7 +19,7 @@ formats and locations of vertex attributes in a vertex attributes array. ## Syntax -```js +```js-nolint vertexAttribIPointer(index, size, type, stride, offset) ``` diff --git a/files/en-us/web/api/webgl2renderingcontext/waitsync/index.md b/files/en-us/web/api/webgl2renderingcontext/waitsync/index.md index 8522f3a9a083be0..3394b37bdbfc933 100644 --- a/files/en-us/web/api/webgl2renderingcontext/waitsync/index.md +++ b/files/en-us/web/api/webgl2renderingcontext/waitsync/index.md @@ -21,7 +21,7 @@ multiple GL contexts. ## Syntax -```js +```js-nolint waitSync(sync, flags, timeout) ``` diff --git a/files/en-us/web/api/webgl_compressed_texture_astc/getsupportedprofiles/index.md b/files/en-us/web/api/webgl_compressed_texture_astc/getsupportedprofiles/index.md index e06ea8962b4b305..1762d42d27e991d 100644 --- a/files/en-us/web/api/webgl_compressed_texture_astc/getsupportedprofiles/index.md +++ b/files/en-us/web/api/webgl_compressed_texture_astc/getsupportedprofiles/index.md @@ -20,7 +20,7 @@ by the implementation. ## Syntax -```js +```js-nolint getSupportedProfiles() ``` diff --git a/files/en-us/web/api/webgl_debug_shaders/gettranslatedshadersource/index.md b/files/en-us/web/api/webgl_debug_shaders/gettranslatedshadersource/index.md index 1303b4b83f0acc7..73cf31634ad14e7 100644 --- a/files/en-us/web/api/webgl_debug_shaders/gettranslatedshadersource/index.md +++ b/files/en-us/web/api/webgl_debug_shaders/gettranslatedshadersource/index.md @@ -19,7 +19,7 @@ you to debug a translated shader. ## Syntax -```js +```js-nolint getTranslatedShaderSource(shader) ``` diff --git a/files/en-us/web/api/webgl_draw_buffers/drawbufferswebgl/index.md b/files/en-us/web/api/webgl_draw_buffers/drawbufferswebgl/index.md index 9ad33864fd6303d..5918c1fcf1d7168 100644 --- a/files/en-us/web/api/webgl_draw_buffers/drawbufferswebgl/index.md +++ b/files/en-us/web/api/webgl_draw_buffers/drawbufferswebgl/index.md @@ -24,7 +24,7 @@ This method is part of the {{domxref("WEBGL_draw_buffers")}} extension. ## Syntax -```js +```js-nolint drawBuffersWEBGL(buffers) ``` diff --git a/files/en-us/web/api/webgl_lose_context/losecontext/index.md b/files/en-us/web/api/webgl_lose_context/losecontext/index.md index 10c8259005db008..a71b9e8b54bbc43 100644 --- a/files/en-us/web/api/webgl_lose_context/losecontext/index.md +++ b/files/en-us/web/api/webgl_lose_context/losecontext/index.md @@ -22,7 +22,7 @@ called. ## Syntax -```js +```js-nolint loseContext() ``` diff --git a/files/en-us/web/api/webgl_lose_context/restorecontext/index.md b/files/en-us/web/api/webgl_lose_context/restorecontext/index.md index aa8b93ee6644775..a8d2efd86c7eea1 100644 --- a/files/en-us/web/api/webgl_lose_context/restorecontext/index.md +++ b/files/en-us/web/api/webgl_lose_context/restorecontext/index.md @@ -18,7 +18,7 @@ restoring the context of a {{domxref("WebGLRenderingContext")}} object. ## Syntax -```js +```js-nolint restoreContext() ``` diff --git a/files/en-us/web/api/webgl_multi_draw/multidrawarraysinstancedwebgl/index.md b/files/en-us/web/api/webgl_multi_draw/multidrawarraysinstancedwebgl/index.md index b849603360cc7a5..cbb2db092b8b63b 100644 --- a/files/en-us/web/api/webgl_multi_draw/multidrawarraysinstancedwebgl/index.md +++ b/files/en-us/web/api/webgl_multi_draw/multidrawarraysinstancedwebgl/index.md @@ -22,8 +22,8 @@ method. ## Syntax -```js -void ext.multiDrawArraysInstancedWEBGL(mode, +```js-nolint +multiDrawArraysInstancedWEBGL(mode, firstsList, firstsOffset, countsList, countsOffset, instanceCountsList, instanceCountsOffset, diff --git a/files/en-us/web/api/webgl_multi_draw/multidrawarrayswebgl/index.md b/files/en-us/web/api/webgl_multi_draw/multidrawarrayswebgl/index.md index 5842ded682c1a98..bbc95dac42e26eb 100644 --- a/files/en-us/web/api/webgl_multi_draw/multidrawarrayswebgl/index.md +++ b/files/en-us/web/api/webgl_multi_draw/multidrawarrayswebgl/index.md @@ -21,8 +21,8 @@ method. ## Syntax -```js -void ext.multiDrawArraysWEBGL(mode, +```js-nolint +multiDrawArraysWEBGL(mode, firstsList, firstsOffset, countsList, countsOffset, drawCount); diff --git a/files/en-us/web/api/webgl_multi_draw/multidrawelementsinstancedwebgl/index.md b/files/en-us/web/api/webgl_multi_draw/multidrawelementsinstancedwebgl/index.md index 9af5807e15c1b52..0603d3c57fe7a8a 100644 --- a/files/en-us/web/api/webgl_multi_draw/multidrawelementsinstancedwebgl/index.md +++ b/files/en-us/web/api/webgl_multi_draw/multidrawelementsinstancedwebgl/index.md @@ -22,8 +22,8 @@ method. ## Syntax -```js -void ext.multiDrawElementsInstancedWEBGL(mode, +```js-nolint +multiDrawElementsInstancedWEBGL(mode, countsList, countsOffset, type, firstsList, firstsOffset, diff --git a/files/en-us/web/api/webgl_multi_draw/multidrawelementswebgl/index.md b/files/en-us/web/api/webgl_multi_draw/multidrawelementswebgl/index.md index c924bc3f0210848..23d6062a1087e1e 100644 --- a/files/en-us/web/api/webgl_multi_draw/multidrawelementswebgl/index.md +++ b/files/en-us/web/api/webgl_multi_draw/multidrawelementswebgl/index.md @@ -22,8 +22,8 @@ method. ## Syntax -```js -void ext.multiDrawElementsWEBGL(mode, +```js-nolint +multiDrawElementsWEBGL(mode, countsList, countsOffset, type, firstsList, firstsOffset, diff --git a/files/en-us/web/api/webglrenderingcontext/activetexture/index.md b/files/en-us/web/api/webglrenderingcontext/activetexture/index.md index 9dc1fc73dd09c86..3b1997304839c64 100644 --- a/files/en-us/web/api/webglrenderingcontext/activetexture/index.md +++ b/files/en-us/web/api/webglrenderingcontext/activetexture/index.md @@ -19,7 +19,7 @@ make active. ## Syntax -```js +```js-nolint activeTexture(texture) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/attachshader/index.md b/files/en-us/web/api/webglrenderingcontext/attachshader/index.md index 6c56b7843b9e6e6..c87124285d35bed 100644 --- a/files/en-us/web/api/webglrenderingcontext/attachshader/index.md +++ b/files/en-us/web/api/webglrenderingcontext/attachshader/index.md @@ -15,8 +15,8 @@ vertex {{domxref("WebGLShader")}} to a {{domxref("WebGLProgram")}}. ## Syntax -```js -void gl.attachShader(program, shader); +```js-nolint +attachShader(program, shader) ``` ### Parameters diff --git a/files/en-us/web/api/webglrenderingcontext/bindattriblocation/index.md b/files/en-us/web/api/webglrenderingcontext/bindattriblocation/index.md index 94ed1e17fa0e6ca..e1143ccab759dba 100644 --- a/files/en-us/web/api/webglrenderingcontext/bindattriblocation/index.md +++ b/files/en-us/web/api/webglrenderingcontext/bindattriblocation/index.md @@ -19,7 +19,7 @@ to an attribute variable. ## Syntax -```js +```js-nolint bindAttribLocation(program, index, name) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/bindbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/bindbuffer/index.md index ac8051e6c652ed2..b5ecaeed51bbd64 100644 --- a/files/en-us/web/api/webglrenderingcontext/bindbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/bindbuffer/index.md @@ -18,7 +18,7 @@ The **`WebGLRenderingContext.bindBuffer()`** method of the [WebGL API](/en-US/do ## Syntax -```js +```js-nolint bindBuffer(target, buffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/bindframebuffer/index.md b/files/en-us/web/api/webglrenderingcontext/bindframebuffer/index.md index 9f3ca0c2d6c4158..2666a0d62c64c9d 100644 --- a/files/en-us/web/api/webglrenderingcontext/bindframebuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/bindframebuffer/index.md @@ -18,7 +18,7 @@ The **`WebGLRenderingContext.bindFramebuffer()`** method of the ## Syntax -```js +```js-nolint bindFramebuffer(target, framebuffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/bindrenderbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/bindrenderbuffer/index.md index 84ce33e7f0b169b..3734b07f04f7a47 100644 --- a/files/en-us/web/api/webglrenderingcontext/bindrenderbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/bindrenderbuffer/index.md @@ -20,7 +20,7 @@ the [WebGL API](/en-US/docs/Web/API/WebGL_API) binds a given ## Syntax -```js +```js-nolint bindRenderbuffer(target, renderbuffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/bindtexture/index.md b/files/en-us/web/api/webglrenderingcontext/bindtexture/index.md index 62a84c130a8a24a..8d143e49a2d90c9 100644 --- a/files/en-us/web/api/webglrenderingcontext/bindtexture/index.md +++ b/files/en-us/web/api/webglrenderingcontext/bindtexture/index.md @@ -19,7 +19,7 @@ The **`WebGLRenderingContext.bindTexture()`** method of the [WebGL API](/en-US/d ## Syntax -```js +```js-nolint bindTexture(target, texture) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/blendcolor/index.md b/files/en-us/web/api/webglrenderingcontext/blendcolor/index.md index ae8386ba832f91f..6a4a95b17ddc118 100644 --- a/files/en-us/web/api/webglrenderingcontext/blendcolor/index.md +++ b/files/en-us/web/api/webglrenderingcontext/blendcolor/index.md @@ -18,7 +18,7 @@ destination blending factors. ## Syntax -```js +```js-nolint blendColor(red, green, blue, alpha) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/blendequation/index.md b/files/en-us/web/api/webglrenderingcontext/blendequation/index.md index 2f9574277ead944..0fd3ff28428e088 100644 --- a/files/en-us/web/api/webglrenderingcontext/blendequation/index.md +++ b/files/en-us/web/api/webglrenderingcontext/blendequation/index.md @@ -22,7 +22,7 @@ The blend equation determines how a new pixel is combined with a pixel already i ## Syntax -```js +```js-nolint blendEquation(mode) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/blendequationseparate/index.md b/files/en-us/web/api/webglrenderingcontext/blendequationseparate/index.md index 1fd52b498fb622b..7b18ae28a72ca92 100644 --- a/files/en-us/web/api/webglrenderingcontext/blendequationseparate/index.md +++ b/files/en-us/web/api/webglrenderingcontext/blendequationseparate/index.md @@ -22,7 +22,7 @@ The blend equation determines how a new pixel is combined with a pixel already i ## Syntax -```js +```js-nolint blendEquationSeparate(modeRGB, modeAlpha) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/blendfunc/index.md b/files/en-us/web/api/webglrenderingcontext/blendfunc/index.md index 3fff678dc40d9d8..c4b203435008fcd 100644 --- a/files/en-us/web/api/webglrenderingcontext/blendfunc/index.md +++ b/files/en-us/web/api/webglrenderingcontext/blendfunc/index.md @@ -18,7 +18,7 @@ blending pixel arithmetic. ## Syntax -```js +```js-nolint blendFunc(sfactor, dfactor) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.md b/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.md index e29c92c144de706..2ac1ff4409d1a36 100644 --- a/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.md +++ b/files/en-us/web/api/webglrenderingcontext/blendfuncseparate/index.md @@ -19,7 +19,7 @@ for blending pixel arithmetic for RGB and alpha components separately. ## Syntax -```js +```js-nolint blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/bufferdata/index.md b/files/en-us/web/api/webglrenderingcontext/bufferdata/index.md index dde5cc5d74f46d3..40a1c75e95f1d2b 100644 --- a/files/en-us/web/api/webglrenderingcontext/bufferdata/index.md +++ b/files/en-us/web/api/webglrenderingcontext/bufferdata/index.md @@ -20,7 +20,7 @@ buffer object's data store. ## Syntax -```js +```js-nolint // WebGL1 bufferData(target, usage) bufferData(target, size, usage) diff --git a/files/en-us/web/api/webglrenderingcontext/buffersubdata/index.md b/files/en-us/web/api/webglrenderingcontext/buffersubdata/index.md index b6fb68a3c91129d..da4d2e29308b1a3 100644 --- a/files/en-us/web/api/webglrenderingcontext/buffersubdata/index.md +++ b/files/en-us/web/api/webglrenderingcontext/buffersubdata/index.md @@ -20,7 +20,7 @@ object's data store. ## Syntax -```js +```js-nolint // WebGL1 bufferSubData(target, offset) bufferSubData(target, offset, srcData) diff --git a/files/en-us/web/api/webglrenderingcontext/canvas/index.md b/files/en-us/web/api/webglrenderingcontext/canvas/index.md index 1ac16c1e5f285f8..dcebbf83f3e1057 100644 --- a/files/en-us/web/api/webglrenderingcontext/canvas/index.md +++ b/files/en-us/web/api/webglrenderingcontext/canvas/index.md @@ -20,8 +20,8 @@ object. ## Syntax -```js -gl.canvas; +```js-nolint +gl.canvas ``` ### Return value diff --git a/files/en-us/web/api/webglrenderingcontext/checkframebufferstatus/index.md b/files/en-us/web/api/webglrenderingcontext/checkframebufferstatus/index.md index 673de66c456136e..68553111bdf04b7 100644 --- a/files/en-us/web/api/webglrenderingcontext/checkframebufferstatus/index.md +++ b/files/en-us/web/api/webglrenderingcontext/checkframebufferstatus/index.md @@ -19,7 +19,7 @@ status of the {{domxref("WebGLFramebuffer")}} object. ## Syntax -```js +```js-nolint checkFramebufferStatus(target) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/clear/index.md b/files/en-us/web/api/webglrenderingcontext/clear/index.md index 30b15f234f52bd2..a528c08dcb99ffe 100644 --- a/files/en-us/web/api/webglrenderingcontext/clear/index.md +++ b/files/en-us/web/api/webglrenderingcontext/clear/index.md @@ -24,7 +24,7 @@ method. ## Syntax -```js +```js-nolint clear(mask) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/clearcolor/index.md b/files/en-us/web/api/webglrenderingcontext/clearcolor/index.md index d8ac401543f2be4..a0048a3e58d6aae 100644 --- a/files/en-us/web/api/webglrenderingcontext/clearcolor/index.md +++ b/files/en-us/web/api/webglrenderingcontext/clearcolor/index.md @@ -22,7 +22,7 @@ between 0 and 1. ## Syntax -```js +```js-nolint clearColor(red, green, blue, alpha) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/cleardepth/index.md b/files/en-us/web/api/webglrenderingcontext/cleardepth/index.md index 3c3376a9507239d..af58af8184d02bd 100644 --- a/files/en-us/web/api/webglrenderingcontext/cleardepth/index.md +++ b/files/en-us/web/api/webglrenderingcontext/cleardepth/index.md @@ -22,7 +22,7 @@ between 0 and 1. ## Syntax -```js +```js-nolint clearDepth(depth) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/clearstencil/index.md b/files/en-us/web/api/webglrenderingcontext/clearstencil/index.md index 6f02d48412df98f..1ea8eb0f5b27696 100644 --- a/files/en-us/web/api/webglrenderingcontext/clearstencil/index.md +++ b/files/en-us/web/api/webglrenderingcontext/clearstencil/index.md @@ -21,7 +21,7 @@ This specifies what stencil value to use when calling the ## Syntax -```js +```js-nolint clearStencil(s) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/colormask/index.md b/files/en-us/web/api/webglrenderingcontext/colormask/index.md index af477ab97ec0e80..51e72a396ff9afe 100644 --- a/files/en-us/web/api/webglrenderingcontext/colormask/index.md +++ b/files/en-us/web/api/webglrenderingcontext/colormask/index.md @@ -18,7 +18,7 @@ enable or to disable when drawing or rendering to a {{domxref("WebGLFramebuffer" ## Syntax -```js +```js-nolint colorMask(red, green, blue, alpha) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/commit/index.md b/files/en-us/web/api/webglrenderingcontext/commit/index.md index 5f8708543c2fe66..1ba0c4848d359bf 100644 --- a/files/en-us/web/api/webglrenderingcontext/commit/index.md +++ b/files/en-us/web/api/webglrenderingcontext/commit/index.md @@ -21,7 +21,7 @@ context is not directly fixed to a specific canvas. ## Syntax -```js +```js-nolint commit() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/compileshader/index.md b/files/en-us/web/api/webglrenderingcontext/compileshader/index.md index c7aa31f131188f3..af5cda9c8767631 100644 --- a/files/en-us/web/api/webglrenderingcontext/compileshader/index.md +++ b/files/en-us/web/api/webglrenderingcontext/compileshader/index.md @@ -18,7 +18,7 @@ data so that it can be used by a {{domxref("WebGLProgram")}}. ## Syntax -```js +```js-nolint compileShader(shader) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/compressedteximage2d/index.md b/files/en-us/web/api/webglrenderingcontext/compressedteximage2d/index.md index 3e47e17f7bdb425..2813ff90acd0d22 100644 --- a/files/en-us/web/api/webglrenderingcontext/compressedteximage2d/index.md +++ b/files/en-us/web/api/webglrenderingcontext/compressedteximage2d/index.md @@ -27,7 +27,7 @@ using these methods. ## Syntax -```js +```js-nolint // WebGL 1: compressedTexImage2D(target, level, internalformat, width, height, border) compressedTexImage2D(target, level, internalformat, width, height, border, pixels) diff --git a/files/en-us/web/api/webglrenderingcontext/compressedtexsubimage2d/index.md b/files/en-us/web/api/webglrenderingcontext/compressedtexsubimage2d/index.md index dccab3ac7f5274e..53621e53dffed99 100644 --- a/files/en-us/web/api/webglrenderingcontext/compressedtexsubimage2d/index.md +++ b/files/en-us/web/api/webglrenderingcontext/compressedtexsubimage2d/index.md @@ -24,7 +24,7 @@ using this method or a {{domxref("WebGL2RenderingContext")}} must be used. ## Syntax -```js +```js-nolint // WebGL 1: compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, srcData) diff --git a/files/en-us/web/api/webglrenderingcontext/copyteximage2d/index.md b/files/en-us/web/api/webglrenderingcontext/copyteximage2d/index.md index 8cc8d77312624bd..ed1edeee20b47e1 100644 --- a/files/en-us/web/api/webglrenderingcontext/copyteximage2d/index.md +++ b/files/en-us/web/api/webglrenderingcontext/copyteximage2d/index.md @@ -20,7 +20,7 @@ The **`WebGLRenderingContext.copyTexImage2D()`** method of the ## Syntax -```js +```js-nolint copyTexImage2D(target, level, internalformat, x, y, width, height, border) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/copytexsubimage2d/index.md b/files/en-us/web/api/webglrenderingcontext/copytexsubimage2d/index.md index e34f5b120fcb685..3a5b21b1dda547f 100644 --- a/files/en-us/web/api/webglrenderingcontext/copytexsubimage2d/index.md +++ b/files/en-us/web/api/webglrenderingcontext/copytexsubimage2d/index.md @@ -20,7 +20,7 @@ the [WebGL API](/en-US/docs/Web/API/WebGL_API) copies pixels from the current ## Syntax -```js +```js-nolint copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/createbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/createbuffer/index.md index 1340d404ccc8edb..6f13deab4a51b32 100644 --- a/files/en-us/web/api/webglrenderingcontext/createbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/createbuffer/index.md @@ -18,7 +18,7 @@ The **`WebGLRenderingContext.createBuffer()`** method of the [WebGL API](/en-US/ ## Syntax -```js +```js-nolint createBuffer() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/createframebuffer/index.md b/files/en-us/web/api/webglrenderingcontext/createframebuffer/index.md index 69c9247e020011c..d561530fc6d8009 100644 --- a/files/en-us/web/api/webglrenderingcontext/createframebuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/createframebuffer/index.md @@ -19,7 +19,7 @@ the [WebGL API](/en-US/docs/Web/API/WebGL_API) creates and initializes a ## Syntax -```js +```js-nolint createFramebuffer() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/createprogram/index.md b/files/en-us/web/api/webglrenderingcontext/createprogram/index.md index 637a10e8f3baa6d..cf4b152dfe53396 100644 --- a/files/en-us/web/api/webglrenderingcontext/createprogram/index.md +++ b/files/en-us/web/api/webglrenderingcontext/createprogram/index.md @@ -19,7 +19,7 @@ The **`WebGLRenderingContext.createProgram()`** method of the ## Syntax -```js +```js-nolint createProgram() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/createrenderbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/createrenderbuffer/index.md index 108958848eb9834..3eacdc74300722d 100644 --- a/files/en-us/web/api/webglrenderingcontext/createrenderbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/createrenderbuffer/index.md @@ -19,7 +19,7 @@ the [WebGL API](/en-US/docs/Web/API/WebGL_API) creates and initializes a ## Syntax -```js +```js-nolint createRenderbuffer() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/createshader/index.md b/files/en-us/web/api/webglrenderingcontext/createshader/index.md index b91d6968c5512c4..8b836d8f177a400 100644 --- a/files/en-us/web/api/webglrenderingcontext/createshader/index.md +++ b/files/en-us/web/api/webglrenderingcontext/createshader/index.md @@ -22,7 +22,7 @@ method **`createShader()`** of the [WebGL API](/en-US/docs/Web/API/WebGL_API) cr ## Syntax -```js +```js-nolint createShader(type) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/createtexture/index.md b/files/en-us/web/api/webglrenderingcontext/createtexture/index.md index 56a05c649d923ca..77e2ea1910230c8 100644 --- a/files/en-us/web/api/webglrenderingcontext/createtexture/index.md +++ b/files/en-us/web/api/webglrenderingcontext/createtexture/index.md @@ -20,7 +20,7 @@ The **`WebGLRenderingContext.createTexture()`** method of the ## Syntax -```js +```js-nolint createTexture() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/cullface/index.md b/files/en-us/web/api/webglrenderingcontext/cullface/index.md index f8d60760bd41889..1b1a12683bca7fc 100644 --- a/files/en-us/web/api/webglrenderingcontext/cullface/index.md +++ b/files/en-us/web/api/webglrenderingcontext/cullface/index.md @@ -18,7 +18,7 @@ and/or back-facing polygons can be culled. ## Syntax -```js +```js-nolint cullFace(mode) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/deletebuffer/index.md b/files/en-us/web/api/webglrenderingcontext/deletebuffer/index.md index 7a5448e445f84d5..e05e4df4365fd1a 100644 --- a/files/en-us/web/api/webglrenderingcontext/deletebuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/deletebuffer/index.md @@ -19,7 +19,7 @@ deleted. Normally you don't need to call this method yourself, when the buffer o ## Syntax -```js +```js-nolint deleteBuffer(buffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/deleteframebuffer/index.md b/files/en-us/web/api/webglrenderingcontext/deleteframebuffer/index.md index 70468b66ff0aef9..493d4bd78f7f55e 100644 --- a/files/en-us/web/api/webglrenderingcontext/deleteframebuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/deleteframebuffer/index.md @@ -20,7 +20,7 @@ has already been deleted. ## Syntax -```js +```js-nolint deleteFramebuffer(framebuffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/deleteprogram/index.md b/files/en-us/web/api/webglrenderingcontext/deleteprogram/index.md index 05b004edb003995..0b4d53ba43398b5 100644 --- a/files/en-us/web/api/webglrenderingcontext/deleteprogram/index.md +++ b/files/en-us/web/api/webglrenderingcontext/deleteprogram/index.md @@ -20,7 +20,7 @@ been deleted. ## Syntax -```js +```js-nolint deleteProgram(program) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/deleterenderbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/deleterenderbuffer/index.md index 08252edb87d0149..8b97b1e216cff07 100644 --- a/files/en-us/web/api/webglrenderingcontext/deleterenderbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/deleterenderbuffer/index.md @@ -20,7 +20,7 @@ has already been deleted. ## Syntax -```js +```js-nolint deleteRenderbuffer(renderbuffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/deleteshader/index.md b/files/en-us/web/api/webglrenderingcontext/deleteshader/index.md index eb8a60bd8e5a622..fdb3dbd5a6be6b0 100644 --- a/files/en-us/web/api/webglrenderingcontext/deleteshader/index.md +++ b/files/en-us/web/api/webglrenderingcontext/deleteshader/index.md @@ -21,7 +21,7 @@ is destroyed by the garbage collector. ## Syntax -```js +```js-nolint deleteShader(shader) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/deletetexture/index.md b/files/en-us/web/api/webglrenderingcontext/deletetexture/index.md index 174e1070d55f8ee..7d96c52e4670bcd 100644 --- a/files/en-us/web/api/webglrenderingcontext/deletetexture/index.md +++ b/files/en-us/web/api/webglrenderingcontext/deletetexture/index.md @@ -21,7 +21,7 @@ been deleted. ## Syntax -```js +```js-nolint deleteTexture(texture) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/depthfunc/index.md b/files/en-us/web/api/webglrenderingcontext/depthfunc/index.md index 82bf9308470055a..1c0b8095077c03e 100644 --- a/files/en-us/web/api/webglrenderingcontext/depthfunc/index.md +++ b/files/en-us/web/api/webglrenderingcontext/depthfunc/index.md @@ -18,7 +18,7 @@ incoming pixel depth to the current depth buffer value. ## Syntax -```js +```js-nolint depthFunc(func) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/depthmask/index.md b/files/en-us/web/api/webglrenderingcontext/depthmask/index.md index b4b289e41c5f2c4..b4d21ac9f070d32 100644 --- a/files/en-us/web/api/webglrenderingcontext/depthmask/index.md +++ b/files/en-us/web/api/webglrenderingcontext/depthmask/index.md @@ -18,7 +18,7 @@ buffer is enabled or disabled. ## Syntax -```js +```js-nolint depthMask(flag) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/depthrange/index.md b/files/en-us/web/api/webglrenderingcontext/depthrange/index.md index 29fdc82391b8538..ac8b076b5a77059 100644 --- a/files/en-us/web/api/webglrenderingcontext/depthrange/index.md +++ b/files/en-us/web/api/webglrenderingcontext/depthrange/index.md @@ -18,7 +18,7 @@ from normalized device coordinates to window or viewport coordinates. ## Syntax -```js +```js-nolint depthRange(zNear, zFar) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/detachshader/index.md b/files/en-us/web/api/webglrenderingcontext/detachshader/index.md index 7811c3bb667842f..ebb8718b3823718 100644 --- a/files/en-us/web/api/webglrenderingcontext/detachshader/index.md +++ b/files/en-us/web/api/webglrenderingcontext/detachshader/index.md @@ -15,8 +15,8 @@ attached {{domxref("WebGLShader")}} from a {{domxref("WebGLProgram")}}. ## Syntax -```js -void gl.detachShader(program, shader); +```js-nolint +detachShader(program, shader) ``` ### Parameters diff --git a/files/en-us/web/api/webglrenderingcontext/disable/index.md b/files/en-us/web/api/webglrenderingcontext/disable/index.md index 5066acf0ccca5db..d68ecdca4696cc5 100644 --- a/files/en-us/web/api/webglrenderingcontext/disable/index.md +++ b/files/en-us/web/api/webglrenderingcontext/disable/index.md @@ -18,7 +18,7 @@ capabilities for this context. ## Syntax -```js +```js-nolint disable(capability) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/disablevertexattribarray/index.md b/files/en-us/web/api/webglrenderingcontext/disablevertexattribarray/index.md index f8f886e9ac87e1a..f2f9d4b29d4d823 100644 --- a/files/en-us/web/api/webglrenderingcontext/disablevertexattribarray/index.md +++ b/files/en-us/web/api/webglrenderingcontext/disablevertexattribarray/index.md @@ -19,7 +19,7 @@ vertex attribute array off at a given index position. ## Syntax -```js +```js-nolint disableVertexAttribArray(index) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/drawarrays/index.md b/files/en-us/web/api/webglrenderingcontext/drawarrays/index.md index 8eeca3ac7b087c8..452a889afac336b 100644 --- a/files/en-us/web/api/webglrenderingcontext/drawarrays/index.md +++ b/files/en-us/web/api/webglrenderingcontext/drawarrays/index.md @@ -17,7 +17,7 @@ The **`WebGLRenderingContext.drawArrays()`** method of the [WebGL API](/en-US/do ## Syntax -```js +```js-nolint drawArrays(mode, first, count) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/drawelements/index.md b/files/en-us/web/api/webglrenderingcontext/drawelements/index.md index c6e455f48feafcf..c416bf18ef7ec01 100644 --- a/files/en-us/web/api/webglrenderingcontext/drawelements/index.md +++ b/files/en-us/web/api/webglrenderingcontext/drawelements/index.md @@ -17,7 +17,7 @@ The **`WebGLRenderingContext.drawElements()`** method of the [WebGL API](/en-US/ ## Syntax -```js +```js-nolint drawElements(mode, count, type, offset) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/enable/index.md b/files/en-us/web/api/webglrenderingcontext/enable/index.md index 0a2ad2921cfe943..d77df309789d62a 100644 --- a/files/en-us/web/api/webglrenderingcontext/enable/index.md +++ b/files/en-us/web/api/webglrenderingcontext/enable/index.md @@ -18,7 +18,7 @@ for this context. ## Syntax -```js +```js-nolint enable(cap) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/enablevertexattribarray/index.md b/files/en-us/web/api/webglrenderingcontext/enablevertexattribarray/index.md index 756b8a916115a30..86a4b59363f77c8 100644 --- a/files/en-us/web/api/webglrenderingcontext/enablevertexattribarray/index.md +++ b/files/en-us/web/api/webglrenderingcontext/enablevertexattribarray/index.md @@ -44,7 +44,7 @@ access the attribute, including {{domxref("WebGLRenderingContext.vertexAttribPoi ## Syntax -```js +```js-nolint enableVertexAttribArray(index) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/finish/index.md b/files/en-us/web/api/webglrenderingcontext/finish/index.md index c38206db15f367f..4ce879a92eafa7e 100644 --- a/files/en-us/web/api/webglrenderingcontext/finish/index.md +++ b/files/en-us/web/api/webglrenderingcontext/finish/index.md @@ -18,7 +18,7 @@ previously called commands are finished. ## Syntax -```js +```js-nolint finish() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/flush/index.md b/files/en-us/web/api/webglrenderingcontext/flush/index.md index 43e6b41f9453eb1..3480f875248ef6a 100644 --- a/files/en-us/web/api/webglrenderingcontext/flush/index.md +++ b/files/en-us/web/api/webglrenderingcontext/flush/index.md @@ -18,7 +18,7 @@ causing all commands to be executed as quickly as possible. ## Syntax -```js +```js-nolint flush() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/framebufferrenderbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/framebufferrenderbuffer/index.md index 5130e7151530f82..231a97a05f4c3e9 100644 --- a/files/en-us/web/api/webglrenderingcontext/framebufferrenderbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/framebufferrenderbuffer/index.md @@ -19,7 +19,7 @@ method of the [WebGL API](/en-US/docs/Web/API/WebGL_API) attaches a ## Syntax -```js +```js-nolint framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/framebuffertexture2d/index.md b/files/en-us/web/api/webglrenderingcontext/framebuffertexture2d/index.md index 2850de7e1d46674..5e5ec52dfbd68a1 100644 --- a/files/en-us/web/api/webglrenderingcontext/framebuffertexture2d/index.md +++ b/files/en-us/web/api/webglrenderingcontext/framebuffertexture2d/index.md @@ -19,7 +19,7 @@ of the [WebGL API](/en-US/docs/Web/API/WebGL_API) attaches a texture to a ## Syntax -```js +```js-nolint framebufferTexture2D(target, attachment, textarget, texture, level) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/frontface/index.md b/files/en-us/web/api/webglrenderingcontext/frontface/index.md index 47ec3ccabef3944..8ee3bb0d377cd6a 100644 --- a/files/en-us/web/api/webglrenderingcontext/frontface/index.md +++ b/files/en-us/web/api/webglrenderingcontext/frontface/index.md @@ -18,7 +18,7 @@ front- or back-facing by setting a winding orientation. ## Syntax -```js +```js-nolint frontFace(mode) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/generatemipmap/index.md b/files/en-us/web/api/webglrenderingcontext/generatemipmap/index.md index 68fe4a78fe28de3..2b1f7ef3af1cf06 100644 --- a/files/en-us/web/api/webglrenderingcontext/generatemipmap/index.md +++ b/files/en-us/web/api/webglrenderingcontext/generatemipmap/index.md @@ -25,7 +25,7 @@ resolution until a 1x1 dimension texture image is created. ## Syntax -```js +```js-nolint generateMipmap(target) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getactiveattrib/index.md b/files/en-us/web/api/webglrenderingcontext/getactiveattrib/index.md index 871b1438a443f0f..d16c1a99769adab 100644 --- a/files/en-us/web/api/webglrenderingcontext/getactiveattrib/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getactiveattrib/index.md @@ -21,7 +21,7 @@ generic library creation. ## Syntax -```js +```js-nolint getActiveAttrib(program, index) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getactiveuniform/index.md b/files/en-us/web/api/webglrenderingcontext/getactiveuniform/index.md index 4804e80387e7c5e..9ff9aa0a11cfb1e 100644 --- a/files/en-us/web/api/webglrenderingcontext/getactiveuniform/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getactiveuniform/index.md @@ -21,7 +21,7 @@ generic library creation. ## Syntax -```js +```js-nolint getActiveUniform(program, index) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getattachedshaders/index.md b/files/en-us/web/api/webglrenderingcontext/getattachedshaders/index.md index 17201e2acd5e31b..8cc4b8b6b698a34 100644 --- a/files/en-us/web/api/webglrenderingcontext/getattachedshaders/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getattachedshaders/index.md @@ -19,7 +19,7 @@ the [WebGL API](/en-US/docs/Web/API/WebGL_API) returns a list of ## Syntax -```js +```js-nolint getAttachedShaders(program) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getattriblocation/index.md b/files/en-us/web/api/webglrenderingcontext/getattriblocation/index.md index 7b4dd20d2e1c095..e83d1a46038221c 100644 --- a/files/en-us/web/api/webglrenderingcontext/getattriblocation/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getattriblocation/index.md @@ -19,7 +19,7 @@ attribute variable in a given {{domxref("WebGLProgram")}}. ## Syntax -```js +```js-nolint getAttribLocation(program, name) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getbufferparameter/index.md b/files/en-us/web/api/webglrenderingcontext/getbufferparameter/index.md index 60d0e1af07809d7..7bc33d01d84aafc 100644 --- a/files/en-us/web/api/webglrenderingcontext/getbufferparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getbufferparameter/index.md @@ -19,7 +19,7 @@ buffer. ## Syntax -```js +```js-nolint getBufferParameter(target, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getcontextattributes/index.md b/files/en-us/web/api/webglrenderingcontext/getcontextattributes/index.md index 5fa6573f1f2e9d2..5343f82c9175b8a 100644 --- a/files/en-us/web/api/webglrenderingcontext/getcontextattributes/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getcontextattributes/index.md @@ -19,7 +19,7 @@ parameters. Might return [`null`](/en-US/docs/Web/JavaScript/Reference/Operators ## Syntax -```js +```js-nolint getContextAttributes() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/geterror/index.md b/files/en-us/web/api/webglrenderingcontext/geterror/index.md index fa6287769af058e..00df9683c4d2d77 100644 --- a/files/en-us/web/api/webglrenderingcontext/geterror/index.md +++ b/files/en-us/web/api/webglrenderingcontext/geterror/index.md @@ -17,7 +17,7 @@ The **`WebGLRenderingContext.getError()`** method of the [WebGL API](/en-US/docs ## Syntax -```js +```js-nolint getError() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getextension/index.md b/files/en-us/web/api/webglrenderingcontext/getextension/index.md index 8e071eb51d7f243..3c2a48b2806e2a5 100644 --- a/files/en-us/web/api/webglrenderingcontext/getextension/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getextension/index.md @@ -18,7 +18,7 @@ The **`WebGLRenderingContext.getExtension()`** method enables a ## Syntax -```js +```js-nolint getExtension(name) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getframebufferattachmentparameter/index.md b/files/en-us/web/api/webglrenderingcontext/getframebufferattachmentparameter/index.md index 3b8a726210bfe8d..6a342926578c354 100644 --- a/files/en-us/web/api/webglrenderingcontext/getframebufferattachmentparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getframebufferattachmentparameter/index.md @@ -20,7 +20,7 @@ about a framebuffer's attachment. ## Syntax -```js +```js-nolint getFramebufferAttachmentParameter(target, attachment, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getparameter/index.md b/files/en-us/web/api/webglrenderingcontext/getparameter/index.md index 2babf3037d0caf2..3551846091e716f 100644 --- a/files/en-us/web/api/webglrenderingcontext/getparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getparameter/index.md @@ -18,7 +18,7 @@ parameter name. ## Syntax -```js +```js-nolint getParameter(pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getprograminfolog/index.md b/files/en-us/web/api/webglrenderingcontext/getprograminfolog/index.md index c33600fbe4ab32b..5745ed04d813f2c 100644 --- a/files/en-us/web/api/webglrenderingcontext/getprograminfolog/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getprograminfolog/index.md @@ -19,7 +19,7 @@ occurred during failed linking or validation of `WebGLProgram` objects. ## Syntax -```js +```js-nolint getProgramInfoLog(program) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getprogramparameter/index.md b/files/en-us/web/api/webglrenderingcontext/getprogramparameter/index.md index ff9d50a7c8b8d0d..c274cf715f773f2 100644 --- a/files/en-us/web/api/webglrenderingcontext/getprogramparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getprogramparameter/index.md @@ -20,7 +20,7 @@ given program. ## Syntax -```js +```js-nolint getProgramParameter(program, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getrenderbufferparameter/index.md b/files/en-us/web/api/webglrenderingcontext/getrenderbufferparameter/index.md index 7c9f867b4ae9a1c..f24b1f5793316b0 100644 --- a/files/en-us/web/api/webglrenderingcontext/getrenderbufferparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getrenderbufferparameter/index.md @@ -19,7 +19,7 @@ about the renderbuffer. ## Syntax -```js +```js-nolint getRenderbufferParameter(target, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getshaderinfolog/index.md b/files/en-us/web/api/webglrenderingcontext/getshaderinfolog/index.md index 137e905654bba09..5c737c28db2ae4e 100644 --- a/files/en-us/web/api/webglrenderingcontext/getshaderinfolog/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getshaderinfolog/index.md @@ -19,7 +19,7 @@ compile information. ## Syntax -```js +```js-nolint getShaderInfoLog(shader) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getshaderparameter/index.md b/files/en-us/web/api/webglrenderingcontext/getshaderparameter/index.md index 1e4c6e92641c75f..6e58780caaffbf7 100644 --- a/files/en-us/web/api/webglrenderingcontext/getshaderparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getshaderparameter/index.md @@ -19,7 +19,7 @@ given shader. ## Syntax -```js +```js-nolint getShaderParameter(shader, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getshaderprecisionformat/index.md b/files/en-us/web/api/webglrenderingcontext/getshaderprecisionformat/index.md index 0df7a8f94b60438..d81ad23cfa02e22 100644 --- a/files/en-us/web/api/webglrenderingcontext/getshaderprecisionformat/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getshaderprecisionformat/index.md @@ -21,7 +21,7 @@ the specified shader numeric format. ## Syntax -```js +```js-nolint getShaderPrecisionFormat(shaderType, precisionType) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getshadersource/index.md b/files/en-us/web/api/webglrenderingcontext/getshadersource/index.md index a79a20b10009666..0f09970344512d6 100644 --- a/files/en-us/web/api/webglrenderingcontext/getshadersource/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getshadersource/index.md @@ -19,7 +19,7 @@ The **`WebGLRenderingContext.getShaderSource()`** method of the ## Syntax -```js +```js-nolint getShaderSource(shader) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getsupportedextensions/index.md b/files/en-us/web/api/webglrenderingcontext/getsupportedextensions/index.md index 4313b4c73a1e3f3..7a18410ce3e7940 100644 --- a/files/en-us/web/api/webglrenderingcontext/getsupportedextensions/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getsupportedextensions/index.md @@ -19,7 +19,7 @@ extensions. ## Syntax -```js +```js-nolint getSupportedExtensions() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/gettexparameter/index.md b/files/en-us/web/api/webglrenderingcontext/gettexparameter/index.md index d8245928d6c46a1..82b079786f2d5f7 100644 --- a/files/en-us/web/api/webglrenderingcontext/gettexparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/gettexparameter/index.md @@ -20,7 +20,7 @@ given texture. ## Syntax -```js +```js-nolint getTexParameter(target, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getuniform/index.md b/files/en-us/web/api/webglrenderingcontext/getuniform/index.md index c32c70ff737456d..fe8d606ab1cd408 100644 --- a/files/en-us/web/api/webglrenderingcontext/getuniform/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getuniform/index.md @@ -18,7 +18,7 @@ variable at a given location. ## Syntax -```js +```js-nolint getUniform(program, location) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getuniformlocation/index.md b/files/en-us/web/api/webglrenderingcontext/getuniformlocation/index.md index d0d3e1b3cfc6934..656de9c44162e82 100644 --- a/files/en-us/web/api/webglrenderingcontext/getuniformlocation/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getuniformlocation/index.md @@ -46,7 +46,7 @@ The uniform itself is declared in the shader program using GLSL. ## Syntax -```js +```js-nolint getUniformLocation(program, name) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getvertexattrib/index.md b/files/en-us/web/api/webglrenderingcontext/getvertexattrib/index.md index 19f5f995d85b928..7772fe76300fce0 100644 --- a/files/en-us/web/api/webglrenderingcontext/getvertexattrib/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getvertexattrib/index.md @@ -19,7 +19,7 @@ attribute at a given position. ## Syntax -```js +```js-nolint getVertexAttrib(index, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/getvertexattriboffset/index.md b/files/en-us/web/api/webglrenderingcontext/getvertexattriboffset/index.md index 0b5d3affcd878fe..364bf8064e09340 100644 --- a/files/en-us/web/api/webglrenderingcontext/getvertexattriboffset/index.md +++ b/files/en-us/web/api/webglrenderingcontext/getvertexattriboffset/index.md @@ -19,7 +19,7 @@ specified vertex attribute. ## Syntax -```js +```js-nolint getVertexAttribOffset(index, pname) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/hint/index.md b/files/en-us/web/api/webglrenderingcontext/hint/index.md index 499cc8c40c92143..8c24a3d51d8f57b 100644 --- a/files/en-us/web/api/webglrenderingcontext/hint/index.md +++ b/files/en-us/web/api/webglrenderingcontext/hint/index.md @@ -18,7 +18,7 @@ behaviors. The interpretation of these hints depend on the implementation. ## Syntax -```js +```js-nolint hint(target, mode) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/isbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/isbuffer/index.md index dee7a8329bc063c..7b88a4778289b4f 100644 --- a/files/en-us/web/api/webglrenderingcontext/isbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/isbuffer/index.md @@ -18,7 +18,7 @@ passed {{domxref("WebGLBuffer")}} is valid and `false` otherwise. ## Syntax -```js +```js-nolint isBuffer(buffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/iscontextlost/index.md b/files/en-us/web/api/webglrenderingcontext/iscontextlost/index.md index b94d16b90d63bd3..e0017d1fda2a7be 100644 --- a/files/en-us/web/api/webglrenderingcontext/iscontextlost/index.md +++ b/files/en-us/web/api/webglrenderingcontext/iscontextlost/index.md @@ -23,7 +23,7 @@ must be re-established before rendering can resume. ## Syntax -```js +```js-nolint isContextLost() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/isenabled/index.md b/files/en-us/web/api/webglrenderingcontext/isenabled/index.md index 8faf0aba9e183d0..1f73eacea13a315 100644 --- a/files/en-us/web/api/webglrenderingcontext/isenabled/index.md +++ b/files/en-us/web/api/webglrenderingcontext/isenabled/index.md @@ -21,7 +21,7 @@ By default, all capabilities except `gl.DITHER` are ## Syntax -```js +```js-nolint isEnabled(cap) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/isframebuffer/index.md b/files/en-us/web/api/webglrenderingcontext/isframebuffer/index.md index 89280185148169a..5aa87a95b6dea2b 100644 --- a/files/en-us/web/api/webglrenderingcontext/isframebuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/isframebuffer/index.md @@ -19,7 +19,7 @@ passed {{domxref("WebGLFramebuffer")}} is valid and `false` otherwise. ## Syntax -```js +```js-nolint isFramebuffer(framebuffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/isprogram/index.md b/files/en-us/web/api/webglrenderingcontext/isprogram/index.md index edc8c471a8e9b1f..05d2ca24cb7f980 100644 --- a/files/en-us/web/api/webglrenderingcontext/isprogram/index.md +++ b/files/en-us/web/api/webglrenderingcontext/isprogram/index.md @@ -18,7 +18,7 @@ passed {{domxref("WebGLProgram")}} is valid, `false` otherwise. ## Syntax -```js +```js-nolint isProgram(program) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/isrenderbuffer/index.md b/files/en-us/web/api/webglrenderingcontext/isrenderbuffer/index.md index 45a4224e48cb3c9..f1f5e4a54b9adda 100644 --- a/files/en-us/web/api/webglrenderingcontext/isrenderbuffer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/isrenderbuffer/index.md @@ -19,7 +19,7 @@ passed {{domxref("WebGLRenderbuffer")}} is valid and `false` otherwise. ## Syntax -```js +```js-nolint isRenderbuffer(renderbuffer) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/isshader/index.md b/files/en-us/web/api/webglrenderingcontext/isshader/index.md index 53a9d569692f9da..508a453ba9e7462 100644 --- a/files/en-us/web/api/webglrenderingcontext/isshader/index.md +++ b/files/en-us/web/api/webglrenderingcontext/isshader/index.md @@ -18,7 +18,7 @@ passed {{domxref("WebGLShader")}} is valid, `false` otherwise. ## Syntax -```js +```js-nolint isShader(shader) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/istexture/index.md b/files/en-us/web/api/webglrenderingcontext/istexture/index.md index 762c52c3edd45d4..d34354b8dd3e8f2 100644 --- a/files/en-us/web/api/webglrenderingcontext/istexture/index.md +++ b/files/en-us/web/api/webglrenderingcontext/istexture/index.md @@ -18,7 +18,7 @@ passed {{domxref("WebGLTexture")}} is valid and `false` otherwise. ## Syntax -```js +```js-nolint isTexture(texture) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/linewidth/index.md b/files/en-us/web/api/webglrenderingcontext/linewidth/index.md index fb30615f92b624c..11bbf901854af2c 100644 --- a/files/en-us/web/api/webglrenderingcontext/linewidth/index.md +++ b/files/en-us/web/api/webglrenderingcontext/linewidth/index.md @@ -27,7 +27,7 @@ lines. ## Syntax -```js +```js-nolint lineWidth(width) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/linkprogram/index.md b/files/en-us/web/api/webglrenderingcontext/linkprogram/index.md index d48a8681b1b3631..c050296d5598190 100644 --- a/files/en-us/web/api/webglrenderingcontext/linkprogram/index.md +++ b/files/en-us/web/api/webglrenderingcontext/linkprogram/index.md @@ -20,7 +20,7 @@ program's fragment and vertex shaders. ## Syntax -```js +```js-nolint linkProgram(program) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/makexrcompatible/index.md b/files/en-us/web/api/webglrenderingcontext/makexrcompatible/index.md index 0564f681f736da8..b7a51ffab052559 100644 --- a/files/en-us/web/api/webglrenderingcontext/makexrcompatible/index.md +++ b/files/en-us/web/api/webglrenderingcontext/makexrcompatible/index.md @@ -41,7 +41,7 @@ standard 2D display but can then be transitioned to a 3D immersion system. ## Syntax -```js +```js-nolint makeXRCompatible() ``` diff --git a/files/en-us/web/api/webglrenderingcontext/pixelstorei/index.md b/files/en-us/web/api/webglrenderingcontext/pixelstorei/index.md index 3ff4f4a2c78f177..829b190d3c01826 100644 --- a/files/en-us/web/api/webglrenderingcontext/pixelstorei/index.md +++ b/files/en-us/web/api/webglrenderingcontext/pixelstorei/index.md @@ -17,7 +17,7 @@ The **`WebGLRenderingContext.pixelStorei()`** method of the [WebGL API](/en-US/d ## Syntax -```js +```js-nolint pixelStorei(pname, param) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/polygonoffset/index.md b/files/en-us/web/api/webglrenderingcontext/polygonoffset/index.md index 953f71de23a0c29..887954ecbcb981f 100644 --- a/files/en-us/web/api/webglrenderingcontext/polygonoffset/index.md +++ b/files/en-us/web/api/webglrenderingcontext/polygonoffset/index.md @@ -22,7 +22,7 @@ into the depth buffer. ## Syntax -```js +```js-nolint polygonOffset(factor, units) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/readpixels/index.md b/files/en-us/web/api/webglrenderingcontext/readpixels/index.md index aa068dc33134405..427c61561d341fc 100644 --- a/files/en-us/web/api/webglrenderingcontext/readpixels/index.md +++ b/files/en-us/web/api/webglrenderingcontext/readpixels/index.md @@ -18,7 +18,7 @@ specified rectangle of the current color framebuffer into a {{jsxref("TypedArray ## Syntax -```js +```js-nolint // WebGL1: readPixels(x, y, width, height, format, type, pixels) diff --git a/files/en-us/web/api/webglrenderingcontext/renderbufferstorage/index.md b/files/en-us/web/api/webglrenderingcontext/renderbufferstorage/index.md index f817f2425ffec6d..f46ef232c7c9f91 100644 --- a/files/en-us/web/api/webglrenderingcontext/renderbufferstorage/index.md +++ b/files/en-us/web/api/webglrenderingcontext/renderbufferstorage/index.md @@ -19,7 +19,7 @@ renderbuffer object's data store. ## Syntax -```js +```js-nolint renderbufferStorage(target, internalFormat, width, height) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/samplecoverage/index.md b/files/en-us/web/api/webglrenderingcontext/samplecoverage/index.md index d50a2cd76dd478d..11050ba3246afc3 100644 --- a/files/en-us/web/api/webglrenderingcontext/samplecoverage/index.md +++ b/files/en-us/web/api/webglrenderingcontext/samplecoverage/index.md @@ -19,7 +19,7 @@ parameters for anti-aliasing effects. ## Syntax -```js +```js-nolint sampleCoverage(value, invert) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/scissor/index.md b/files/en-us/web/api/webglrenderingcontext/scissor/index.md index 336b83abf44861c..6d6c1c38466e466 100644 --- a/files/en-us/web/api/webglrenderingcontext/scissor/index.md +++ b/files/en-us/web/api/webglrenderingcontext/scissor/index.md @@ -18,7 +18,7 @@ the drawing to a specified rectangle. ## Syntax -```js +```js-nolint scissor(x, y, width, height) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/shadersource/index.md b/files/en-us/web/api/webglrenderingcontext/shadersource/index.md index b6c98ab2cbe2237..5d4b7d5ce5f5532 100644 --- a/files/en-us/web/api/webglrenderingcontext/shadersource/index.md +++ b/files/en-us/web/api/webglrenderingcontext/shadersource/index.md @@ -18,7 +18,7 @@ The **`WebGLRenderingContext.shaderSource()`** method of the [WebGL API](/en-US/ ## Syntax -```js +```js-nolint shaderSource(shader, source) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/stencilfunc/index.md b/files/en-us/web/api/webglrenderingcontext/stencilfunc/index.md index 0576fc0366f89a3..ca31e2a6db474eb 100644 --- a/files/en-us/web/api/webglrenderingcontext/stencilfunc/index.md +++ b/files/en-us/web/api/webglrenderingcontext/stencilfunc/index.md @@ -21,7 +21,7 @@ multipass rendering to achieve special effects. ## Syntax -```js +```js-nolint stencilFunc(func, ref, mask) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/stencilfuncseparate/index.md b/files/en-us/web/api/webglrenderingcontext/stencilfuncseparate/index.md index 030aa2c9c0d38f0..cddae6fade8552f 100644 --- a/files/en-us/web/api/webglrenderingcontext/stencilfuncseparate/index.md +++ b/files/en-us/web/api/webglrenderingcontext/stencilfuncseparate/index.md @@ -22,7 +22,7 @@ multipass rendering to achieve special effects. ## Syntax -```js +```js-nolint stencilFuncSeparate(face, func, ref, mask) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/stencilmask/index.md b/files/en-us/web/api/webglrenderingcontext/stencilmask/index.md index f26390787a219b3..9d195f28c77762e 100644 --- a/files/en-us/web/api/webglrenderingcontext/stencilmask/index.md +++ b/files/en-us/web/api/webglrenderingcontext/stencilmask/index.md @@ -21,7 +21,7 @@ back stencil writemasks to different values. ## Syntax -```js +```js-nolint stencilMask(mask) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/stencilmaskseparate/index.md b/files/en-us/web/api/webglrenderingcontext/stencilmaskseparate/index.md index 2ba23dcc11c408c..b10002c66ae1dbc 100644 --- a/files/en-us/web/api/webglrenderingcontext/stencilmaskseparate/index.md +++ b/files/en-us/web/api/webglrenderingcontext/stencilmaskseparate/index.md @@ -22,7 +22,7 @@ and back stencil writemasks to one value at the same time. ## Syntax -```js +```js-nolint stencilMaskSeparate(face, mask) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/stencilop/index.md b/files/en-us/web/api/webglrenderingcontext/stencilop/index.md index a52d6454a395a1e..d88078f1ad11faf 100644 --- a/files/en-us/web/api/webglrenderingcontext/stencilop/index.md +++ b/files/en-us/web/api/webglrenderingcontext/stencilop/index.md @@ -18,7 +18,7 @@ stencil test actions. ## Syntax -```js +```js-nolint stencilOp(fail, zfail, zpass) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/stencilopseparate/index.md b/files/en-us/web/api/webglrenderingcontext/stencilopseparate/index.md index d901d8a3e3dfe71..757cd36f945c37e 100644 --- a/files/en-us/web/api/webglrenderingcontext/stencilopseparate/index.md +++ b/files/en-us/web/api/webglrenderingcontext/stencilopseparate/index.md @@ -19,7 +19,7 @@ back-facing stencil test actions. ## Syntax -```js +```js-nolint stencilOpSeparate(face, fail, zfail, zpass) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/teximage2d/index.md b/files/en-us/web/api/webglrenderingcontext/teximage2d/index.md index 338e4ae0fd181b5..b039e36453a8a04 100644 --- a/files/en-us/web/api/webglrenderingcontext/teximage2d/index.md +++ b/files/en-us/web/api/webglrenderingcontext/teximage2d/index.md @@ -19,7 +19,7 @@ image. ## Syntax -```js +```js-nolint // WebGL1 texImage2D(target, level, internalformat, width, height, border, format, type) texImage2D(target, level, internalformat, width, height, border, format, type, pixels) // pixels a TypedArray or a DataView diff --git a/files/en-us/web/api/webglrenderingcontext/texparameter/index.md b/files/en-us/web/api/webglrenderingcontext/texparameter/index.md index df6b0a3d9434bee..5e8a57f6e4681f9 100644 --- a/files/en-us/web/api/webglrenderingcontext/texparameter/index.md +++ b/files/en-us/web/api/webglrenderingcontext/texparameter/index.md @@ -21,7 +21,7 @@ the [WebGL API](/en-US/docs/Web/API/WebGL_API) set texture parameters. ## Syntax -```js +```js-nolint texParameterf(target, pname, param) texParameteri(target, pname, param) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/texsubimage2d/index.md b/files/en-us/web/api/webglrenderingcontext/texsubimage2d/index.md index 2cc188ad9242b9e..7a0164977860779 100644 --- a/files/en-us/web/api/webglrenderingcontext/texsubimage2d/index.md +++ b/files/en-us/web/api/webglrenderingcontext/texsubimage2d/index.md @@ -20,7 +20,7 @@ current texture. ## Syntax -```js +```js-nolint // WebGL1 texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) // pixels is a TypedArray or a DataView texSubImage2D(target, level, xoffset, yoffset, format, type, pixels) diff --git a/files/en-us/web/api/webglrenderingcontext/uniform/index.md b/files/en-us/web/api/webglrenderingcontext/uniform/index.md index 876f0b68a195f58..dd380aaaa9ded8d 100644 --- a/files/en-us/web/api/webglrenderingcontext/uniform/index.md +++ b/files/en-us/web/api/webglrenderingcontext/uniform/index.md @@ -26,7 +26,7 @@ object, when they are once again initialized to 0. ## Syntax -```js +```js-nolint uniform1f(location, v0) uniform1fv(location, value) uniform1i(location, v0) diff --git a/files/en-us/web/api/webglrenderingcontext/uniformmatrix/index.md b/files/en-us/web/api/webglrenderingcontext/uniformmatrix/index.md index a4a2a4651e9c0d5..c0b6790171566df 100644 --- a/files/en-us/web/api/webglrenderingcontext/uniformmatrix/index.md +++ b/files/en-us/web/api/webglrenderingcontext/uniformmatrix/index.md @@ -32,7 +32,7 @@ expected to have 4, 9 or 16 floats. ## Syntax -```js +```js-nolint uniformMatrix2fv(location, transpose, value) uniformMatrix3fv(location, transpose, value) uniformMatrix4fv(location, transpose, value) diff --git a/files/en-us/web/api/webglrenderingcontext/useprogram/index.md b/files/en-us/web/api/webglrenderingcontext/useprogram/index.md index 71d9bd0d48917b6..17c51ec11c796cc 100644 --- a/files/en-us/web/api/webglrenderingcontext/useprogram/index.md +++ b/files/en-us/web/api/webglrenderingcontext/useprogram/index.md @@ -18,7 +18,7 @@ The **`WebGLRenderingContext.useProgram()`** method of the [WebGL API](/en-US/do ## Syntax -```js +```js-nolint useProgram(program) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/validateprogram/index.md b/files/en-us/web/api/webglrenderingcontext/validateprogram/index.md index af66de26200e26e..30ca2f79071f6c9 100644 --- a/files/en-us/web/api/webglrenderingcontext/validateprogram/index.md +++ b/files/en-us/web/api/webglrenderingcontext/validateprogram/index.md @@ -20,7 +20,7 @@ used in the current WebGL state. ## Syntax -```js +```js-nolint validateProgram(program) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/vertexattrib/index.md b/files/en-us/web/api/webglrenderingcontext/vertexattrib/index.md index cb24cbfcdd9c902..e7832f170240fbb 100644 --- a/files/en-us/web/api/webglrenderingcontext/vertexattrib/index.md +++ b/files/en-us/web/api/webglrenderingcontext/vertexattrib/index.md @@ -19,7 +19,7 @@ values for generic vertex attributes. ## Syntax -```js +```js-nolint vertexAttrib1f(index, v0) vertexAttrib2f(index, v0, v1) vertexAttrib3f(index, v0, v1, v2) diff --git a/files/en-us/web/api/webglrenderingcontext/vertexattribpointer/index.md b/files/en-us/web/api/webglrenderingcontext/vertexattribpointer/index.md index c0cafed3cdf593a..efb2d64377c6011 100644 --- a/files/en-us/web/api/webglrenderingcontext/vertexattribpointer/index.md +++ b/files/en-us/web/api/webglrenderingcontext/vertexattribpointer/index.md @@ -21,7 +21,7 @@ buffer object and specifies its layout. ## Syntax -```js +```js-nolint vertexAttribPointer(index, size, type, normalized, stride, offset) ``` diff --git a/files/en-us/web/api/webglrenderingcontext/viewport/index.md b/files/en-us/web/api/webglrenderingcontext/viewport/index.md index 22378193d969cff..22543fa6743d1f0 100644 --- a/files/en-us/web/api/webglrenderingcontext/viewport/index.md +++ b/files/en-us/web/api/webglrenderingcontext/viewport/index.md @@ -19,7 +19,7 @@ coordinates. ## Syntax -```js +```js-nolint viewport(x, y, width, height) ``` diff --git a/files/en-us/web/api/websocket/close/index.md b/files/en-us/web/api/websocket/close/index.md index 58e28e5c1774984..23cd01baead59aa 100644 --- a/files/en-us/web/api/websocket/close/index.md +++ b/files/en-us/web/api/websocket/close/index.md @@ -21,7 +21,7 @@ already `CLOSED`, this method does nothing. ## Syntax -```js +```js-nolint close() close(code) close(code, reason) diff --git a/files/en-us/web/api/websocket/send/index.md b/files/en-us/web/api/websocket/send/index.md index f9adb8199a8ada6..ecc6a4137a85ee8 100644 --- a/files/en-us/web/api/websocket/send/index.md +++ b/files/en-us/web/api/websocket/send/index.md @@ -22,7 +22,7 @@ The browser will throw an exception if you call `send()` when the connection is ## Syntax -```js +```js-nolint send(data) ``` diff --git a/files/en-us/web/api/websocket/websocket/index.md b/files/en-us/web/api/websocket/websocket/index.md index 1b33f28952f1a41..7c6ce86849e0094 100644 --- a/files/en-us/web/api/websocket/websocket/index.md +++ b/files/en-us/web/api/websocket/websocket/index.md @@ -18,7 +18,7 @@ The **`WebSocket()`** constructor returns a new ## Syntax -```js +```js-nolint new WebSocket(url) new WebSocket(url, protocols) ``` diff --git a/files/en-us/web/api/wheelevent/wheelevent/index.md b/files/en-us/web/api/wheelevent/wheelevent/index.md index 5460b1aec1c66d7..18526daea0a599e 100644 --- a/files/en-us/web/api/wheelevent/wheelevent/index.md +++ b/files/en-us/web/api/wheelevent/wheelevent/index.md @@ -20,7 +20,7 @@ The **`WheelEvent()`** constructor returns a new {{domxref("WheelEvent")}} objec ## Syntax -```js +```js-nolint new WheelEvent(type) new WheelEvent(type, options) ``` diff --git a/files/en-us/web/api/window/alert/index.md b/files/en-us/web/api/window/alert/index.md index 970477ee749c6cf..14d7abc567942a7 100644 --- a/files/en-us/web/api/window/alert/index.md +++ b/files/en-us/web/api/window/alert/index.md @@ -20,7 +20,7 @@ Under some conditions — for example, when the user switches tabs — the brows ## Syntax -```js +```js-nolint alert() alert(message) ``` diff --git a/files/en-us/web/api/window/back/index.md b/files/en-us/web/api/window/back/index.md index fe97440c98f0357..987e1a1fac9f819 100644 --- a/files/en-us/web/api/window/back/index.md +++ b/files/en-us/web/api/window/back/index.md @@ -24,7 +24,7 @@ Firefox-specific method and was removed in Firefox 31. ## Syntax -```js +```js-nolint back() ``` diff --git a/files/en-us/web/api/window/blur/index.md b/files/en-us/web/api/window/blur/index.md index 1d4e209154bdaf8..33aa98ef9894557 100644 --- a/files/en-us/web/api/window/blur/index.md +++ b/files/en-us/web/api/window/blur/index.md @@ -16,7 +16,7 @@ Shifts focus away from the window. ## Syntax -```js +```js-nolint blur() ``` diff --git a/files/en-us/web/api/window/cancelanimationframe/index.md b/files/en-us/web/api/window/cancelanimationframe/index.md index bdb7511a6810af2..6929346d221d55f 100644 --- a/files/en-us/web/api/window/cancelanimationframe/index.md +++ b/files/en-us/web/api/window/cancelanimationframe/index.md @@ -21,7 +21,7 @@ animation frame request previously scheduled through a call to ## Syntax -```js +```js-nolint cancelAnimationFrame(requestID) ``` diff --git a/files/en-us/web/api/window/cancelidlecallback/index.md b/files/en-us/web/api/window/cancelidlecallback/index.md index 20f1b1c6574103a..50517b66fab041c 100644 --- a/files/en-us/web/api/window/cancelidlecallback/index.md +++ b/files/en-us/web/api/window/cancelidlecallback/index.md @@ -23,7 +23,7 @@ previously scheduled with {{domxref("window.requestIdleCallback()")}}. ## Syntax -```js +```js-nolint cancelIdleCallback(handle) ``` diff --git a/files/en-us/web/api/window/captureevents/index.md b/files/en-us/web/api/window/captureevents/index.md index 0040150b6279807..92d8285bfc935c6 100644 --- a/files/en-us/web/api/window/captureevents/index.md +++ b/files/en-us/web/api/window/captureevents/index.md @@ -17,7 +17,7 @@ capture all events of the specified type. ## Syntax -```js +```js-nolint captureEvents(eventType) ``` diff --git a/files/en-us/web/api/window/clearimmediate/index.md b/files/en-us/web/api/window/clearimmediate/index.md index 6aca9dc03684784..571e25eb58b1859 100644 --- a/files/en-us/web/api/window/clearimmediate/index.md +++ b/files/en-us/web/api/window/clearimmediate/index.md @@ -22,7 +22,7 @@ This method clears the action specified by {{DOMxRef("window.setImmediate")}}. ## Syntax -```js +```js-nolint clearImmediate(immediateID) ``` diff --git a/files/en-us/web/api/window/close/index.md b/files/en-us/web/api/window/close/index.md index fb8ce5f74947343..121bc153eed58a0 100644 --- a/files/en-us/web/api/window/close/index.md +++ b/files/en-us/web/api/window/close/index.md @@ -28,7 +28,7 @@ objects returned by ## Syntax -```js +```js-nolint close() ``` diff --git a/files/en-us/web/api/window/confirm/index.md b/files/en-us/web/api/window/confirm/index.md index fb089766de2f7ca..c4cf7be0d83ee33 100644 --- a/files/en-us/web/api/window/confirm/index.md +++ b/files/en-us/web/api/window/confirm/index.md @@ -20,7 +20,7 @@ Under some conditions — for example, when the user switches tabs — the brows ## Syntax -```js +```js-nolint confirm(message) ``` diff --git a/files/en-us/web/api/window/content/index.md b/files/en-us/web/api/window/content/index.md index ede22c348cbb873..665e3679554ab6d 100644 --- a/files/en-us/web/api/window/content/index.md +++ b/files/en-us/web/api/window/content/index.md @@ -16,8 +16,8 @@ In unprivileged content (webpages), `content` is normally equivalent to [top](/e ### Syntax -```js -const windowObject = window.content; +```js-nolint +const windowObject = window.content ``` ### Example diff --git a/files/en-us/web/api/window/dump/index.md b/files/en-us/web/api/window/dump/index.md index 92bac4b71099df4..d819966a6197a4a 100644 --- a/files/en-us/web/api/window/dump/index.md +++ b/files/en-us/web/api/window/dump/index.md @@ -19,7 +19,7 @@ Output from `dump()` is _not_ sent to the browser's developer tools console. To ## Syntax -```js +```js-nolint dump(message) ``` diff --git a/files/en-us/web/api/window/find/index.md b/files/en-us/web/api/window/find/index.md index 62ffde9460a4ef9..f123d849be2e2c1 100644 --- a/files/en-us/web/api/window/find/index.md +++ b/files/en-us/web/api/window/find/index.md @@ -24,7 +24,7 @@ The **`Window.find()`** method finds a string in a window sequentially. ## Syntax -```js +```js-nolint find(aString, aCaseSensitive, aBackwards, aWrapAround, aWholeWord, aSearchInFrames, aShowDialog) ``` diff --git a/files/en-us/web/api/window/focus/index.md b/files/en-us/web/api/window/focus/index.md index 0a984cce95622a2..5466968029212e3 100644 --- a/files/en-us/web/api/window/focus/index.md +++ b/files/en-us/web/api/window/focus/index.md @@ -17,7 +17,7 @@ Makes a request to bring the window to the front. It may fail due to user settin ## Syntax -```js +```js-nolint focus() ``` diff --git a/files/en-us/web/api/window/forward/index.md b/files/en-us/web/api/window/forward/index.md index c65ce70114a125a..41b48c9dbb5cc99 100644 --- a/files/en-us/web/api/window/forward/index.md +++ b/files/en-us/web/api/window/forward/index.md @@ -22,7 +22,7 @@ Moves the window one document forward in history. This was a Firefox-specific me ## Syntax -```js +```js-nolint forward() ``` diff --git a/files/en-us/web/api/window/getcomputedstyle/index.md b/files/en-us/web/api/window/getcomputedstyle/index.md index de0ca9bd66f2e0a..b13639e1bbfbf27 100644 --- a/files/en-us/web/api/window/getcomputedstyle/index.md +++ b/files/en-us/web/api/window/getcomputedstyle/index.md @@ -24,7 +24,7 @@ indexing with CSS property names. ## Syntax -```js +```js-nolint getComputedStyle(element) getComputedStyle(element, pseudoElt) ``` diff --git a/files/en-us/web/api/window/getdefaultcomputedstyle/index.md b/files/en-us/web/api/window/getdefaultcomputedstyle/index.md index 9760d5f558c5d19..ab6ef3ed34d6d32 100644 --- a/files/en-us/web/api/window/getdefaultcomputedstyle/index.md +++ b/files/en-us/web/api/window/getdefaultcomputedstyle/index.md @@ -19,7 +19,7 @@ styles are taken into account. ## Syntax -```js +```js-nolint getDefaultComputedStyle(element) getDefaultComputedStyle(element, pseudoElt) ``` diff --git a/files/en-us/web/api/window/getselection/index.md b/files/en-us/web/api/window/getselection/index.md index a07a95fd079b97a..ffc834d759df652 100644 --- a/files/en-us/web/api/window/getselection/index.md +++ b/files/en-us/web/api/window/getselection/index.md @@ -21,7 +21,7 @@ the current position of the caret. ## Syntax -```js +```js-nolint getSelection() ``` diff --git a/files/en-us/web/api/window/matchmedia/index.md b/files/en-us/web/api/window/matchmedia/index.md index e5292228d706699..49437608340a92c 100644 --- a/files/en-us/web/api/window/matchmedia/index.md +++ b/files/en-us/web/api/window/matchmedia/index.md @@ -24,7 +24,7 @@ media query. ## Syntax -```js +```js-nolint matchMedia(mediaQueryString) ``` diff --git a/files/en-us/web/api/window/moveby/index.md b/files/en-us/web/api/window/moveby/index.md index d3e0ff49a6bb979..17cc2101cc14bf0 100644 --- a/files/en-us/web/api/window/moveby/index.md +++ b/files/en-us/web/api/window/moveby/index.md @@ -22,7 +22,7 @@ interface moves the current window by a specified amount. ## Syntax -```js +```js-nolint moveBy(deltaX, deltaY) ``` diff --git a/files/en-us/web/api/window/moveto/index.md b/files/en-us/web/api/window/moveto/index.md index e4d9f3e55e15fe2..07a1cf53c6c76fd 100644 --- a/files/en-us/web/api/window/moveto/index.md +++ b/files/en-us/web/api/window/moveto/index.md @@ -22,7 +22,7 @@ interface moves the current window to the specified coordinates. ## Syntax -```js +```js-nolint moveTo(x, y) ``` diff --git a/files/en-us/web/api/window/open/index.md b/files/en-us/web/api/window/open/index.md index 0e48e81b16a7582..e3d4eaadfd8a83d 100644 --- a/files/en-us/web/api/window/open/index.md +++ b/files/en-us/web/api/window/open/index.md @@ -18,7 +18,7 @@ The **`open()`** method of the [`Window`](/en-US/docs/Web/API/Window) interface ## Syntax -```js +```js-nolint open() open(url) open(url, target) diff --git a/files/en-us/web/api/window/postmessage/index.md b/files/en-us/web/api/window/postmessage/index.md index 5e43444bd2b0cfa..3915b69a0515250 100644 --- a/files/en-us/web/api/window/postmessage/index.md +++ b/files/en-us/web/api/window/postmessage/index.md @@ -32,7 +32,7 @@ receiving window is then free to [handle this event](/en-US/docs/Web/Events/Even ## Syntax -```js +```js-nolint postMessage(message, targetOrigin) postMessage(message, targetOrigin, transfer) ``` diff --git a/files/en-us/web/api/window/print/index.md b/files/en-us/web/api/window/print/index.md index a9ee2e4883d1628..b4a8bf6b3399944 100644 --- a/files/en-us/web/api/window/print/index.md +++ b/files/en-us/web/api/window/print/index.md @@ -21,7 +21,7 @@ This method will block while the print dialog is open. ## Syntax -```js +```js-nolint print() ``` diff --git a/files/en-us/web/api/window/prompt/index.md b/files/en-us/web/api/window/prompt/index.md index e8f1fb2f8c466df..12b3c721f5c29ca 100644 --- a/files/en-us/web/api/window/prompt/index.md +++ b/files/en-us/web/api/window/prompt/index.md @@ -21,7 +21,7 @@ Under some conditions — for example, when the user switches tabs — the brows ## Syntax -```js +```js-nolint prompt() prompt(message) prompt(message, defaultValue) diff --git a/files/en-us/web/api/window/releaseevents/index.md b/files/en-us/web/api/window/releaseevents/index.md index ee67e0e1279a2cf..89510e7e538d40f 100644 --- a/files/en-us/web/api/window/releaseevents/index.md +++ b/files/en-us/web/api/window/releaseevents/index.md @@ -20,7 +20,7 @@ Releases the window from trapping events of a specific type. ## Syntax -```js +```js-nolint releaseEvents(eventType) ``` diff --git a/files/en-us/web/api/window/requestanimationframe/index.md b/files/en-us/web/api/window/requestanimationframe/index.md index 5e004f7656dd918..070af574ec7b441 100644 --- a/files/en-us/web/api/window/requestanimationframe/index.md +++ b/files/en-us/web/api/window/requestanimationframe/index.md @@ -56,7 +56,7 @@ timestamp is a decimal number, in milliseconds, but with a minimal precision of ## Syntax -```js +```js-nolint requestAnimationFrame(callback) ``` diff --git a/files/en-us/web/api/window/requestfilesystem/index.md b/files/en-us/web/api/window/requestfilesystem/index.md index 3a7c5b392257da6..76b248a92ccc22e 100644 --- a/files/en-us/web/api/window/requestfilesystem/index.md +++ b/files/en-us/web/api/window/requestfilesystem/index.md @@ -27,7 +27,7 @@ use. The returned {{domxref("FileSystem")}} is then available for use with the o ## Syntax -```js +```js-nolint requestFileSystem(type, size, successCallback) requestFileSystem(type, size, successCallback, errorCallback) ``` diff --git a/files/en-us/web/api/window/requestidlecallback/index.md b/files/en-us/web/api/window/requestidlecallback/index.md index 91eb6d121b368ba..7e605cbabc45ec3 100644 --- a/files/en-us/web/api/window/requestidlecallback/index.md +++ b/files/en-us/web/api/window/requestidlecallback/index.md @@ -33,7 +33,7 @@ loop. ## Syntax -```js +```js-nolint requestIdleCallback(callback) requestIdleCallback(callback, options) ``` diff --git a/files/en-us/web/api/window/resizeby/index.md b/files/en-us/web/api/window/resizeby/index.md index 3555da1794a8ca6..f7b9c411ac0b13b 100644 --- a/files/en-us/web/api/window/resizeby/index.md +++ b/files/en-us/web/api/window/resizeby/index.md @@ -19,7 +19,7 @@ by a specified amount. ## Syntax -```js +```js-nolint resizeBy(xDelta, yDelta) ``` diff --git a/files/en-us/web/api/window/resizeto/index.md b/files/en-us/web/api/window/resizeto/index.md index db541e6b852fda7..0175a4373765870 100644 --- a/files/en-us/web/api/window/resizeto/index.md +++ b/files/en-us/web/api/window/resizeto/index.md @@ -18,7 +18,7 @@ window. ## Syntax -```js +```js-nolint resizeTo(width, height) ``` diff --git a/files/en-us/web/api/window/scrollby/index.md b/files/en-us/web/api/window/scrollby/index.md index 30cc4306b1a2c39..54237558ee89d44 100644 --- a/files/en-us/web/api/window/scrollby/index.md +++ b/files/en-us/web/api/window/scrollby/index.md @@ -17,7 +17,7 @@ window by the given amount. ## Syntax -```js +```js-nolint scrollBy(x-coord, y-coord) scrollBy(options) ``` diff --git a/files/en-us/web/api/window/scrollbylines/index.md b/files/en-us/web/api/window/scrollbylines/index.md index cfe818e4efad1d8..22f21a73419370d 100644 --- a/files/en-us/web/api/window/scrollbylines/index.md +++ b/files/en-us/web/api/window/scrollbylines/index.md @@ -19,7 +19,7 @@ the specified number of lines. ## Syntax -```js +```js-nolint scrollByLines(lines) ``` diff --git a/files/en-us/web/api/window/scrollbypages/index.md b/files/en-us/web/api/window/scrollbypages/index.md index d4c3962416b1756..60e4d7a0205fe61 100644 --- a/files/en-us/web/api/window/scrollbypages/index.md +++ b/files/en-us/web/api/window/scrollbypages/index.md @@ -21,7 +21,7 @@ document by the specified number of pages. ## Syntax -```js +```js-nolint scrollByPages(pages) ``` diff --git a/files/en-us/web/api/window/scrollto/index.md b/files/en-us/web/api/window/scrollto/index.md index c8f8b999b988916..c0f3c38527a9291 100644 --- a/files/en-us/web/api/window/scrollto/index.md +++ b/files/en-us/web/api/window/scrollto/index.md @@ -18,7 +18,7 @@ coordinates in the document. ## Syntax -```js +```js-nolint scrollTo(x-coord, y-coord) scrollTo(options) ``` diff --git a/files/en-us/web/api/window/setimmediate/index.md b/files/en-us/web/api/window/setimmediate/index.md index f64e092e93216a8..c8ae7d3f15ad791 100644 --- a/files/en-us/web/api/window/setimmediate/index.md +++ b/files/en-us/web/api/window/setimmediate/index.md @@ -26,7 +26,7 @@ updates. ## Syntax -```js +```js-nolint setImmediate(func) setImmediate(func, param0) setImmediate(func, param0, param1) diff --git a/files/en-us/web/api/window/showdirectorypicker/index.md b/files/en-us/web/api/window/showdirectorypicker/index.md index de173624e143fff..fecaf2e5f0cee3b 100644 --- a/files/en-us/web/api/window/showdirectorypicker/index.md +++ b/files/en-us/web/api/window/showdirectorypicker/index.md @@ -21,8 +21,8 @@ select a directory. ## Syntax -```js -const FileSystemDirectoryHandle = window.showDirectoryPicker(); +```js-nolint +showDirectoryPicker() ``` ### Parameters diff --git a/files/en-us/web/api/window/showmodaldialog/index.md b/files/en-us/web/api/window/showmodaldialog/index.md index 1eda31aba41f147..1480440ef640c0f 100644 --- a/files/en-us/web/api/window/showmodaldialog/index.md +++ b/files/en-us/web/api/window/showmodaldialog/index.md @@ -23,7 +23,7 @@ created and displayed a modal dialog box containing a specified HTML document. ## Syntax -```js +```js-nolint showModalDialog(uri) showModalDialog(uri, arguments) showModalDialog(uri, arguments, options) diff --git a/files/en-us/web/api/window/showopenfilepicker/index.md b/files/en-us/web/api/window/showopenfilepicker/index.md index 1b13e2ddf86ef57..b0d8c78cb9669bd 100644 --- a/files/en-us/web/api/window/showopenfilepicker/index.md +++ b/files/en-us/web/api/window/showopenfilepicker/index.md @@ -20,7 +20,7 @@ or multiple files and returns a handle for the file(s). ## Syntax -```js +```js-nolint showOpenFilePicker() ``` diff --git a/files/en-us/web/api/window/showsavefilepicker/index.md b/files/en-us/web/api/window/showsavefilepicker/index.md index 6b07ff747133696..fe5a69eb7b31571 100644 --- a/files/en-us/web/api/window/showsavefilepicker/index.md +++ b/files/en-us/web/api/window/showsavefilepicker/index.md @@ -21,7 +21,7 @@ Either by selecting an existing file, or entering a name for a new file. ## Syntax -```js +```js-nolint showSaveFilePicker() ``` diff --git a/files/en-us/web/api/window/sizetocontent/index.md b/files/en-us/web/api/window/sizetocontent/index.md index 6e4d2b4b591507c..62e85eed7442dfb 100644 --- a/files/en-us/web/api/window/sizetocontent/index.md +++ b/files/en-us/web/api/window/sizetocontent/index.md @@ -24,7 +24,7 @@ being too small for the user to interact with. ## Syntax -```js +```js-nolint sizeToContent() ``` diff --git a/files/en-us/web/api/window/stop/index.md b/files/en-us/web/api/window/stop/index.md index 48ae16967f9a47f..48ebd9453eb925f 100644 --- a/files/en-us/web/api/window/stop/index.md +++ b/files/en-us/web/api/window/stop/index.md @@ -24,7 +24,7 @@ objects. ## Syntax -```js +```js-nolint stop() ``` diff --git a/files/en-us/web/api/window/updatecommands/index.md b/files/en-us/web/api/window/updatecommands/index.md index 53ac16f1f8bc978..e22dad34fe0fea0 100644 --- a/files/en-us/web/api/window/updatecommands/index.md +++ b/files/en-us/web/api/window/updatecommands/index.md @@ -23,7 +23,7 @@ Updates the state of commands of the current chrome window (UI). ## Syntax -```js +```js-nolint updateCommands("sCommandName") ``` diff --git a/files/en-us/web/api/window/webkitconvertpointfromnodetopage/index.md b/files/en-us/web/api/window/webkitconvertpointfromnodetopage/index.md index 5b8a5cd1a4d0ca0..e4a2ac1280eb377 100644 --- a/files/en-us/web/api/window/webkitconvertpointfromnodetopage/index.md +++ b/files/en-us/web/api/window/webkitconvertpointfromnodetopage/index.md @@ -30,7 +30,7 @@ non-standard and _should not be used_. ## Syntax -```js +```js-nolint convertPointFromNodeToPage(node, nodePoint) ``` diff --git a/files/en-us/web/api/window/webkitconvertpointfrompagetonode/index.md b/files/en-us/web/api/window/webkitconvertpointfrompagetonode/index.md index cdd193a3215a0ed..0abda1d833ada19 100644 --- a/files/en-us/web/api/window/webkitconvertpointfrompagetonode/index.md +++ b/files/en-us/web/api/window/webkitconvertpointfrompagetonode/index.md @@ -29,7 +29,7 @@ system of the specified DOM {{domxref("Node")}}. ## Syntax -```js +```js-nolint convertPointFromPageToNode(node, pagePoint) ``` diff --git a/files/en-us/web/api/windowclient/focus/index.md b/files/en-us/web/api/windowclient/focus/index.md index 73ee1e1fb5af442..1971ea6151012fa 100644 --- a/files/en-us/web/api/windowclient/focus/index.md +++ b/files/en-us/web/api/windowclient/focus/index.md @@ -22,7 +22,7 @@ interface gives user input focus to the current client and returns a ## Syntax -```js +```js-nolint focus() ``` diff --git a/files/en-us/web/api/windowclient/navigate/index.md b/files/en-us/web/api/windowclient/navigate/index.md index c43386ecd38013c..d17114bfb35d5f2 100644 --- a/files/en-us/web/api/windowclient/navigate/index.md +++ b/files/en-us/web/api/windowclient/navigate/index.md @@ -21,7 +21,7 @@ interface loads a specified URL into a controlled client page then returns a ## Syntax -```js +```js-nolint navigate(url) ``` diff --git a/files/en-us/web/api/windowcontrolsoverlay/gettitlebararearect/index.md b/files/en-us/web/api/windowcontrolsoverlay/gettitlebararearect/index.md index 3a2a4904d67061f..ab75a1cc17c1d30 100644 --- a/files/en-us/web/api/windowcontrolsoverlay/gettitlebararearect/index.md +++ b/files/en-us/web/api/windowcontrolsoverlay/gettitlebararearect/index.md @@ -19,7 +19,7 @@ This only applies to Progressive Web Apps installed on desktop operating systems ## Syntax -```js +```js-nolint getTitlebarAreaRect() ``` diff --git a/files/en-us/web/api/windowcontrolsoverlaygeometrychangeevent/windowcontrolsoverlaygeometrychangeevent/index.md b/files/en-us/web/api/windowcontrolsoverlaygeometrychangeevent/windowcontrolsoverlaygeometrychangeevent/index.md index b6778f20dfa535c..b0743861e13c085 100644 --- a/files/en-us/web/api/windowcontrolsoverlaygeometrychangeevent/windowcontrolsoverlaygeometrychangeevent/index.md +++ b/files/en-us/web/api/windowcontrolsoverlaygeometrychangeevent/windowcontrolsoverlaygeometrychangeevent/index.md @@ -17,7 +17,7 @@ The **`WindowControlsOverlayGeometryChangeEvent()`** constructor returns a newly ## Syntax -```js +```js-nolint new WindowControlsOverlayGeometryChangeEvent(type, options) ``` diff --git a/files/en-us/web/api/worker/postmessage/index.md b/files/en-us/web/api/worker/postmessage/index.md index c669d389859ab66..239bf0dd2f6a595 100644 --- a/files/en-us/web/api/worker/postmessage/index.md +++ b/files/en-us/web/api/worker/postmessage/index.md @@ -23,7 +23,7 @@ The `Worker` can send back information to the thread that spawned it using the { ## Syntax -```js +```js-nolint postMessage(message) postMessage(message, transfer) ``` diff --git a/files/en-us/web/api/worker/terminate/index.md b/files/en-us/web/api/worker/terminate/index.md index 70add6d11c7592c..b46dafce2350ec7 100644 --- a/files/en-us/web/api/worker/terminate/index.md +++ b/files/en-us/web/api/worker/terminate/index.md @@ -18,7 +18,7 @@ The **`terminate()`** method of the {{domxref("Worker")}} interface immediately ## Syntax -```js +```js-nolint terminate() ``` diff --git a/files/en-us/web/api/worker/worker/index.md b/files/en-us/web/api/worker/worker/index.md index f51da3f7d35ad5f..7da380f300d8031 100644 --- a/files/en-us/web/api/worker/worker/index.md +++ b/files/en-us/web/api/worker/worker/index.md @@ -19,7 +19,7 @@ The **`Worker()`** constructor creates a {{domxref("Worker")}} object that execu ## Syntax -```js +```js-nolint new Worker(aURL) new Worker(aURL, options) ``` diff --git a/files/en-us/web/api/workerglobalscope/dump/index.md b/files/en-us/web/api/workerglobalscope/dump/index.md index 613abfc2b9768dc..5a7ebff5cb0e88f 100644 --- a/files/en-us/web/api/workerglobalscope/dump/index.md +++ b/files/en-us/web/api/workerglobalscope/dump/index.md @@ -22,7 +22,7 @@ Output from `dump()` is _not_ sent to the browser's developer tools console. To ## Syntax -```js +```js-nolint dump(message) ``` diff --git a/files/en-us/web/api/workerglobalscope/importscripts/index.md b/files/en-us/web/api/workerglobalscope/importscripts/index.md index 07e435042ecfbc1..7b533bca9dbb687 100644 --- a/files/en-us/web/api/workerglobalscope/importscripts/index.md +++ b/files/en-us/web/api/workerglobalscope/importscripts/index.md @@ -18,7 +18,7 @@ The **`importScripts()`** method of the {{domxref("WorkerGlobalScope")}} interfa ## Syntax -```js +```js-nolint importScripts(path0) importScripts(path0, path1) importScripts(path0, path1, /* … ,*/ pathN) diff --git a/files/en-us/web/api/workerlocation/tostring/index.md b/files/en-us/web/api/workerlocation/tostring/index.md index 24e86307a87cd11..f250274e3fe958e 100644 --- a/files/en-us/web/api/workerlocation/tostring/index.md +++ b/files/en-us/web/api/workerlocation/tostring/index.md @@ -17,7 +17,7 @@ The **`toString()`** {{Glossary("stringifier")}} method of a {{domxref("WorkerLo ## Syntax -```js +```js-nolint toString() ``` diff --git a/files/en-us/web/api/worklet/addmodule/index.md b/files/en-us/web/api/worklet/addmodule/index.md index b8140c750f57220..fdba955e2b36cf0 100644 --- a/files/en-us/web/api/worklet/addmodule/index.md +++ b/files/en-us/web/api/worklet/addmodule/index.md @@ -24,7 +24,7 @@ adds it to the current `Worklet`. ## Syntax -```js +```js-nolint addModule(moduleURL) addModule(moduleURL, options) ``` diff --git a/files/en-us/web/api/writablestream/abort/index.md b/files/en-us/web/api/writablestream/abort/index.md index bee414696f07ad5..51c7510b28c69bb 100644 --- a/files/en-us/web/api/writablestream/abort/index.md +++ b/files/en-us/web/api/writablestream/abort/index.md @@ -18,7 +18,7 @@ The **`abort()`** method of the {{domxref("WritableStream")}} interface aborts t ## Syntax -```js +```js-nolint abort(reason) ``` diff --git a/files/en-us/web/api/writablestream/getwriter/index.md b/files/en-us/web/api/writablestream/getwriter/index.md index c15e198723d663f..afa5564a6829a6c 100644 --- a/files/en-us/web/api/writablestream/getwriter/index.md +++ b/files/en-us/web/api/writablestream/getwriter/index.md @@ -19,7 +19,7 @@ While the stream is locked, no other writer can be acquired until this one is re ## Syntax -```js +```js-nolint getWriter() ```