diff --git a/files/en-us/web/api/ndefrecord/recordtype/index.md b/files/en-us/web/api/ndefrecord/recordtype/index.md index 2e839cb808d7b1a..cd3a19c17d648d0 100644 --- a/files/en-us/web/api/ndefrecord/recordtype/index.md +++ b/files/en-us/web/api/ndefrecord/recordtype/index.md @@ -17,7 +17,7 @@ property of the {{DOMxRef("NDEFRecord")}} interface returns the record type of t ## Syntax -```js +```js-nolint NDEFRecord.recordType ``` diff --git a/files/en-us/web/api/ndefrecord/torecords/index.md b/files/en-us/web/api/ndefrecord/torecords/index.md index b1c5618f3a22eea..c0bf543c666a992 100644 --- a/files/en-us/web/api/ndefrecord/torecords/index.md +++ b/files/en-us/web/api/ndefrecord/torecords/index.md @@ -21,8 +21,8 @@ as smart poster and external type records. ## Syntax -```js -NDEFRecord.toRecords() +```js-nolint +toRecords() ``` ### Parameters diff --git a/files/en-us/web/api/node/appendchild/index.md b/files/en-us/web/api/node/appendchild/index.md index 1a66633afc51959..124d37855575037 100644 --- a/files/en-us/web/api/node/appendchild/index.md +++ b/files/en-us/web/api/node/appendchild/index.md @@ -20,7 +20,7 @@ If the given child is a {{domxref("DocumentFragment")}}, the entire contents of ## Syntax -```js +```js-nolint appendChild(aChild) ``` diff --git a/files/en-us/web/api/node/clonenode/index.md b/files/en-us/web/api/node/clonenode/index.md index 3085bd33bfa9671..dd74e604b965ac2 100644 --- a/files/en-us/web/api/node/clonenode/index.md +++ b/files/en-us/web/api/node/clonenode/index.md @@ -34,9 +34,9 @@ To clone a node to insert into a _different_ document, use ## Syntax -```js -cloneNode(); -cloneNode(deep); +```js-nolint +cloneNode() +cloneNode(deep) ``` ### Parameters diff --git a/files/en-us/web/api/node/comparedocumentposition/index.md b/files/en-us/web/api/node/comparedocumentposition/index.md index fc09f4b58b03f23..ef310e69f760b3c 100644 --- a/files/en-us/web/api/node/comparedocumentposition/index.md +++ b/files/en-us/web/api/node/comparedocumentposition/index.md @@ -15,8 +15,8 @@ reports the position of its argument node relative to the node on which it is ca ## Syntax -```js -compareDocumentPosition(otherNode); +```js-nolint +compareDocumentPosition(otherNode) ``` ### Parameters diff --git a/files/en-us/web/api/node/contains/index.md b/files/en-us/web/api/node/contains/index.md index 95c98f1fbea45a1..1a5c6887a604453 100644 --- a/files/en-us/web/api/node/contains/index.md +++ b/files/en-us/web/api/node/contains/index.md @@ -20,8 +20,8 @@ one of the children's direct children, and so on. ## Syntax -```js -contains(otherNode); +```js-nolint +contains(otherNode) ``` ### Parameters diff --git a/files/en-us/web/api/node/getrootnode/index.md b/files/en-us/web/api/node/getrootnode/index.md index 0f3b8b3b8669b4c..730c9788b843d81 100644 --- a/files/en-us/web/api/node/getrootnode/index.md +++ b/files/en-us/web/api/node/getrootnode/index.md @@ -16,9 +16,9 @@ which optionally includes the shadow root if it is available. ## Syntax -```js -getRootNode(); -getRootNode(options); +```js-nolint +getRootNode() +getRootNode(options) ``` ### Parameters diff --git a/files/en-us/web/api/node/haschildnodes/index.md b/files/en-us/web/api/node/haschildnodes/index.md index a85e1e3fb80e77a..9e8629551888bc2 100644 --- a/files/en-us/web/api/node/haschildnodes/index.md +++ b/files/en-us/web/api/node/haschildnodes/index.md @@ -17,8 +17,8 @@ whether the given {{domxref("Node")}} has [child nodes](/en-US/docs/Web/API/Node ## Syntax -```js -hasChildNodes(); +```js-nolint +hasChildNodes() ``` ### Parameters diff --git a/files/en-us/web/api/node/insertbefore/index.md b/files/en-us/web/api/node/insertbefore/index.md index 5c818bb5e7a7056..2f3413541559318 100644 --- a/files/en-us/web/api/node/insertbefore/index.md +++ b/files/en-us/web/api/node/insertbefore/index.md @@ -30,8 +30,8 @@ node. ## Syntax -```js -insertBefore(newNode, referenceNode); +```js-nolint +insertBefore(newNode, referenceNode) ``` ### Parameters diff --git a/files/en-us/web/api/node/isdefaultnamespace/index.md b/files/en-us/web/api/node/isdefaultnamespace/index.md index 7732e7c42ae3b2b..8ce7dae13974b62 100644 --- a/files/en-us/web/api/node/isdefaultnamespace/index.md +++ b/files/en-us/web/api/node/isdefaultnamespace/index.md @@ -20,8 +20,8 @@ and `false` if not. ## Syntax -```js -isDefaultNamespace(namespaceURI); +```js-nolint +isDefaultNamespace(namespaceURI) ``` ### Parameters diff --git a/files/en-us/web/api/node/isequalnode/index.md b/files/en-us/web/api/node/isequalnode/index.md index fdaa0e95d630303..831ea01ffdca4e1 100644 --- a/files/en-us/web/api/node/isequalnode/index.md +++ b/files/en-us/web/api/node/isequalnode/index.md @@ -18,8 +18,8 @@ the types of the nodes. ## Syntax -```js -isEqualNode(otherNode); +```js-nolint +isEqualNode(otherNode) ``` ### Parameters diff --git a/files/en-us/web/api/node/issamenode/index.md b/files/en-us/web/api/node/issamenode/index.md index 5af4769b19da16f..b8910e5da835e0e 100644 --- a/files/en-us/web/api/node/issamenode/index.md +++ b/files/en-us/web/api/node/issamenode/index.md @@ -19,8 +19,8 @@ That is, it tests whether two nodes are the same ## Syntax -```js -isSameNode(otherNode); +```js-nolint +isSameNode(otherNode) ``` ### Parameters diff --git a/files/en-us/web/api/node/issupported/index.md b/files/en-us/web/api/node/issupported/index.md index 35f0aafa31d9c5b..663baf4a3c8335f 100644 --- a/files/en-us/web/api/node/issupported/index.md +++ b/files/en-us/web/api/node/issupported/index.md @@ -17,8 +17,8 @@ specific feature and this feature is supported by the specific node. ## Syntax -```js -isSupported(feature, version); +```js-nolint +isSupported(feature, version) ``` ### Parameters diff --git a/files/en-us/web/api/node/lookupnamespaceuri/index.md b/files/en-us/web/api/node/lookupnamespaceuri/index.md index 7464f62f0d22a8f..e4cd030494a828b 100644 --- a/files/en-us/web/api/node/lookupnamespaceuri/index.md +++ b/files/en-us/web/api/node/lookupnamespaceuri/index.md @@ -16,8 +16,8 @@ takes a prefix as parameter and returns the namespace URI associated with it on ## Syntax -```js -lookupNamespaceURI(prefix); +```js-nolint +lookupNamespaceURI(prefix) ``` ### Parameters diff --git a/files/en-us/web/api/node/lookupprefix/index.md b/files/en-us/web/api/node/lookupprefix/index.md index 2435d689d2178b3..af3e043a991c2d3 100644 --- a/files/en-us/web/api/node/lookupprefix/index.md +++ b/files/en-us/web/api/node/lookupprefix/index.md @@ -17,8 +17,8 @@ When multiple prefixes are possible, the first prefix is returned. ## Syntax -```js -lookupPrefix(namespace); +```js-nolint +lookupPrefix(namespace) ``` ### Parameters diff --git a/files/en-us/web/api/node/normalize/index.md b/files/en-us/web/api/node/normalize/index.md index 1ddac7fb1f63195..d11dbc3c07412de 100644 --- a/files/en-us/web/api/node/normalize/index.md +++ b/files/en-us/web/api/node/normalize/index.md @@ -16,8 +16,8 @@ In a normalized sub-tree, no text nodes in the sub-tree are empty and there are ## Syntax -```js -normalize(); +```js-nolint +normalize() ``` ### Parameters diff --git a/files/en-us/web/api/node/removechild/index.md b/files/en-us/web/api/node/removechild/index.md index f01c8ff8fe8120a..e7a9a572bbbeb07 100644 --- a/files/en-us/web/api/node/removechild/index.md +++ b/files/en-us/web/api/node/removechild/index.md @@ -24,8 +24,8 @@ Unlike {{domxref("Node.cloneNode()")}} the return value preserves the {{domxref( ## Syntax -```js -removeChild(child); +```js-nolint +removeChild(child) ``` ### Parameters diff --git a/files/en-us/web/api/node/replacechild/index.md b/files/en-us/web/api/node/replacechild/index.md index e4a246c391f03aa..fdd4aa05f5a8d91 100644 --- a/files/en-us/web/api/node/replacechild/index.md +++ b/files/en-us/web/api/node/replacechild/index.md @@ -15,8 +15,8 @@ replaces a child node within the given (parent) node. ## Syntax -```js -replaceChild(newChild, oldChild); +```js-nolint +replaceChild(newChild, oldChild) ``` ### Parameters diff --git a/files/en-us/web/api/nodeiterator/detach/index.md b/files/en-us/web/api/nodeiterator/detach/index.md index 090d2df555a8ca0..8340d5334384583 100644 --- a/files/en-us/web/api/nodeiterator/detach/index.md +++ b/files/en-us/web/api/nodeiterator/detach/index.md @@ -23,7 +23,7 @@ iterates, releasing any resources used by the set and setting the iterator's sta ## Syntax -```js +```js-nolint detach() ``` diff --git a/files/en-us/web/api/nodeiterator/nextnode/index.md b/files/en-us/web/api/nodeiterator/nextnode/index.md index 6def29e0aae61a6..6d905a8a362a32d 100644 --- a/files/en-us/web/api/nodeiterator/nextnode/index.md +++ b/files/en-us/web/api/nodeiterator/nextnode/index.md @@ -26,7 +26,7 @@ throw. ## Syntax -```js +```js-nolint nextNode() ``` diff --git a/files/en-us/web/api/nodeiterator/previousnode/index.md b/files/en-us/web/api/nodeiterator/previousnode/index.md index f755e4b6b46bd0f..2483ce2d81fad67 100644 --- a/files/en-us/web/api/nodeiterator/previousnode/index.md +++ b/files/en-us/web/api/nodeiterator/previousnode/index.md @@ -26,7 +26,7 @@ throw. ## Syntax -```js +```js-nolint previousNode() ``` diff --git a/files/en-us/web/api/nodelist/entries/index.md b/files/en-us/web/api/nodelist/entries/index.md index 5ba469cf87c36d9..42f05cfa01174a3 100644 --- a/files/en-us/web/api/nodelist/entries/index.md +++ b/files/en-us/web/api/nodelist/entries/index.md @@ -20,8 +20,8 @@ contained in this object. The values are {{domxref("Node")}} objects. ## Syntax -```js -list.entries(); +```js-nolint +entries() ``` ### Return value diff --git a/files/en-us/web/api/nodelist/foreach/index.md b/files/en-us/web/api/nodelist/foreach/index.md index add582d0e864751..0072f87c1029c7f 100644 --- a/files/en-us/web/api/nodelist/foreach/index.md +++ b/files/en-us/web/api/nodelist/foreach/index.md @@ -21,9 +21,9 @@ insertion order. ## Syntax -```js -someNodeList.forEach(callback); -someNodeList.forEach(callback, thisArg); +```js-nolint +forEach(callback) +forEach(callback, thisArg) ``` ### Parameters diff --git a/files/en-us/web/api/nodelist/item/index.md b/files/en-us/web/api/nodelist/item/index.md index db24fc97de92eb9..7507918f2152540 100644 --- a/files/en-us/web/api/nodelist/item/index.md +++ b/files/en-us/web/api/nodelist/item/index.md @@ -20,7 +20,7 @@ argument is provided. ## Syntax -```js +```js-nolint item(index) ``` diff --git a/files/en-us/web/api/nodelist/keys/index.md b/files/en-us/web/api/nodelist/keys/index.md index 92f25c90b7a34a2..dd0fa5f1890e0d9 100644 --- a/files/en-us/web/api/nodelist/keys/index.md +++ b/files/en-us/web/api/nodelist/keys/index.md @@ -21,8 +21,8 @@ in this object. The keys are `unsigned integer`. ## Syntax -```js -nodeList.keys(); +```js-nolint +keys() ``` ### Return value diff --git a/files/en-us/web/api/nodelist/values/index.md b/files/en-us/web/api/nodelist/values/index.md index 85fca59eba70e2a..87f55919b0e6f78 100644 --- a/files/en-us/web/api/nodelist/values/index.md +++ b/files/en-us/web/api/nodelist/values/index.md @@ -21,8 +21,8 @@ in this object. The values are {{domxref("Node")}} objects. ## Syntax -```js -nodeList.values(); +```js-nolint +values() ``` ### Return value diff --git a/files/en-us/web/api/notification/close/index.md b/files/en-us/web/api/notification/close/index.md index dc9a57946e147ce..556f141a7dfbdee 100644 --- a/files/en-us/web/api/notification/close/index.md +++ b/files/en-us/web/api/notification/close/index.md @@ -28,7 +28,7 @@ close/remove a previously displayed notification. ## Syntax -```js +```js-nolint close() ``` diff --git a/files/en-us/web/api/notification/notification/index.md b/files/en-us/web/api/notification/notification/index.md index 40381117d5f03b7..f7539dc2ddaa266 100644 --- a/files/en-us/web/api/notification/notification/index.md +++ b/files/en-us/web/api/notification/notification/index.md @@ -19,7 +19,7 @@ The **`Notification()`** constructor creates a new ## Syntax -```js +```js-nolint new Notification(title) new Notification(title, options) ``` diff --git a/files/en-us/web/api/notification/requestpermission/index.md b/files/en-us/web/api/notification/requestpermission/index.md index c584304072a9d6a..e84881cad6b4044 100644 --- a/files/en-us/web/api/notification/requestpermission/index.md +++ b/files/en-us/web/api/notification/requestpermission/index.md @@ -20,7 +20,7 @@ The **`requestPermission()`** method of the {{domxref("Notification")}} interfac ## Syntax -```js +```js-nolint // The latest spec has updated this method to a promise-based syntax that works like this: requestPermission() diff --git a/files/en-us/web/api/notificationevent/notificationevent/index.md b/files/en-us/web/api/notificationevent/notificationevent/index.md index 1926ea6e9a8776b..1738bce45c7ea25 100644 --- a/files/en-us/web/api/notificationevent/notificationevent/index.md +++ b/files/en-us/web/api/notificationevent/notificationevent/index.md @@ -18,7 +18,7 @@ The **`NotificationEvent()`** constructor creates a new {{domxref("NotificationE ## Syntax -```js +```js-nolint new NotificationEvent(type, options) ``` diff --git a/files/en-us/web/api/oes_vertex_array_object/bindvertexarrayoes/index.md b/files/en-us/web/api/oes_vertex_array_object/bindvertexarrayoes/index.md index 6a512d288f0735d..b0bcbce2b869011 100644 --- a/files/en-us/web/api/oes_vertex_array_object/bindvertexarrayoes/index.md +++ b/files/en-us/web/api/oes_vertex_array_object/bindvertexarrayoes/index.md @@ -20,7 +20,7 @@ passed {{domxref("WebGLVertexArrayObject")}} object to the buffer. ## Syntax -```js +```js-nolint bindVertexArrayOES(arrayObject) ``` diff --git a/files/en-us/web/api/oes_vertex_array_object/createvertexarrayoes/index.md b/files/en-us/web/api/oes_vertex_array_object/createvertexarrayoes/index.md index 7ff4e00e7246667..d83bb23f51d0780 100644 --- a/files/en-us/web/api/oes_vertex_array_object/createvertexarrayoes/index.md +++ b/files/en-us/web/api/oes_vertex_array_object/createvertexarrayoes/index.md @@ -22,7 +22,7 @@ data. ## Syntax -```js +```js-nolint createVertexArrayOES() ``` diff --git a/files/en-us/web/api/oes_vertex_array_object/deletevertexarrayoes/index.md b/files/en-us/web/api/oes_vertex_array_object/deletevertexarrayoes/index.md index 09e22abdd6d9085..e23e5b4f4f956ab 100644 --- a/files/en-us/web/api/oes_vertex_array_object/deletevertexarrayoes/index.md +++ b/files/en-us/web/api/oes_vertex_array_object/deletevertexarrayoes/index.md @@ -20,7 +20,7 @@ of the [WebGL API](/en-US/docs/Web/API/WebGL_API) deletes a given ## Syntax -```js +```js-nolint deleteVertexArrayOES(arrayObject) ``` diff --git a/files/en-us/web/api/oes_vertex_array_object/isvertexarrayoes/index.md b/files/en-us/web/api/oes_vertex_array_object/isvertexarrayoes/index.md index 9bdce4a283a49ce..6446bc3bccb1337 100644 --- a/files/en-us/web/api/oes_vertex_array_object/isvertexarrayoes/index.md +++ b/files/en-us/web/api/oes_vertex_array_object/isvertexarrayoes/index.md @@ -20,7 +20,7 @@ the passed object is a {{domxref("WebGLVertexArrayObject")}} object. ## Syntax -```js +```js-nolint isVertexArrayOES(arrayObject) ``` diff --git a/files/en-us/web/api/offlineaudiocompletionevent/offlineaudiocompletionevent/index.md b/files/en-us/web/api/offlineaudiocompletionevent/offlineaudiocompletionevent/index.md index 16d572dccef08cc..b82919e24a8faed 100644 --- a/files/en-us/web/api/offlineaudiocompletionevent/offlineaudiocompletionevent/index.md +++ b/files/en-us/web/api/offlineaudiocompletionevent/offlineaudiocompletionevent/index.md @@ -23,7 +23,7 @@ The **`OfflineAudioCompletionEvent()`** constructor of the [Web Audio API](/en-U ## Syntax -```js +```js-nolint new OfflineAudioCompletionEvent(type, options) ``` diff --git a/files/en-us/web/api/offlineaudiocontext/offlineaudiocontext/index.md b/files/en-us/web/api/offlineaudiocontext/offlineaudiocontext/index.md index 5c6913256bca026..5a1421888d9418e 100644 --- a/files/en-us/web/api/offlineaudiocontext/offlineaudiocontext/index.md +++ b/files/en-us/web/api/offlineaudiocontext/offlineaudiocontext/index.md @@ -22,7 +22,7 @@ audio to an {{domxref("AudioBuffer")}} rather than to an audio output device. ## Syntax -```js +```js-nolint new OfflineAudioContext(options) new OfflineAudioContext(numberOfChannels, length, sampleRate) diff --git a/files/en-us/web/api/offlineaudiocontext/resume/index.md b/files/en-us/web/api/offlineaudiocontext/resume/index.md index b0e53fb9b4ef4f7..405c26a41520274 100644 --- a/files/en-us/web/api/offlineaudiocontext/resume/index.md +++ b/files/en-us/web/api/offlineaudiocontext/resume/index.md @@ -22,7 +22,7 @@ context that has been suspended. The promise resolves immediately because the ## Syntax -```js +```js-nolint resume() ``` diff --git a/files/en-us/web/api/offlineaudiocontext/startrendering/index.md b/files/en-us/web/api/offlineaudiocontext/startrendering/index.md index a9faea2e8ed53e1..207e0f1030900e6 100644 --- a/files/en-us/web/api/offlineaudiocontext/startrendering/index.md +++ b/files/en-us/web/api/offlineaudiocontext/startrendering/index.md @@ -28,7 +28,7 @@ eventually be removed, but currently both mechanisms are provided for legacy rea ## Syntax -```js +```js-nolint startRendering() ``` diff --git a/files/en-us/web/api/offlineaudiocontext/suspend/index.md b/files/en-us/web/api/offlineaudiocontext/suspend/index.md index 3f137e7855c28c5..b8c03cdb9d8409a 100644 --- a/files/en-us/web/api/offlineaudiocontext/suspend/index.md +++ b/files/en-us/web/api/offlineaudiocontext/suspend/index.md @@ -29,7 +29,7 @@ precise suspension. ## Syntax -```js +```js-nolint suspend(suspendTime) ``` diff --git a/files/en-us/web/api/offscreencanvas/converttoblob/index.md b/files/en-us/web/api/offscreencanvas/converttoblob/index.md index e526122ec5c140c..44958578a1d2dfc 100644 --- a/files/en-us/web/api/offscreencanvas/converttoblob/index.md +++ b/files/en-us/web/api/offscreencanvas/converttoblob/index.md @@ -24,7 +24,7 @@ The created image will have a resolution of 96dpi for file formats that support ## Syntax -```js +```js-nolint convertToBlob() convertToBlob(options) ``` diff --git a/files/en-us/web/api/offscreencanvas/getcontext/index.md b/files/en-us/web/api/offscreencanvas/getcontext/index.md index 02a1df7e38f5fe2..cf516411d905033 100644 --- a/files/en-us/web/api/offscreencanvas/getcontext/index.md +++ b/files/en-us/web/api/offscreencanvas/getcontext/index.md @@ -18,7 +18,7 @@ The **`OffscreenCanvas.getContext()`** method returns a drawing context for an o ## Syntax -```js +```js-nolint getContext(contextType, contextAttributes) ``` diff --git a/files/en-us/web/api/offscreencanvas/offscreencanvas/index.md b/files/en-us/web/api/offscreencanvas/offscreencanvas/index.md index c780ae6249c8a3a..13d88d0b57a922e 100644 --- a/files/en-us/web/api/offscreencanvas/offscreencanvas/index.md +++ b/files/en-us/web/api/offscreencanvas/offscreencanvas/index.md @@ -20,7 +20,7 @@ instantiated {{domxref("OffscreenCanvas")}} object. ## Syntax -```js +```js-nolint new OffscreenCanvas(width, height) ``` diff --git a/files/en-us/web/api/offscreencanvas/transfertoimagebitmap/index.md b/files/en-us/web/api/offscreencanvas/transfertoimagebitmap/index.md index a6e969d34c5377d..572794ca2b455a2 100644 --- a/files/en-us/web/api/offscreencanvas/transfertoimagebitmap/index.md +++ b/files/en-us/web/api/offscreencanvas/transfertoimagebitmap/index.md @@ -20,7 +20,7 @@ the `OffscreenCanvas`. ## Syntax -```js +```js-nolint transferToImageBitmap() ``` diff --git a/files/en-us/web/api/offscreencanvasrenderingcontext2d/commit/index.md b/files/en-us/web/api/offscreencanvasrenderingcontext2d/commit/index.md index 3dcec6678c7d5da..d477e3915e1f31b 100644 --- a/files/en-us/web/api/offscreencanvasrenderingcontext2d/commit/index.md +++ b/files/en-us/web/api/offscreencanvasrenderingcontext2d/commit/index.md @@ -20,7 +20,7 @@ The copy operation is synchronous. Calling this method is not needed for the tra ## Syntax -```js +```js-nolint commit() ``` diff --git a/files/en-us/web/api/orientationsensor/populatematrix/index.md b/files/en-us/web/api/orientationsensor/populatematrix/index.md index d598a5cd48c4d55..5b4af4f19bc7d39 100644 --- a/files/en-us/web/api/orientationsensor/populatematrix/index.md +++ b/files/en-us/web/api/orientationsensor/populatematrix/index.md @@ -39,7 +39,7 @@ instructions. ## Syntax -```js +```js-nolint populateMatrix(targetMatrix) ``` diff --git a/files/en-us/web/api/oscillatornode/oscillatornode/index.md b/files/en-us/web/api/oscillatornode/oscillatornode/index.md index 5323058aa2776a0..e0339a41c421473 100644 --- a/files/en-us/web/api/oscillatornode/oscillatornode/index.md +++ b/files/en-us/web/api/oscillatornode/oscillatornode/index.md @@ -26,7 +26,7 @@ If the default values of the properties are acceptable, you can optionally use t ## Syntax -```js +```js-nolint new OscillatorNode(context, options) ``` diff --git a/files/en-us/web/api/oscillatornode/setperiodicwave/index.md b/files/en-us/web/api/oscillatornode/setperiodicwave/index.md index df0dd3dbb7e06a1..ba3561e0ef6e62a 100644 --- a/files/en-us/web/api/oscillatornode/setperiodicwave/index.md +++ b/files/en-us/web/api/oscillatornode/setperiodicwave/index.md @@ -21,7 +21,7 @@ defining a periodic waveform that can be used to shape the oscillator's output, ## Syntax -```js +```js-nolint setPeriodicWave(wave) ``` diff --git a/files/en-us/web/api/overconstrainederror/overconstrainederror/index.md b/files/en-us/web/api/overconstrainederror/overconstrainederror/index.md index 5a672e9aec7eede..475623d80983221 100644 --- a/files/en-us/web/api/overconstrainederror/overconstrainederror/index.md +++ b/files/en-us/web/api/overconstrainederror/overconstrainederror/index.md @@ -26,7 +26,7 @@ applied. ## Syntax -```js +```js-nolint new OverconstrainedError() ``` diff --git a/files/en-us/web/api/ovr_multiview2/framebuffertexturemultiviewovr/index.md b/files/en-us/web/api/ovr_multiview2/framebuffertexturemultiviewovr/index.md index 34607c19837a673..f0f3a3fd99dab65 100644 --- a/files/en-us/web/api/ovr_multiview2/framebuffertexturemultiviewovr/index.md +++ b/files/en-us/web/api/ovr_multiview2/framebuffertexturemultiviewovr/index.md @@ -22,7 +22,7 @@ texture to a {{domxref("WebGLFramebuffer")}}. ## Syntax -```js +```js-nolint framebufferTextureMultiviewOVR(target, attachment, texture, level, baseViewIndex, numViews) ``` diff --git a/files/en-us/web/api/paintworklet/registerpaint/index.md b/files/en-us/web/api/paintworklet/registerpaint/index.md index 7c7b2579e70b5a1..449b68556c13331 100644 --- a/files/en-us/web/api/paintworklet/registerpaint/index.md +++ b/files/en-us/web/api/paintworklet/registerpaint/index.md @@ -25,7 +25,7 @@ image where a CSS property expects a file. ## Syntax -```js +```js-nolint registerPaint(name, classRef) ``` diff --git a/files/en-us/web/api/pannernode/pannernode/index.md b/files/en-us/web/api/pannernode/pannernode/index.md index e91a49467f66d82..250d2b11fbd128c 100644 --- a/files/en-us/web/api/pannernode/pannernode/index.md +++ b/files/en-us/web/api/pannernode/pannernode/index.md @@ -18,7 +18,7 @@ The **`PannerNode()`** constructor of the [Web Audio API](/en-US/docs/Web/API/We ## Syntax -```js +```js-nolint new PannerNode(context) new PannerNode(context, options) ``` diff --git a/files/en-us/web/api/pannernode/setorientation/index.md b/files/en-us/web/api/pannernode/setorientation/index.md index 17faf8711384dc6..98046c3916812e7 100644 --- a/files/en-us/web/api/pannernode/setorientation/index.md +++ b/files/en-us/web/api/pannernode/setorientation/index.md @@ -25,7 +25,7 @@ The three parameters `x`, `y` and `z` are unitless and describe a direction vect ## Syntax -```js +```js-nolint setOrientation(x, y, z) ``` diff --git a/files/en-us/web/api/pannernode/setposition/index.md b/files/en-us/web/api/pannernode/setposition/index.md index c826917a3ead022..c25fce9c9d0abfb 100644 --- a/files/en-us/web/api/pannernode/setposition/index.md +++ b/files/en-us/web/api/pannernode/setposition/index.md @@ -23,7 +23,7 @@ The `setPosition()` method's default value of the position is `(0,` `0,` `0)`. ## Syntax -```js +```js-nolint setPosition(x, y, z) ``` diff --git a/files/en-us/web/api/pannernode/setvelocity/index.md b/files/en-us/web/api/pannernode/setvelocity/index.md index 34b990ecc0622f5..9bc90ad05d471f2 100644 --- a/files/en-us/web/api/pannernode/setvelocity/index.md +++ b/files/en-us/web/api/pannernode/setvelocity/index.md @@ -27,7 +27,7 @@ As the vector controls both the direction of travel and its velocity, the three ## Syntax -```js +```js-nolint setVelocity(x, y, z) ``` diff --git a/files/en-us/web/api/passwordcredential/passwordcredential/index.md b/files/en-us/web/api/passwordcredential/passwordcredential/index.md index 5ff86dcdf247f3c..eec0a5bbf1bfee7 100644 --- a/files/en-us/web/api/passwordcredential/passwordcredential/index.md +++ b/files/en-us/web/api/passwordcredential/passwordcredential/index.md @@ -22,7 +22,7 @@ from the `init` object for global {{domxref('fetch()')}}. ## Syntax -```js +```js-nolint new PasswordCredential(passwordCredentialData) new PasswordCredential(htmlFormElement) ``` diff --git a/files/en-us/web/api/path2d/addpath/index.md b/files/en-us/web/api/path2d/addpath/index.md index 67c1bcdc619d66c..6f314273e4d9856 100644 --- a/files/en-us/web/api/path2d/addpath/index.md +++ b/files/en-us/web/api/path2d/addpath/index.md @@ -20,7 +20,7 @@ of the Canvas 2D API adds one {{domxref("Path2D")}} object to another ## Syntax -```js +```js-nolint addPath(path) addPath(path, transform) ``` diff --git a/files/en-us/web/api/path2d/path2d/index.md b/files/en-us/web/api/path2d/path2d/index.md index c76d8c539417283..dd8f9cc52075a60 100644 --- a/files/en-us/web/api/path2d/path2d/index.md +++ b/files/en-us/web/api/path2d/path2d/index.md @@ -22,7 +22,7 @@ copy), or optionally with a string consisting of [SVG path](/en-US/docs/Web/SVG/ ## Syntax -```js +```js-nolint new Path2D() new Path2D(path) new Path2D(d) diff --git a/files/en-us/web/api/paymentmethodchangeevent/paymentmethodchangeevent/index.md b/files/en-us/web/api/paymentmethodchangeevent/paymentmethodchangeevent/index.md index e7f07ed91e3e040..2afcea876311422 100644 --- a/files/en-us/web/api/paymentmethodchangeevent/paymentmethodchangeevent/index.md +++ b/files/en-us/web/api/paymentmethodchangeevent/paymentmethodchangeevent/index.md @@ -22,7 +22,7 @@ details about a {{domxref("PaymentRequest.paymentmethodchange_event", "paymentme ## Syntax -```js +```js-nolint new PaymentMethodChangeEvent(type) new PaymentMethodChangeEvent(type, options) ``` diff --git a/files/en-us/web/api/paymentrequest/abort/index.md b/files/en-us/web/api/paymentrequest/abort/index.md index 047aba4e69aa84b..ba2431655f31f9f 100644 --- a/files/en-us/web/api/paymentrequest/abort/index.md +++ b/files/en-us/web/api/paymentrequest/abort/index.md @@ -20,7 +20,7 @@ interface that might be shown. ## Syntax -```js +```js-nolint abort() ``` diff --git a/files/en-us/web/api/paymentrequest/canmakepayment/index.md b/files/en-us/web/api/paymentrequest/canmakepayment/index.md index d018eea4bc1ae39..a2b8635d3f90201 100644 --- a/files/en-us/web/api/paymentrequest/canmakepayment/index.md +++ b/files/en-us/web/api/paymentrequest/canmakepayment/index.md @@ -32,7 +32,7 @@ Request API (or even provide instructions for paying by mail or by phone). ## Syntax -```js +```js-nolint canMakePayment() ``` diff --git a/files/en-us/web/api/paymentrequest/paymentrequest/index.md b/files/en-us/web/api/paymentrequest/paymentrequest/index.md index 0fd1372c4c00dbe..ab1ea0e56c5d41c 100644 --- a/files/en-us/web/api/paymentrequest/paymentrequest/index.md +++ b/files/en-us/web/api/paymentrequest/paymentrequest/index.md @@ -22,7 +22,7 @@ process of generating, validating, and submitting a payment request. ## Syntax -```js +```js-nolint new PaymentRequest(methodData, details) new PaymentRequest(methodData, details, options) ``` diff --git a/files/en-us/web/api/paymentrequest/show/index.md b/files/en-us/web/api/paymentrequest/show/index.md index d719eac7dfc7738..63df540024ea54b 100644 --- a/files/en-us/web/api/paymentrequest/show/index.md +++ b/files/en-us/web/api/paymentrequest/show/index.md @@ -54,7 +54,7 @@ to wait asynchronously while results are validated and so forth. ## Syntax -```js +```js-nolint show() show(detailsPromise) ``` diff --git a/files/en-us/web/api/paymentrequestevent/openwindow/index.md b/files/en-us/web/api/paymentrequestevent/openwindow/index.md index c6d0277d71141a6..bef6078da565b3c 100644 --- a/files/en-us/web/api/paymentrequestevent/openwindow/index.md +++ b/files/en-us/web/api/paymentrequestevent/openwindow/index.md @@ -23,7 +23,7 @@ and only if the given URL is on the same origin as the calling page. It returns ## Syntax -```js +```js-nolint openWindow(url) ``` diff --git a/files/en-us/web/api/paymentrequestevent/paymentrequestevent/index.md b/files/en-us/web/api/paymentrequestevent/paymentrequestevent/index.md index 74c62cc04fbd6ff..f43a19e540214cb 100644 --- a/files/en-us/web/api/paymentrequestevent/paymentrequestevent/index.md +++ b/files/en-us/web/api/paymentrequestevent/paymentrequestevent/index.md @@ -22,7 +22,7 @@ a {{domxref("PaymentRequest")}} is made. ## Syntax -```js +```js-nolint new PaymentRequestEvent(type) new PaymentRequestEvent(type, options) ``` diff --git a/files/en-us/web/api/paymentrequestevent/respondwith/index.md b/files/en-us/web/api/paymentrequestevent/respondwith/index.md index dd40e634efe49d1..47689a4fdc428a4 100644 --- a/files/en-us/web/api/paymentrequestevent/respondwith/index.md +++ b/files/en-us/web/api/paymentrequestevent/respondwith/index.md @@ -23,7 +23,7 @@ object yourself. ## Syntax -```js +```js-nolint respondWith(promise) ``` diff --git a/files/en-us/web/api/paymentrequestupdateevent/paymentrequestupdateevent/index.md b/files/en-us/web/api/paymentrequestupdateevent/paymentrequestupdateevent/index.md index c0b6ffc8df3f9d0..866f0326c6e6d83 100644 --- a/files/en-us/web/api/paymentrequestupdateevent/paymentrequestupdateevent/index.md +++ b/files/en-us/web/api/paymentrequestupdateevent/paymentrequestupdateevent/index.md @@ -23,7 +23,7 @@ are made by passing options to the ## Syntax -```js +```js-nolint new PaymentRequestUpdateEvent() ``` diff --git a/files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md b/files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md index 80a14e53e24261e..dfca68802cc8af2 100644 --- a/files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md +++ b/files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md @@ -26,7 +26,7 @@ The **`updateWith()`** method of the ## Syntax -```js +```js-nolint updateWith(details) ``` diff --git a/files/en-us/web/api/paymentresponse/complete/index.md b/files/en-us/web/api/paymentresponse/complete/index.md index cc316d769e3bfc7..aeca3468ae42dd9 100644 --- a/files/en-us/web/api/paymentresponse/complete/index.md +++ b/files/en-us/web/api/paymentresponse/complete/index.md @@ -27,7 +27,7 @@ the payment request and the {{jsxref("Promise")}} returned by the ## Syntax -```js +```js-nolint complete() complete(result) ``` diff --git a/files/en-us/web/api/paymentresponse/retry/index.md b/files/en-us/web/api/paymentresponse/retry/index.md index ea31ec4f08351d5..f39ab3bfadcc3b3 100644 --- a/files/en-us/web/api/paymentresponse/retry/index.md +++ b/files/en-us/web/api/paymentresponse/retry/index.md @@ -28,7 +28,7 @@ cards. ## Syntax -```js +```js-nolint retry(errorFields) ``` diff --git a/files/en-us/web/api/performance/clearmarks/index.md b/files/en-us/web/api/performance/clearmarks/index.md index a26e467c36ee569..79758ef0ddec60b 100644 --- a/files/en-us/web/api/performance/clearmarks/index.md +++ b/files/en-us/web/api/performance/clearmarks/index.md @@ -22,7 +22,7 @@ removed from the performance entry buffer. ## Syntax -```js +```js-nolint clearMarks() clearMarks(name) ``` diff --git a/files/en-us/web/api/performance/clearmeasures/index.md b/files/en-us/web/api/performance/clearmeasures/index.md index 4c67caade1a1471..2492197624fabf9 100644 --- a/files/en-us/web/api/performance/clearmeasures/index.md +++ b/files/en-us/web/api/performance/clearmeasures/index.md @@ -22,7 +22,7 @@ removed from the performance entry buffer. ## Syntax -```js +```js-nolint clearMeasures() clearMeasures(name) ``` diff --git a/files/en-us/web/api/performance/clearresourcetimings/index.md b/files/en-us/web/api/performance/clearresourcetimings/index.md index 22dfe53ffeabaaa..93633d46d04ec8a 100644 --- a/files/en-us/web/api/performance/clearresourcetimings/index.md +++ b/files/en-us/web/api/performance/clearresourcetimings/index.md @@ -23,7 +23,7 @@ to zero. To set the size of the browser's performance data buffer, use the ## Syntax -```js +```js-nolint clearResourceTimings() ``` diff --git a/files/en-us/web/api/performance/getentries/index.md b/files/en-us/web/api/performance/getentries/index.md index a430244cf33d4fd..6e5b996ed39aecb 100644 --- a/files/en-us/web/api/performance/getentries/index.md +++ b/files/en-us/web/api/performance/getentries/index.md @@ -25,7 +25,7 @@ certain types or that have certain names, see {{domxref("Performance.getEntriesB ## Syntax -```js +```js-nolint getEntries() ``` diff --git a/files/en-us/web/api/performance/getentriesbyname/index.md b/files/en-us/web/api/performance/getentriesbyname/index.md index 687f48ca9f7b8c9..f385d1a5b79a714 100644 --- a/files/en-us/web/api/performance/getentriesbyname/index.md +++ b/files/en-us/web/api/performance/getentriesbyname/index.md @@ -22,7 +22,7 @@ _marks_ or _measures_ (for example by calling the ## Syntax -```js +```js-nolint getEntriesByName(name) getEntriesByName(name, type) ``` diff --git a/files/en-us/web/api/performance/getentriesbytype/index.md b/files/en-us/web/api/performance/getentriesbytype/index.md index 52c6e5975a2e4f7..d2ad400d844a819 100644 --- a/files/en-us/web/api/performance/getentriesbytype/index.md +++ b/files/en-us/web/api/performance/getentriesbytype/index.md @@ -22,7 +22,7 @@ method) at explicit points in time. ## Syntax -```js +```js-nolint getEntriesByType(type) ``` diff --git a/files/en-us/web/api/performance/mark/index.md b/files/en-us/web/api/performance/mark/index.md index 02eeb8f20c3a6c2..8332b81bc12f4aa 100644 --- a/files/en-us/web/api/performance/mark/index.md +++ b/files/en-us/web/api/performance/mark/index.md @@ -29,7 +29,7 @@ The `mark()'s` stores its data internally as ## Syntax -```js +```js-nolint mark(name) mark(name, markOptions) ``` diff --git a/files/en-us/web/api/performance/measure/index.md b/files/en-us/web/api/performance/measure/index.md index e0a052070bd3bce..c17ec759541c9f5 100644 --- a/files/en-us/web/api/performance/measure/index.md +++ b/files/en-us/web/api/performance/measure/index.md @@ -27,7 +27,7 @@ The `measure` can be retrieved using any of the {{domxref("Performance")}} inter ## Syntax -```js +```js-nolint measure(measureName) measure(measureName, MeasureOptions) measure(measureName, startMark) diff --git a/files/en-us/web/api/performance/memory/index.md b/files/en-us/web/api/performance/memory/index.md index a466db267f284b2..228c90399ca1c44 100644 --- a/files/en-us/web/api/performance/memory/index.md +++ b/files/en-us/web/api/performance/memory/index.md @@ -9,7 +9,7 @@ browser-compat: api.Performance.memory ## Syntax -```js +```js-nolint memoryInfo = performance.memory ``` diff --git a/files/en-us/web/api/performance/now/index.md b/files/en-us/web/api/performance/now/index.md index bbd7381c5847201..f3268065249da1c 100644 --- a/files/en-us/web/api/performance/now/index.md +++ b/files/en-us/web/api/performance/now/index.md @@ -39,7 +39,7 @@ are alleviated through other means. ## Syntax -```js +```js-nolint now() ``` diff --git a/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md b/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md index 6336bfb2e65e80d..3f2f34f7f88b593 100644 --- a/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md +++ b/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md @@ -24,7 +24,7 @@ A browser's recommended resource timing buffer size is at least 150 ## Syntax -```js +```js-nolint setResourceTimingBufferSize(maxSize) ``` diff --git a/files/en-us/web/api/performance/tojson/index.md b/files/en-us/web/api/performance/tojson/index.md index ea024451b022905..f064f40b0dbe2f0 100644 --- a/files/en-us/web/api/performance/tojson/index.md +++ b/files/en-us/web/api/performance/tojson/index.md @@ -20,7 +20,7 @@ object's properties. ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/performanceelementtiming/tojson/index.md b/files/en-us/web/api/performanceelementtiming/tojson/index.md index f1d38304a4fa990..80be9b1f598180a 100644 --- a/files/en-us/web/api/performanceelementtiming/tojson/index.md +++ b/files/en-us/web/api/performanceelementtiming/tojson/index.md @@ -18,7 +18,7 @@ The **`toJSON()`** method of the {{domxref("PerformanceElementTiming")}} interfa ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/performanceentry/tojson/index.md b/files/en-us/web/api/performanceentry/tojson/index.md index 8c559ccd6abd774..eafbdc6b806b5d1 100644 --- a/files/en-us/web/api/performanceentry/tojson/index.md +++ b/files/en-us/web/api/performanceentry/tojson/index.md @@ -19,7 +19,7 @@ a JSON representation of the {{domxref("PerformanceEntry","performance entry")}} ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/performancenavigationtiming/tojson/index.md b/files/en-us/web/api/performancenavigationtiming/tojson/index.md index b933352b166522d..4ab31558ad1ac4d 100644 --- a/files/en-us/web/api/performancenavigationtiming/tojson/index.md +++ b/files/en-us/web/api/performancenavigationtiming/tojson/index.md @@ -17,7 +17,7 @@ a JSON representation of the {{domxref("PerformanceNavigationTiming")}} object. ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/performanceobserver/disconnect/index.md b/files/en-us/web/api/performanceobserver/disconnect/index.md index d9e05c28f16f9fa..2d0846fbdc15eec 100644 --- a/files/en-us/web/api/performanceobserver/disconnect/index.md +++ b/files/en-us/web/api/performanceobserver/disconnect/index.md @@ -23,7 +23,7 @@ events. ## Syntax -```js +```js-nolint disconnect() ``` diff --git a/files/en-us/web/api/performanceobserver/observe/index.md b/files/en-us/web/api/performanceobserver/observe/index.md index 2acb4ad224f9ab1..26285a2176507a1 100644 --- a/files/en-us/web/api/performanceobserver/observe/index.md +++ b/files/en-us/web/api/performanceobserver/observe/index.md @@ -29,7 +29,7 @@ function—set when creating the {{domxref("PerformanceObserver")}}—is invoked ## Syntax -```js +```js-nolint observe(options) ``` diff --git a/files/en-us/web/api/performanceobserver/performanceobserver/index.md b/files/en-us/web/api/performanceobserver/performanceobserver/index.md index 2b33014c8658d02..d5b24d35128bb90 100644 --- a/files/en-us/web/api/performanceobserver/performanceobserver/index.md +++ b/files/en-us/web/api/performanceobserver/performanceobserver/index.md @@ -22,7 +22,7 @@ registered, via the {{domxref("PerformanceObserver.observe","observe()")}} metho ## Syntax -```js +```js-nolint new PerformanceObserver(callback) ``` diff --git a/files/en-us/web/api/performanceobserver/takerecords/index.md b/files/en-us/web/api/performanceobserver/takerecords/index.md index 28791a59068f504..a5c80104ef0771e 100644 --- a/files/en-us/web/api/performanceobserver/takerecords/index.md +++ b/files/en-us/web/api/performanceobserver/takerecords/index.md @@ -22,7 +22,7 @@ observer, emptying it out. ## Syntax -```js +```js-nolint takeRecords() ``` diff --git a/files/en-us/web/api/performanceobserverentrylist/getentries/index.md b/files/en-us/web/api/performanceobserverentrylist/getentries/index.md index ab0d0cb3d9c380d..64fec05583ffd42 100644 --- a/files/en-us/web/api/performanceobserverentrylist/getentries/index.md +++ b/files/en-us/web/api/performanceobserverentrylist/getentries/index.md @@ -26,7 +26,7 @@ interfaces. ## Syntax -```js +```js-nolint getEntries() getEntries(performanceEntryFilterOptions) ``` diff --git a/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md b/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md index 0ac5d4402cf6e45..61be0c94e1fde9f 100644 --- a/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md +++ b/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md @@ -28,7 +28,7 @@ interfaces. ## Syntax -```js +```js-nolint getEntriesByName(name) getEntriesByName(name, type) ``` diff --git a/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md b/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md index bf2c391f4631e26..8599b85683b924e 100644 --- a/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md +++ b/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md @@ -19,7 +19,7 @@ This method is exposed to {{domxref("Window")}} and {{domxref("Worker")}} interf ## Syntax -```js +```js-nolint getEntriesByType(type) ``` diff --git a/files/en-us/web/api/performanceresourcetiming/tojson/index.md b/files/en-us/web/api/performanceresourcetiming/tojson/index.md index 753a971046c69aa..d277ef3ba7a9d81 100644 --- a/files/en-us/web/api/performanceresourcetiming/tojson/index.md +++ b/files/en-us/web/api/performanceresourcetiming/tojson/index.md @@ -17,7 +17,7 @@ a JSON representation of the {{domxref("PerformanceResourceTiming")}} object. ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/performanceservertiming/tojson/index.md b/files/en-us/web/api/performanceservertiming/tojson/index.md index 0c5c56337c108a5..65137cac08f90fd 100644 --- a/files/en-us/web/api/performanceservertiming/tojson/index.md +++ b/files/en-us/web/api/performanceservertiming/tojson/index.md @@ -20,7 +20,7 @@ is the JSON representation of the {{domxref('PerformanceServerTiming')}} object. ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/performancetiming/msfirstpaint/index.md b/files/en-us/web/api/performancetiming/msfirstpaint/index.md index f45a74eed85aa94..5aa3ec7763315fc 100644 --- a/files/en-us/web/api/performancetiming/msfirstpaint/index.md +++ b/files/en-us/web/api/performancetiming/msfirstpaint/index.md @@ -23,8 +23,8 @@ This proprietary property is specific to Internet Explorer and Microsoft Edge. ## Syntax -```js -p = object.msFirstPaint; +```js-nolint +p = object.msFirstPaint ``` ## Value diff --git a/files/en-us/web/api/periodicsyncevent/periodicsyncevent/index.md b/files/en-us/web/api/periodicsyncevent/periodicsyncevent/index.md index 17e5a0e05922865..d4542c5568bf1b1 100644 --- a/files/en-us/web/api/periodicsyncevent/periodicsyncevent/index.md +++ b/files/en-us/web/api/periodicsyncevent/periodicsyncevent/index.md @@ -23,7 +23,7 @@ used. The browser creates these objects itself and provides them to ## Syntax -```js +```js-nolint new PeriodicSyncEvent(type, options) ``` diff --git a/files/en-us/web/api/periodicsyncmanager/gettags/index.md b/files/en-us/web/api/periodicsyncmanager/gettags/index.md index 41e8bc924f67d92..9b62e7626640b00 100644 --- a/files/en-us/web/api/periodicsyncmanager/gettags/index.md +++ b/files/en-us/web/api/periodicsyncmanager/gettags/index.md @@ -24,7 +24,7 @@ currently registered for periodic syncing. ## Syntax -```js +```js-nolint getTags() ``` diff --git a/files/en-us/web/api/periodicsyncmanager/register/index.md b/files/en-us/web/api/periodicsyncmanager/register/index.md index 8b6119461205af0..ac503087feb0c78 100644 --- a/files/en-us/web/api/periodicsyncmanager/register/index.md +++ b/files/en-us/web/api/periodicsyncmanager/register/index.md @@ -23,7 +23,7 @@ resolves when the registration completes. ## Syntax -```js +```js-nolint register(tag, options) ``` diff --git a/files/en-us/web/api/periodicsyncmanager/unregister/index.md b/files/en-us/web/api/periodicsyncmanager/unregister/index.md index 06e396cd4c3edc0..aef3abdfc7cec2d 100644 --- a/files/en-us/web/api/periodicsyncmanager/unregister/index.md +++ b/files/en-us/web/api/periodicsyncmanager/unregister/index.md @@ -23,7 +23,7 @@ when unregistration completes. ## Syntax -```js +```js-nolint unregister(tag) ``` diff --git a/files/en-us/web/api/periodicwave/periodicwave/index.md b/files/en-us/web/api/periodicwave/periodicwave/index.md index 89d15ae6c4d9e3a..e638b55bdf55ad8 100644 --- a/files/en-us/web/api/periodicwave/periodicwave/index.md +++ b/files/en-us/web/api/periodicwave/periodicwave/index.md @@ -19,7 +19,7 @@ The **`PeriodicWave()`** constructor of the [Web Audio API](/en-US/docs/Web/API/ ## Syntax -```js +```js-nolint new PeriodicWave(context) new PeriodicWave(context, options) ``` diff --git a/files/en-us/web/api/permissions/query/index.md b/files/en-us/web/api/permissions/query/index.md index 210be2bf1ef4abf..4ff140aecfbc996 100644 --- a/files/en-us/web/api/permissions/query/index.md +++ b/files/en-us/web/api/permissions/query/index.md @@ -16,7 +16,7 @@ The **`Permissions.query()`** method of the {{domxref("Permissions")}} interface ## Syntax -```js +```js-nolint query(permissionDescriptor) ``` diff --git a/files/en-us/web/api/permissions/revoke/index.md b/files/en-us/web/api/permissions/revoke/index.md index 9819af1f80a7b2c..4d1da8e069491de 100644 --- a/files/en-us/web/api/permissions/revoke/index.md +++ b/files/en-us/web/api/permissions/revoke/index.md @@ -23,7 +23,7 @@ This method is called on the global {{domxref("Permissions")}} object ## Syntax -```js +```js-nolint revoke(descriptor) ``` diff --git a/files/en-us/web/api/pictureinpictureevent/pictureinpictureevent/index.md b/files/en-us/web/api/pictureinpictureevent/pictureinpictureevent/index.md index 4a65beba77b2464..ba95ad242c11b5e 100644 --- a/files/en-us/web/api/pictureinpictureevent/pictureinpictureevent/index.md +++ b/files/en-us/web/api/pictureinpictureevent/pictureinpictureevent/index.md @@ -16,7 +16,7 @@ When the event has both a source and a destination, the `relatedTarget` value mu ## Syntax -```js +```js-nolint new PictureInPictureEvent(type, options) ``` diff --git a/files/en-us/web/api/pictureinpicturewindow/height/index.md b/files/en-us/web/api/pictureinpicturewindow/height/index.md index 14d1d6babf1b5fa..0f8c75e7e114f0f 100644 --- a/files/en-us/web/api/pictureinpicturewindow/height/index.md +++ b/files/en-us/web/api/pictureinpicturewindow/height/index.md @@ -21,8 +21,8 @@ in pixels. ## Syntax -```js -let height = pictureInPictureWindow.height; +```js-nolint +pictureInPictureWindow.height ``` ### Value diff --git a/files/en-us/web/api/pictureinpicturewindow/width/index.md b/files/en-us/web/api/pictureinpicturewindow/width/index.md index 7f38f09b868a3ee..510d82a091fa2bb 100644 --- a/files/en-us/web/api/pictureinpicturewindow/width/index.md +++ b/files/en-us/web/api/pictureinpicturewindow/width/index.md @@ -21,8 +21,8 @@ pixels. ## Syntax -```js -let width = pictureInPictureWindow.width; +```js-nolint +pictureInPictureWindow.width ``` ### Value diff --git a/files/en-us/web/api/pointerevent/getcoalescedevents/index.md b/files/en-us/web/api/pointerevent/getcoalescedevents/index.md index f68df8e3859925c..6a30484eaddb7de 100644 --- a/files/en-us/web/api/pointerevent/getcoalescedevents/index.md +++ b/files/en-us/web/api/pointerevent/getcoalescedevents/index.md @@ -21,7 +21,7 @@ The **`getCoalescedEvents()`** method of the ## Syntax -```js +```js-nolint getCoalescedEvents() ``` diff --git a/files/en-us/web/api/pointerevent/pointerevent/index.md b/files/en-us/web/api/pointerevent/pointerevent/index.md index d9f5f689166429f..80d82a593d75171 100644 --- a/files/en-us/web/api/pointerevent/pointerevent/index.md +++ b/files/en-us/web/api/pointerevent/pointerevent/index.md @@ -17,7 +17,7 @@ and untrusted {{domxref("PointerEvent")}} object instance. ## Syntax -```js +```js-nolint new PointerEvent(type) new PointerEvent(type, options) ``` diff --git a/files/en-us/web/api/positionsensorvrdevice/getimmediatestate/index.md b/files/en-us/web/api/positionsensorvrdevice/getimmediatestate/index.md index 99fca37df3f9546..0d43cfb1a405dbf 100644 --- a/files/en-us/web/api/positionsensorvrdevice/getimmediatestate/index.md +++ b/files/en-us/web/api/positionsensorvrdevice/getimmediatestate/index.md @@ -23,7 +23,7 @@ For most standard uses, you'll probably want to use {{domxref("PositionSensorVRD ## Syntax -```js +```js-nolint getImmediateState() ``` diff --git a/files/en-us/web/api/positionsensorvrdevice/getstate/index.md b/files/en-us/web/api/positionsensorvrdevice/getstate/index.md index 98e991a87d8e969..5fcd55aa5bda574 100644 --- a/files/en-us/web/api/positionsensorvrdevice/getstate/index.md +++ b/files/en-us/web/api/positionsensorvrdevice/getstate/index.md @@ -21,7 +21,7 @@ The **`getState()`** method of the {{domxref("PositionSensorVRDevice")}} interfa ## Syntax -```js +```js-nolint getState() ``` diff --git a/files/en-us/web/api/positionsensorvrdevice/resetsensor/index.md b/files/en-us/web/api/positionsensorvrdevice/resetsensor/index.md index 72959c7a66d1cc0..efe0b2ca4180f2e 100644 --- a/files/en-us/web/api/positionsensorvrdevice/resetsensor/index.md +++ b/files/en-us/web/api/positionsensorvrdevice/resetsensor/index.md @@ -22,7 +22,7 @@ The **`resetSensor()`** method of the {{domxref("VRDisplay")}} interface _can be ## Syntax -```js +```js-nolint resetSensor() ``` diff --git a/files/en-us/web/api/presentationconnection/close/index.md b/files/en-us/web/api/presentationconnection/close/index.md index b1a52ac080cd9f7..aeb787d0b3b1942 100644 --- a/files/en-us/web/api/presentationconnection/close/index.md +++ b/files/en-us/web/api/presentationconnection/close/index.md @@ -21,7 +21,7 @@ When the `close()` method is called on a {{domxref("PresentationConnection")}}, ## Syntax -```js +```js-nolint close() ``` diff --git a/files/en-us/web/api/presentationconnection/send/index.md b/files/en-us/web/api/presentationconnection/send/index.md index c833f019fa34bcf..4708ae4b4b30483 100644 --- a/files/en-us/web/api/presentationconnection/send/index.md +++ b/files/en-us/web/api/presentationconnection/send/index.md @@ -23,7 +23,7 @@ send binary or text data to a presenting browsing context. ## Syntax -```js +```js-nolint send(data) ``` diff --git a/files/en-us/web/api/presentationconnection/terminate/index.md b/files/en-us/web/api/presentationconnection/terminate/index.md index 7443d0c57dc2ac7..efd99aab180b1c1 100644 --- a/files/en-us/web/api/presentationconnection/terminate/index.md +++ b/files/en-us/web/api/presentationconnection/terminate/index.md @@ -23,7 +23,7 @@ When the `terminate()` method is called on a {{domxref("PresentationConnection") ## Syntax -```js +```js-nolint terminate() ``` diff --git a/files/en-us/web/api/presentationconnectionavailableevent/presentationconnectionavailableevent/index.md b/files/en-us/web/api/presentationconnectionavailableevent/presentationconnectionavailableevent/index.md index 607785f07b347a7..f7f0b7d7914df5f 100644 --- a/files/en-us/web/api/presentationconnectionavailableevent/presentationconnectionavailableevent/index.md +++ b/files/en-us/web/api/presentationconnectionavailableevent/presentationconnectionavailableevent/index.md @@ -17,7 +17,7 @@ The **`PresentationConnectionAvailableEvent()`** constructor creates a new {{dom ## Syntax -```js +```js-nolint new PresentationConnectionAvailableInit(type, options) ``` diff --git a/files/en-us/web/api/presentationrequest/presentationrequest/index.md b/files/en-us/web/api/presentationrequest/presentationrequest/index.md index 82c4c59c96a9f08..c0ae49e55fb1604 100644 --- a/files/en-us/web/api/presentationrequest/presentationrequest/index.md +++ b/files/en-us/web/api/presentationrequest/presentationrequest/index.md @@ -20,7 +20,7 @@ new PresentationRequest. ## Syntax -```js +```js-nolint new PresentationRequest(url) new PresentationRequest(urls) ``` diff --git a/files/en-us/web/api/presentationrequest/start/index.md b/files/en-us/web/api/presentationrequest/start/index.md index 91a73ed5d09fdd8..0f3be2f60ac7f97 100644 --- a/files/en-us/web/api/presentationrequest/start/index.md +++ b/files/en-us/web/api/presentationrequest/start/index.md @@ -18,10 +18,8 @@ The **`start()`** property of the {{domxref("PresentationRequest")}} interface r ## Syntax -```js -const promise = presentationRequest.start() -promise.then((PresentationConnection) => { /* ... */ }) - .catch((error) => { /* ... */ }) +```js-nolint +start() ``` ### Parameters diff --git a/files/en-us/web/api/progressevent/progressevent/index.md b/files/en-us/web/api/progressevent/progressevent/index.md index b1562b97e6347c1..572f353a55ee3cb 100644 --- a/files/en-us/web/api/progressevent/progressevent/index.md +++ b/files/en-us/web/api/progressevent/progressevent/index.md @@ -16,7 +16,7 @@ The **`ProgressEvent()`** constructor returns a new {{domxref("ProgressEvent")}} ## Syntax -```js +```js-nolint new ProgressEvent(type) new ProgressEvent(type, options) ``` diff --git a/files/en-us/web/api/promiserejectionevent/promiserejectionevent/index.md b/files/en-us/web/api/promiserejectionevent/promiserejectionevent/index.md index b24907dc682d4fc..02260db9faafcd8 100644 --- a/files/en-us/web/api/promiserejectionevent/promiserejectionevent/index.md +++ b/files/en-us/web/api/promiserejectionevent/promiserejectionevent/index.md @@ -31,7 +31,7 @@ emitted if a promise is rejected but the rejection is caught by a rejection hand ## Syntax -```js +```js-nolint new PromiseRejectionEvent(type, options) ``` diff --git a/files/en-us/web/api/publickeycredential/getclientextensionresults/index.md b/files/en-us/web/api/publickeycredential/getclientextensionresults/index.md index 4dbce697a5f5105..c58569e0dd710e0 100644 --- a/files/en-us/web/api/publickeycredential/getclientextensionresults/index.md +++ b/files/en-us/web/api/publickeycredential/getclientextensionresults/index.md @@ -35,7 +35,7 @@ respectively given by {{domxref("PublicKeyCredentialCreationOptions.extensions") ## Syntax -```js +```js-nolint getClientExtensionResults() ``` diff --git a/files/en-us/web/api/publickeycredential/isuserverifyingplatformauthenticatoravailable/index.md b/files/en-us/web/api/publickeycredential/isuserverifyingplatformauthenticatoravailable/index.md index eae874937f735bf..24a2fc58344ceaa 100644 --- a/files/en-us/web/api/publickeycredential/isuserverifyingplatformauthenticatoravailable/index.md +++ b/files/en-us/web/api/publickeycredential/isuserverifyingplatformauthenticatoravailable/index.md @@ -32,7 +32,7 @@ from the user in order to identify them. Common user-verifying platform authenti ## Syntax -```js +```js-nolint isUserVerifyingPlatformAuthenticatorAvailable() ``` diff --git a/files/en-us/web/api/pushevent/pushevent/index.md b/files/en-us/web/api/pushevent/pushevent/index.md index 4d6d17ab320517d..2c12d56c9e0ae79 100644 --- a/files/en-us/web/api/pushevent/pushevent/index.md +++ b/files/en-us/web/api/pushevent/pushevent/index.md @@ -21,7 +21,7 @@ service worker context. ## Syntax -```js +```js-nolint new PushEvent(type) new PushEvent(type, options) ``` diff --git a/files/en-us/web/api/pushmanager/getsubscription/index.md b/files/en-us/web/api/pushmanager/getsubscription/index.md index 78b9fee47e53074..1cdb62982875f11 100644 --- a/files/en-us/web/api/pushmanager/getsubscription/index.md +++ b/files/en-us/web/api/pushmanager/getsubscription/index.md @@ -19,7 +19,7 @@ It returns a {{jsxref("Promise")}} that resolves to a {{domxref("PushSubscriptio ## Syntax -```js +```js-nolint getSubscription() ``` diff --git a/files/en-us/web/api/pushmanager/haspermission/index.md b/files/en-us/web/api/pushmanager/haspermission/index.md index 721218aab2cbb2b..e6eccc8ab670c69 100644 --- a/files/en-us/web/api/pushmanager/haspermission/index.md +++ b/files/en-us/web/api/pushmanager/haspermission/index.md @@ -19,7 +19,7 @@ The **`PushManager.hasPermission()`** method of the {{domxref("PushManager")}} i ## Syntax -```js +```js-nolint hasPermission() ``` diff --git a/files/en-us/web/api/pushmanager/permissionstate/index.md b/files/en-us/web/api/pushmanager/permissionstate/index.md index 2b421a6a68cc62b..92acc012b6de945 100644 --- a/files/en-us/web/api/pushmanager/permissionstate/index.md +++ b/files/en-us/web/api/pushmanager/permissionstate/index.md @@ -24,7 +24,7 @@ values are `'prompt'`, `'denied'`, or `'granted'`. ## Syntax -```js +```js-nolint permissionState() permissionState(options) ``` diff --git a/files/en-us/web/api/pushmanager/register/index.md b/files/en-us/web/api/pushmanager/register/index.md index 8969c74cd304e00..fc5c2edfe2768ec 100644 --- a/files/en-us/web/api/pushmanager/register/index.md +++ b/files/en-us/web/api/pushmanager/register/index.md @@ -20,7 +20,7 @@ a new endpoint for notifications. ## Syntax -```js +```js-nolint register() ``` diff --git a/files/en-us/web/api/pushmanager/registrations/index.md b/files/en-us/web/api/pushmanager/registrations/index.md index 3351ccdbb993e20..a155f79d9e780b7 100644 --- a/files/en-us/web/api/pushmanager/registrations/index.md +++ b/files/en-us/web/api/pushmanager/registrations/index.md @@ -20,7 +20,7 @@ existing push endpoint registrations. ## Syntax -```js +```js-nolint registrations() ``` diff --git a/files/en-us/web/api/pushmanager/subscribe/index.md b/files/en-us/web/api/pushmanager/subscribe/index.md index 955cea7dcf76c4e..6bc23bfb9392f31 100644 --- a/files/en-us/web/api/pushmanager/subscribe/index.md +++ b/files/en-us/web/api/pushmanager/subscribe/index.md @@ -23,7 +23,7 @@ the current service worker does not have an existing subscription. ## Syntax -```js +```js-nolint subscribe(options) ``` diff --git a/files/en-us/web/api/pushmanager/unregister/index.md b/files/en-us/web/api/pushmanager/unregister/index.md index 2153e0013df6857..3dfb7595454ee5c 100644 --- a/files/en-us/web/api/pushmanager/unregister/index.md +++ b/files/en-us/web/api/pushmanager/unregister/index.md @@ -20,7 +20,7 @@ unregister and delete the specified endpoint. ## Syntax -```js +```js-nolint unregister(pushEndpoint) ``` diff --git a/files/en-us/web/api/pushmessagedata/arraybuffer/index.md b/files/en-us/web/api/pushmessagedata/arraybuffer/index.md index 82a74b6851d8c7e..a67e1eef6f993bb 100644 --- a/files/en-us/web/api/pushmessagedata/arraybuffer/index.md +++ b/files/en-us/web/api/pushmessagedata/arraybuffer/index.md @@ -19,7 +19,7 @@ The **`arrayBuffer()`** method of the {{domxref("PushMessageData")}} interface e ## Syntax -```js +```js-nolint arrayBuffer() ``` diff --git a/files/en-us/web/api/pushmessagedata/blob/index.md b/files/en-us/web/api/pushmessagedata/blob/index.md index 9ff5ec0292da1d3..e91c6c1d574ca79 100644 --- a/files/en-us/web/api/pushmessagedata/blob/index.md +++ b/files/en-us/web/api/pushmessagedata/blob/index.md @@ -19,7 +19,7 @@ The **`blob()`** method of the {{domxref("PushMessageData")}} interface extracts ## Syntax -```js +```js-nolint blob() ``` diff --git a/files/en-us/web/api/pushmessagedata/json/index.md b/files/en-us/web/api/pushmessagedata/json/index.md index 09e4da65524d4ed..495dd53c2d15fd8 100644 --- a/files/en-us/web/api/pushmessagedata/json/index.md +++ b/files/en-us/web/api/pushmessagedata/json/index.md @@ -19,7 +19,7 @@ The **`json()`** method of the {{domxref("PushMessageData")}} interface extracts ## Syntax -```js +```js-nolint json() ``` diff --git a/files/en-us/web/api/pushmessagedata/text/index.md b/files/en-us/web/api/pushmessagedata/text/index.md index 348c9c245acb202..8ea7cd1d3fd9261 100644 --- a/files/en-us/web/api/pushmessagedata/text/index.md +++ b/files/en-us/web/api/pushmessagedata/text/index.md @@ -20,7 +20,7 @@ The **`text()`** method of the {{domxref("PushMessageData")}} interface extracts ## Syntax -```js +```js-nolint text() ``` diff --git a/files/en-us/web/api/pushsubscription/getkey/index.md b/files/en-us/web/api/pushsubscription/getkey/index.md index 01a549954935bf5..ecdb0371b73bacb 100644 --- a/files/en-us/web/api/pushsubscription/getkey/index.md +++ b/files/en-us/web/api/pushsubscription/getkey/index.md @@ -22,7 +22,7 @@ be sent to a server and used in encrypting push message data. ## Syntax -```js +```js-nolint getKey(name) ``` diff --git a/files/en-us/web/api/pushsubscription/tojson/index.md b/files/en-us/web/api/pushsubscription/tojson/index.md index d04603001a04c19..b5f5d967c17d63f 100644 --- a/files/en-us/web/api/pushsubscription/tojson/index.md +++ b/files/en-us/web/api/pushsubscription/tojson/index.md @@ -23,7 +23,7 @@ providing a useful shortcut. ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/pushsubscription/unsubscribe/index.md b/files/en-us/web/api/pushsubscription/unsubscribe/index.md index 1a487e9c36504d5..776f918f7bee8c3 100644 --- a/files/en-us/web/api/pushsubscription/unsubscribe/index.md +++ b/files/en-us/web/api/pushsubscription/unsubscribe/index.md @@ -22,7 +22,7 @@ current subscription is successfully unsubscribed. ## Syntax -```js +```js-nolint unsubscribe() ``` diff --git a/files/en-us/web/api/queuemicrotask/index.md b/files/en-us/web/api/queuemicrotask/index.md index 1ceeea4c8a17617..ca451174d3d224c 100644 --- a/files/en-us/web/api/queuemicrotask/index.md +++ b/files/en-us/web/api/queuemicrotask/index.md @@ -49,7 +49,7 @@ final cleanup or other just-before-rendering tasks. ## Syntax -```js +```js-nolint queueMicrotask(() => {/* ... */}) ``` diff --git a/files/en-us/web/api/radionodelist/value/index.md b/files/en-us/web/api/radionodelist/value/index.md index fa90ccd9c86e5d3..743d3785ddae8e1 100644 --- a/files/en-us/web/api/radionodelist/value/index.md +++ b/files/en-us/web/api/radionodelist/value/index.md @@ -24,9 +24,9 @@ does not contain any radio buttons or none of the radio buttons in the collectio ## Syntax -```js -value = radioNodeList.value; -radioNodeList.value = string; +```js-nolint +value = radioNodeList.value +radioNodeList.value = string ``` ## Example diff --git a/files/en-us/web/api/range/clonecontents/index.md b/files/en-us/web/api/range/clonecontents/index.md index a7f6e17d2af6b31..68f10f2d3304b2f 100644 --- a/files/en-us/web/api/range/clonecontents/index.md +++ b/files/en-us/web/api/range/clonecontents/index.md @@ -26,7 +26,7 @@ fragment valid. ## Syntax -```js +```js-nolint cloneContents() ``` diff --git a/files/en-us/web/api/range/clonerange/index.md b/files/en-us/web/api/range/clonerange/index.md index 324930d0f79dea9..e15264a1a973b4a 100644 --- a/files/en-us/web/api/range/clonerange/index.md +++ b/files/en-us/web/api/range/clonerange/index.md @@ -21,7 +21,7 @@ The returned clone is copied by value, not reference, so a change in either ## Syntax -```js +```js-nolint cloneRange() ``` diff --git a/files/en-us/web/api/range/collapse/index.md b/files/en-us/web/api/range/collapse/index.md index 5559e92322b0ee4..1e828ec40eb8655 100644 --- a/files/en-us/web/api/range/collapse/index.md +++ b/files/en-us/web/api/range/collapse/index.md @@ -21,7 +21,7 @@ see the {{domxref("Range.collapsed")}} property. ## Syntax -```js +```js-nolint collapse() collapse(toStart) ``` diff --git a/files/en-us/web/api/range/compareboundarypoints/index.md b/files/en-us/web/api/range/compareboundarypoints/index.md index 38851aba281c948..2ad69b066153d90 100644 --- a/files/en-us/web/api/range/compareboundarypoints/index.md +++ b/files/en-us/web/api/range/compareboundarypoints/index.md @@ -18,7 +18,7 @@ boundary points of the {{domxref("Range")}} with those of another range. ## Syntax -```js +```js-nolint compareBoundaryPoints(how, sourceRange) ``` diff --git a/files/en-us/web/api/range/comparenode/index.md b/files/en-us/web/api/range/comparenode/index.md index 838f1703041393d..55dd63244afe4a2 100644 --- a/files/en-us/web/api/range/comparenode/index.md +++ b/files/en-us/web/api/range/comparenode/index.md @@ -64,7 +64,7 @@ function rangeCompareNode(range, node) { ## Syntax -```js +```js-nolint compareNode(referenceNode) ``` diff --git a/files/en-us/web/api/range/comparepoint/index.md b/files/en-us/web/api/range/comparepoint/index.md index 3ca7f00067f5397..1652bf6e07e0275 100644 --- a/files/en-us/web/api/range/comparepoint/index.md +++ b/files/en-us/web/api/range/comparepoint/index.md @@ -26,7 +26,7 @@ node_. ## Syntax -```js +```js-nolint comparePoint(referenceNode, offset) ``` diff --git a/files/en-us/web/api/range/createcontextualfragment/index.md b/files/en-us/web/api/range/createcontextualfragment/index.md index 927aea70bbc3b68..8c0166ed56425b3 100644 --- a/files/en-us/web/api/range/createcontextualfragment/index.md +++ b/files/en-us/web/api/range/createcontextualfragment/index.md @@ -24,7 +24,7 @@ algorithm is invoked with `body` as the context instead. ## Syntax -```js +```js-nolint createContextualFragment(tagString) ``` diff --git a/files/en-us/web/api/range/deletecontents/index.md b/files/en-us/web/api/range/deletecontents/index.md index 8c0e48190d45866..f8f2891a797c52d 100644 --- a/files/en-us/web/api/range/deletecontents/index.md +++ b/files/en-us/web/api/range/deletecontents/index.md @@ -20,7 +20,7 @@ Unlike {{ domxref("Range.extractContents()") }}, this method does not return a ## Syntax -```js +```js-nolint deleteContents() ``` diff --git a/files/en-us/web/api/range/detach/index.md b/files/en-us/web/api/range/detach/index.md index 5e1d4cd7e7b6306..af0c5dfaf0d7fdf 100644 --- a/files/en-us/web/api/range/detach/index.md +++ b/files/en-us/web/api/range/detach/index.md @@ -18,7 +18,7 @@ resources. The method has been kept for compatibility. ## Syntax -```js +```js-nolint detach() ``` diff --git a/files/en-us/web/api/range/extractcontents/index.md b/files/en-us/web/api/range/extractcontents/index.md index 9f8eb76363ce10e..81eafa4a974b200 100644 --- a/files/en-us/web/api/range/extractcontents/index.md +++ b/files/en-us/web/api/range/extractcontents/index.md @@ -26,7 +26,7 @@ document fragment valid. ## Syntax -```js +```js-nolint extractContents() ``` diff --git a/files/en-us/web/api/range/getboundingclientrect/index.md b/files/en-us/web/api/range/getboundingclientrect/index.md index 111dbb712df1527..1b892de909c4aab 100644 --- a/files/en-us/web/api/range/getboundingclientrect/index.md +++ b/files/en-us/web/api/range/getboundingclientrect/index.md @@ -23,7 +23,7 @@ details on the returned value. ## Syntax -```js +```js-nolint getBoundingClientRect() ``` diff --git a/files/en-us/web/api/range/getclientrects/index.md b/files/en-us/web/api/range/getclientrects/index.md index cbf8dba0298f870..98ccfb776605b41 100644 --- a/files/en-us/web/api/range/getclientrects/index.md +++ b/files/en-us/web/api/range/getclientrects/index.md @@ -19,7 +19,7 @@ The **`Range.getClientRects()`** method returns a list of {{ ## Syntax -```js +```js-nolint getClientRects() ``` diff --git a/files/en-us/web/api/range/insertnode/index.md b/files/en-us/web/api/range/insertnode/index.md index 19913b6811b8478..8f005949d45f8e1 100644 --- a/files/en-us/web/api/range/insertnode/index.md +++ b/files/en-us/web/api/range/insertnode/index.md @@ -24,7 +24,7 @@ inserted instead. ## Syntax -```js +```js-nolint insertNode(newNode) ``` diff --git a/files/en-us/web/api/range/intersectsnode/index.md b/files/en-us/web/api/range/intersectsnode/index.md index 187d7e8c081e0f6..264f80056b2482a 100644 --- a/files/en-us/web/api/range/intersectsnode/index.md +++ b/files/en-us/web/api/range/intersectsnode/index.md @@ -18,7 +18,7 @@ indicating whether the given {{domxref("Node")}} intersects the {{domxref("Range ## Syntax -```js +```js-nolint intersectsNode(referenceNode) ``` diff --git a/files/en-us/web/api/range/ispointinrange/index.md b/files/en-us/web/api/range/ispointinrange/index.md index 2f7274bd3ca8339..916ca14f6ab7526 100644 --- a/files/en-us/web/api/range/ispointinrange/index.md +++ b/files/en-us/web/api/range/ispointinrange/index.md @@ -20,7 +20,7 @@ indicating whether the given point is in the {{domxref("Range")}}. It returns ## Syntax -```js +```js-nolint isPointInRange(referenceNode, offset) ``` diff --git a/files/en-us/web/api/range/range/index.md b/files/en-us/web/api/range/range/index.md index b58d05104bf6e99..0f1b2e2478dd6be 100644 --- a/files/en-us/web/api/range/range/index.md +++ b/files/en-us/web/api/range/range/index.md @@ -20,7 +20,7 @@ object. ## Syntax -```js +```js-nolint new Range() ``` diff --git a/files/en-us/web/api/range/selectnode/index.md b/files/en-us/web/api/range/selectnode/index.md index bf5b6f4eacff69b..9665525f2a24244 100644 --- a/files/en-us/web/api/range/selectnode/index.md +++ b/files/en-us/web/api/range/selectnode/index.md @@ -19,7 +19,7 @@ the parent of the _referenceNode_. ## Syntax -```js +```js-nolint selectNode(referenceNode) ``` diff --git a/files/en-us/web/api/range/selectnodecontents/index.md b/files/en-us/web/api/range/selectnodecontents/index.md index 85744e39359399d..31c277c245245df 100644 --- a/files/en-us/web/api/range/selectnodecontents/index.md +++ b/files/en-us/web/api/range/selectnodecontents/index.md @@ -22,7 +22,7 @@ node. ## Syntax -```js +```js-nolint selectNodeContents(referenceNode) ``` diff --git a/files/en-us/web/api/range/setend/index.md b/files/en-us/web/api/range/setend/index.md index 428c5345b1f9498..bc30786e9eda76a 100644 --- a/files/en-us/web/api/range/setend/index.md +++ b/files/en-us/web/api/range/setend/index.md @@ -23,7 +23,7 @@ collapsed range with the start and end points both set to the specified end posi ## Syntax -```js +```js-nolint setEnd(endNode, endOffset) ``` diff --git a/files/en-us/web/api/range/setendafter/index.md b/files/en-us/web/api/range/setendafter/index.md index 2df7ffd1eb1f153..f391e04972f632e 100644 --- a/files/en-us/web/api/range/setendafter/index.md +++ b/files/en-us/web/api/range/setendafter/index.md @@ -19,7 +19,7 @@ The **`Range.setEndAfter()`** method sets the end position of a ## Syntax -```js +```js-nolint setEndAfter(referenceNode) ``` diff --git a/files/en-us/web/api/range/setendbefore/index.md b/files/en-us/web/api/range/setendbefore/index.md index 4f6fb788578e9ee..359a1125f309c6f 100644 --- a/files/en-us/web/api/range/setendbefore/index.md +++ b/files/en-us/web/api/range/setendbefore/index.md @@ -19,7 +19,7 @@ a `Range` relative to another {{domxref("Node")}}. The parent ## Syntax -```js +```js-nolint setEndBefore(referenceNode) ``` diff --git a/files/en-us/web/api/range/setstart/index.md b/files/en-us/web/api/range/setstart/index.md index 7a1db60ba71c801..af2afe98f57a9c0 100644 --- a/files/en-us/web/api/range/setstart/index.md +++ b/files/en-us/web/api/range/setstart/index.md @@ -26,7 +26,7 @@ collapsed range with the start and end points both set to the specified start po ## Syntax -```js +```js-nolint setStart(startNode, startOffset) ``` diff --git a/files/en-us/web/api/range/setstartafter/index.md b/files/en-us/web/api/range/setstartafter/index.md index ab539b431d94549..f09c419a6c90af9 100644 --- a/files/en-us/web/api/range/setstartafter/index.md +++ b/files/en-us/web/api/range/setstartafter/index.md @@ -19,7 +19,7 @@ for the `referenceNode`. ## Syntax -```js +```js-nolint setStartAfter(referenceNode) ``` diff --git a/files/en-us/web/api/range/setstartbefore/index.md b/files/en-us/web/api/range/setstartbefore/index.md index 19902f61618e8af..8d8ed753f030cc4 100644 --- a/files/en-us/web/api/range/setstartbefore/index.md +++ b/files/en-us/web/api/range/setstartbefore/index.md @@ -19,7 +19,7 @@ for the `referenceNode`. ## Syntax -```js +```js-nolint setStartBefore(referenceNode) ``` diff --git a/files/en-us/web/api/range/surroundcontents/index.md b/files/en-us/web/api/range/surroundcontents/index.md index 6ecd87ea60f9598..36b9898b551962b 100644 --- a/files/en-us/web/api/range/surroundcontents/index.md +++ b/files/en-us/web/api/range/surroundcontents/index.md @@ -28,7 +28,7 @@ instead the operation will fail. ## Syntax -```js +```js-nolint surroundContents(newParent) ``` diff --git a/files/en-us/web/api/range/tostring/index.md b/files/en-us/web/api/range/tostring/index.md index adecb5a8dfbb5a8..b45c9b92037fc92 100644 --- a/files/en-us/web/api/range/tostring/index.md +++ b/files/en-us/web/api/range/tostring/index.md @@ -22,7 +22,7 @@ ineffective. ## Syntax -```js +```js-nolint toString() ``` diff --git a/files/en-us/web/api/readablebytestreamcontroller/close/index.md b/files/en-us/web/api/readablebytestreamcontroller/close/index.md index 82545327d04bf7b..17a4cfda6146620 100644 --- a/files/en-us/web/api/readablebytestreamcontroller/close/index.md +++ b/files/en-us/web/api/readablebytestreamcontroller/close/index.md @@ -23,7 +23,7 @@ This might be called by the underlying source when its data source has been exha ## Syntax -```js +```js-nolint close() ``` diff --git a/files/en-us/web/api/readablebytestreamcontroller/enqueue/index.md b/files/en-us/web/api/readablebytestreamcontroller/enqueue/index.md index 14c994dab2c50b1..ea76433f992a472 100644 --- a/files/en-us/web/api/readablebytestreamcontroller/enqueue/index.md +++ b/files/en-us/web/api/readablebytestreamcontroller/enqueue/index.md @@ -20,7 +20,7 @@ This should only be used to transfer data to the queue when {{domxref("ReadableB ## Syntax -```js +```js-nolint enqueue(chunk) ``` diff --git a/files/en-us/web/api/readablebytestreamcontroller/error/index.md b/files/en-us/web/api/readablebytestreamcontroller/error/index.md index 18f4d9770bb0e34..74003494a6ea0b5 100644 --- a/files/en-us/web/api/readablebytestreamcontroller/error/index.md +++ b/files/en-us/web/api/readablebytestreamcontroller/error/index.md @@ -21,7 +21,7 @@ It can also be called from elsewhere to trigger a stream error, for example if a ## Syntax -```js +```js-nolint error(errorObject) ``` diff --git a/files/en-us/web/api/readablestream/cancel/index.md b/files/en-us/web/api/readablestream/cancel/index.md index 5d685cfdfebcdb2..93c8aea8eb419e5 100644 --- a/files/en-us/web/api/readablestream/cancel/index.md +++ b/files/en-us/web/api/readablestream/cancel/index.md @@ -26,7 +26,7 @@ still and not completely get rid of the stream, you'd use ## Syntax -```js +```js-nolint cancel() cancel(reason) ``` diff --git a/files/en-us/web/api/readablestream/getreader/index.md b/files/en-us/web/api/readablestream/getreader/index.md index 3c7f88e46b1ba40..d41ba0a5c444a15 100644 --- a/files/en-us/web/api/readablestream/getreader/index.md +++ b/files/en-us/web/api/readablestream/getreader/index.md @@ -19,7 +19,7 @@ While the stream is locked, no other reader can be acquired until this one is re ## Syntax -```js +```js-nolint getReader() getReader(options) ``` diff --git a/files/en-us/web/api/readablestream/pipethrough/index.md b/files/en-us/web/api/readablestream/pipethrough/index.md index f4f36f8c6f64790..397fed30e502c9b 100644 --- a/files/en-us/web/api/readablestream/pipethrough/index.md +++ b/files/en-us/web/api/readablestream/pipethrough/index.md @@ -20,7 +20,7 @@ Piping a stream will generally lock it for the duration of the pipe, preventing ## Syntax -```js +```js-nolint pipeThrough(transformStream) pipeThrough(transformStream, options) ``` diff --git a/files/en-us/web/api/readablestream/pipeto/index.md b/files/en-us/web/api/readablestream/pipeto/index.md index 89a136fed66fe94..654d8493e87ad63 100644 --- a/files/en-us/web/api/readablestream/pipeto/index.md +++ b/files/en-us/web/api/readablestream/pipeto/index.md @@ -20,7 +20,7 @@ Piping a stream will generally [lock](/en-US/docs/Web/API/ReadableStream/locked) ## Syntax -```js +```js-nolint pipeTo(destination) pipeTo(destination, options) ``` diff --git a/files/en-us/web/api/readablestream/readablestream/index.md b/files/en-us/web/api/readablestream/readablestream/index.md index c3382532d96ddcd..8ca78337eb5c603 100644 --- a/files/en-us/web/api/readablestream/readablestream/index.md +++ b/files/en-us/web/api/readablestream/readablestream/index.md @@ -18,7 +18,7 @@ Note that while all parameters are technically optional, omitting the `underlyin ## Syntax -```js +```js-nolint new ReadableStream() new ReadableStream(underlyingSource) new ReadableStream(underlyingSource, queuingStrategy) diff --git a/files/en-us/web/api/readablestream/tee/index.md b/files/en-us/web/api/readablestream/tee/index.md index 3ca166053b4e0ff..fecedb75dda1b56 100644 --- a/files/en-us/web/api/readablestream/tee/index.md +++ b/files/en-us/web/api/readablestream/tee/index.md @@ -47,7 +47,7 @@ will generally lock it for the duration, preventing other readers from locking i ## Syntax -```js +```js-nolint tee() ``` diff --git a/files/en-us/web/api/readablestreambyobreader/cancel/index.md b/files/en-us/web/api/readablestreambyobreader/cancel/index.md index 1f3bf27ba3b1479..4f667b53688c9d5 100644 --- a/files/en-us/web/api/readablestreambyobreader/cancel/index.md +++ b/files/en-us/web/api/readablestreambyobreader/cancel/index.md @@ -21,7 +21,7 @@ Calling this method signals a loss of interest in the stream by a consumer. ## Syntax -```js +```js-nolint cancel() cancel(reason) ``` diff --git a/files/en-us/web/api/readablestreambyobreader/read/index.md b/files/en-us/web/api/readablestreambyobreader/read/index.md index 00e6f65adf51313..96508e0866b687e 100644 --- a/files/en-us/web/api/readablestreambyobreader/read/index.md +++ b/files/en-us/web/api/readablestreambyobreader/read/index.md @@ -33,7 +33,7 @@ The value is set `true` if the stream is closed or cancelled, and `false` otherw ## Syntax -```js +```js-nolint read(view) ``` diff --git a/files/en-us/web/api/readablestreambyobreader/readablestreambyobreader/index.md b/files/en-us/web/api/readablestreambyobreader/readablestreambyobreader/index.md index 87a9cb27b4a43ee..826d8d9acd32557 100644 --- a/files/en-us/web/api/readablestreambyobreader/readablestreambyobreader/index.md +++ b/files/en-us/web/api/readablestreambyobreader/readablestreambyobreader/index.md @@ -20,7 +20,7 @@ The **`ReadableStreamBYOBReader()`** constructor creates and returns a `Readable ## Syntax -```js +```js-nolint new ReadableStreamBYOBReader(stream) ``` diff --git a/files/en-us/web/api/readablestreambyobreader/releaselock/index.md b/files/en-us/web/api/readablestreambyobreader/releaselock/index.md index 8868c054f529a35..e1eaac70267df19 100644 --- a/files/en-us/web/api/readablestreambyobreader/releaselock/index.md +++ b/files/en-us/web/api/readablestreambyobreader/releaselock/index.md @@ -24,7 +24,7 @@ Unread chunks remain in the stream's internal queue and can be read later by acq ## Syntax -```js +```js-nolint releaseLock() ``` diff --git a/files/en-us/web/api/readablestreambyobrequest/respond/index.md b/files/en-us/web/api/readablestreambyobrequest/respond/index.md index 64eac25b29a56e7..3c155676e981a89 100644 --- a/files/en-us/web/api/readablestreambyobrequest/respond/index.md +++ b/files/en-us/web/api/readablestreambyobrequest/respond/index.md @@ -20,7 +20,7 @@ After this method is called, the {{domxref("ReadableStreamBYOBRequest/view","vie ## Syntax -```js +```js-nolint respond(bytesWritten) ``` diff --git a/files/en-us/web/api/readablestreambyobrequest/respondwithnewview/index.md b/files/en-us/web/api/readablestreambyobrequest/respondwithnewview/index.md index db2d601b1fc029f..2e5cff0aaf0bf6b 100644 --- a/files/en-us/web/api/readablestreambyobrequest/respondwithnewview/index.md +++ b/files/en-us/web/api/readablestreambyobrequest/respondwithnewview/index.md @@ -24,7 +24,7 @@ For example, the source may transfer the BYOB view to a separate worker thread, ## Syntax -```js +```js-nolint respondWithNewView(view) ``` diff --git a/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md b/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md index e26b50a27d01205..e8316b429f6336e 100644 --- a/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md +++ b/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md @@ -25,7 +25,7 @@ rid of the stream and discard any enqueued chunks, you'd use ## Syntax -```js +```js-nolint close() ``` diff --git a/files/en-us/web/api/readablestreamdefaultcontroller/enqueue/index.md b/files/en-us/web/api/readablestreamdefaultcontroller/enqueue/index.md index 41867c702b964bd..609d6409802becb 100644 --- a/files/en-us/web/api/readablestreamdefaultcontroller/enqueue/index.md +++ b/files/en-us/web/api/readablestreamdefaultcontroller/enqueue/index.md @@ -20,7 +20,7 @@ associated stream. ## Syntax -```js +```js-nolint enqueue(chunk) ``` diff --git a/files/en-us/web/api/readablestreamdefaultcontroller/error/index.md b/files/en-us/web/api/readablestreamdefaultcontroller/error/index.md index 00c3c6cee42ab11..fa36aff4ac07673 100644 --- a/files/en-us/web/api/readablestreamdefaultcontroller/error/index.md +++ b/files/en-us/web/api/readablestreamdefaultcontroller/error/index.md @@ -23,7 +23,7 @@ with the associated stream to error. ## Syntax -```js +```js-nolint error(e) ``` diff --git a/files/en-us/web/api/readablestreamdefaultreader/cancel/index.md b/files/en-us/web/api/readablestreamdefaultreader/cancel/index.md index 8b695cd236be300..eb1adaa818073ea 100644 --- a/files/en-us/web/api/readablestreamdefaultreader/cancel/index.md +++ b/files/en-us/web/api/readablestreamdefaultreader/cancel/index.md @@ -29,7 +29,7 @@ still and not completely get rid of the stream, you'd use ## Syntax -```js +```js-nolint cancel() cancel(reason) ``` diff --git a/files/en-us/web/api/readablestreamdefaultreader/read/index.md b/files/en-us/web/api/readablestreamdefaultreader/read/index.md index 4b65c7735b623e2..d0bf9550d6fd14f 100644 --- a/files/en-us/web/api/readablestreamdefaultreader/read/index.md +++ b/files/en-us/web/api/readablestreamdefaultreader/read/index.md @@ -18,7 +18,7 @@ The **`read()`** method of the {{domxref("ReadableStreamDefaultReader")}} interf ## Syntax -```js +```js-nolint read() ``` diff --git a/files/en-us/web/api/readablestreamdefaultreader/readablestreamdefaultreader/index.md b/files/en-us/web/api/readablestreamdefaultreader/readablestreamdefaultreader/index.md index 52c69c7fddf74a4..90c24a1a73be9fe 100644 --- a/files/en-us/web/api/readablestreamdefaultreader/readablestreamdefaultreader/index.md +++ b/files/en-us/web/api/readablestreamdefaultreader/readablestreamdefaultreader/index.md @@ -22,7 +22,7 @@ instance. ## Syntax -```js +```js-nolint new ReadableStreamDefaultReader(stream) ``` diff --git a/files/en-us/web/api/readablestreamdefaultreader/releaselock/index.md b/files/en-us/web/api/readablestreamdefaultreader/releaselock/index.md index 133f92838e6d659..94092262b15d5da 100644 --- a/files/en-us/web/api/readablestreamdefaultreader/releaselock/index.md +++ b/files/en-us/web/api/readablestreamdefaultreader/releaselock/index.md @@ -23,7 +23,7 @@ Unread chunks remain in the stream's internal queue and can be read later by acq ## Syntax -```js +```js-nolint releaseLock() ``` diff --git a/files/en-us/web/api/relativeorientationsensor/relativeorientationsensor/index.md b/files/en-us/web/api/relativeorientationsensor/relativeorientationsensor/index.md index f22f2cbb67cba58..0754b22a0095fb8 100644 --- a/files/en-us/web/api/relativeorientationsensor/relativeorientationsensor/index.md +++ b/files/en-us/web/api/relativeorientationsensor/relativeorientationsensor/index.md @@ -28,9 +28,9 @@ instructions. ## Syntax -```js -new RelativeOrientationSEnsor() -new RelativeOrientationSEnsor(options) +```js-nolint +new RelativeOrientationSensor() +new RelativeOrientationSensor(options) ``` ### Parameters diff --git a/files/en-us/web/api/remoteplayback/cancelwatchavailability/index.md b/files/en-us/web/api/remoteplayback/cancelwatchavailability/index.md index bb794226f4bdc38..269dd3234c50765 100644 --- a/files/en-us/web/api/remoteplayback/cancelwatchavailability/index.md +++ b/files/en-us/web/api/remoteplayback/cancelwatchavailability/index.md @@ -17,7 +17,7 @@ The **`cancelWatchAvailability()`** method of the {{domxref("RemotePlayback")}} ## Syntax -```js +```js-nolint cancelWatchAvailability() cancelWatchAvailability(id) ``` diff --git a/files/en-us/web/api/remoteplayback/prompt/index.md b/files/en-us/web/api/remoteplayback/prompt/index.md index 4fb35f15306ca08..2615de59a6a0ffd 100644 --- a/files/en-us/web/api/remoteplayback/prompt/index.md +++ b/files/en-us/web/api/remoteplayback/prompt/index.md @@ -21,7 +21,7 @@ If the user chooses to instead disconnect from the device, the {{domxref("Remote ## Syntax -```js +```js-nolint prompt() ``` diff --git a/files/en-us/web/api/remoteplayback/watchavailability/index.md b/files/en-us/web/api/remoteplayback/watchavailability/index.md index 95034e14126d364..c9d9b5057bd10d3 100644 --- a/files/en-us/web/api/remoteplayback/watchavailability/index.md +++ b/files/en-us/web/api/remoteplayback/watchavailability/index.md @@ -17,7 +17,7 @@ The **`watchAvailability()`** method of the {{domxref("RemotePlayback")}} interf ## Syntax -```js +```js-nolint watchAvailability(RemotePlaybackAvailabilityCallback) ``` diff --git a/files/en-us/web/api/reportbody/tojson/index.md b/files/en-us/web/api/reportbody/tojson/index.md index 3f0e2a1aafe3cf4..06ebc8528dda931 100644 --- a/files/en-us/web/api/reportbody/tojson/index.md +++ b/files/en-us/web/api/reportbody/tojson/index.md @@ -18,7 +18,7 @@ The **`toJSON()`** method of the {{domxref("ReportBody")}} interface is a _seria ## Syntax -```js +```js-nolint toJSON() ``` diff --git a/files/en-us/web/api/reporterror/index.md b/files/en-us/web/api/reporterror/index.md index 731298e5186ebe2..fe18d4ef3d2e3b1 100644 --- a/files/en-us/web/api/reporterror/index.md +++ b/files/en-us/web/api/reporterror/index.md @@ -23,7 +23,7 @@ This ensures that an exception in one callback will not prevent others from bein ## Syntax -```js +```js-nolint reportError(throwable) ``` diff --git a/files/en-us/web/api/reportingobserver/disconnect/index.md b/files/en-us/web/api/reportingobserver/disconnect/index.md index becdca4166d67f9..130141cafa70450 100644 --- a/files/en-us/web/api/reportingobserver/disconnect/index.md +++ b/files/en-us/web/api/reportingobserver/disconnect/index.md @@ -26,7 +26,7 @@ callback will return any reports. The associated observer will no longer be acti ## Syntax -```js +```js-nolint disconnect() ``` diff --git a/files/en-us/web/api/reportingobserver/observe/index.md b/files/en-us/web/api/reportingobserver/observe/index.md index 551333853d47d81..1fac4b938cacefe 100644 --- a/files/en-us/web/api/reportingobserver/observe/index.md +++ b/files/en-us/web/api/reportingobserver/observe/index.md @@ -21,7 +21,7 @@ collecting reports in its report queue. ## Syntax -```js +```js-nolint observe() ``` diff --git a/files/en-us/web/api/reportingobserver/reportingobserver/index.md b/files/en-us/web/api/reportingobserver/reportingobserver/index.md index cae4db9d5a42a64..a31780ed87ca9a8 100644 --- a/files/en-us/web/api/reportingobserver/reportingobserver/index.md +++ b/files/en-us/web/api/reportingobserver/reportingobserver/index.md @@ -20,7 +20,7 @@ access reports. ## Syntax -```js +```js-nolint new ReportingObserver(callback) new ReportingObserver(callback, options) ``` diff --git a/files/en-us/web/api/reportingobserver/takerecords/index.md b/files/en-us/web/api/reportingobserver/takerecords/index.md index f55d3b7959eda9b..d7f29ff522ab7ed 100644 --- a/files/en-us/web/api/reportingobserver/takerecords/index.md +++ b/files/en-us/web/api/reportingobserver/takerecords/index.md @@ -20,7 +20,7 @@ in the observer's report queue, and empties the queue. ## Syntax -```js +```js-nolint takeRecords() ``` diff --git a/files/en-us/web/api/request/arraybuffer/index.md b/files/en-us/web/api/request/arraybuffer/index.md index 637310ec3e29fbb..eda682511de762a 100644 --- a/files/en-us/web/api/request/arraybuffer/index.md +++ b/files/en-us/web/api/request/arraybuffer/index.md @@ -19,7 +19,7 @@ reads the request body and returns it as a promise that resolves with an {{jsxre ## Syntax -```js +```js-nolint arrayBuffer() ``` diff --git a/files/en-us/web/api/request/blob/index.md b/files/en-us/web/api/request/blob/index.md index 5f65fea3342b87d..909ead651b9c39a 100644 --- a/files/en-us/web/api/request/blob/index.md +++ b/files/en-us/web/api/request/blob/index.md @@ -19,7 +19,7 @@ reads the request body and returns it as a promise that resolves with a {{domxre ## Syntax -```js +```js-nolint blob() ``` diff --git a/files/en-us/web/api/request/clone/index.md b/files/en-us/web/api/request/clone/index.md index 15411d1506b033a..449eea6042262c1 100644 --- a/files/en-us/web/api/request/clone/index.md +++ b/files/en-us/web/api/request/clone/index.md @@ -29,7 +29,7 @@ If you intend to modify the request, you may prefer the {{domxref("Request")}} c ## Syntax -```js +```js-nolint clone() ``` diff --git a/files/en-us/web/api/request/formdata/index.md b/files/en-us/web/api/request/formdata/index.md index 0affce98910a758..72cf9c468fa0de7 100644 --- a/files/en-us/web/api/request/formdata/index.md +++ b/files/en-us/web/api/request/formdata/index.md @@ -19,7 +19,7 @@ reads the request body and returns it as a promise that resolves with a {{domxre ## Syntax -```js +```js-nolint formData() ``` diff --git a/files/en-us/web/api/request/json/index.md b/files/en-us/web/api/request/json/index.md index 479abcb3d7dd6f7..17e44fe7bf86ee2 100644 --- a/files/en-us/web/api/request/json/index.md +++ b/files/en-us/web/api/request/json/index.md @@ -21,7 +21,7 @@ Note that despite the method being named `json()`, the result is not JSON but is ## Syntax -```js +```js-nolint json() ``` diff --git a/files/en-us/web/api/request/request/index.md b/files/en-us/web/api/request/request/index.md index 0167beef36e1002..abeb873168f5e37 100644 --- a/files/en-us/web/api/request/request/index.md +++ b/files/en-us/web/api/request/request/index.md @@ -18,7 +18,7 @@ The **`Request()`** constructor creates a new ## Syntax -```js +```js-nolint new Request(input) new Request(input, options) ```