PageSourceSearch

https://gplint.github.io/assets/js/5c046538.ecc697d2.js

js gplint.github.io collected 2026-10-03 09:15:28 UTC 2,462 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkgplint_docs=globalThis.webpackChunkgplint_docs||[]).push([[1565],{5698(e,n,s){s.r(n),s.d(n,{assets:()=>r,contentTitle:()=>t,default:()=>u,frontMatter:()=>a,metadata:()=>o,toc:()=>c});const o=JSON.parse('{"id":"rules/autogen-no-examples-in-scenarios","title":"no-examples-in-scenarios","description":"Disallow the use of \\"Examples\\" in Scenarios, only allowed in Scenario Outlines.","source":"@site/docs/rules/autogen-no-examples-in-scenarios.md","sourceDirName":"rules","slug":"/rules/no-examples-in-scenarios","permalink":"/docs/rules/no-examples-in-scenarios","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"slug":"no-examples-in-scenarios","title":"no-examples-in-scenarios"},"sidebar":"docsSidebar","previous":{"title":"no-empty-file","permalink":"/docs/rules/no-empty-file"},"next":{"title":"no-files-without-scenarios","permalink":"/docs/rules/no-files-without-scenarios"}}');var l=s(4848),i=s(8453);const a={slug:"no-examples-in-scenarios",title:"no-examples-in-scenarios"},t="no-examples-in-scenarios",r={},c=[{value:"Examples",id:"examples",level:2},{value:"Example",id:"example",level:3}];function p(e){const n={blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.header,{children:(0,l.jsx)(n.h1,{id:"no-examples-in-scenarios",children:"no-examples-in-scenarios"})}),"\n",(0,l.jsx)(n.p,{children:'Disallow the use of "Examples" in Scenarios, only allowed in Scenario Outlines.'}),"\n",(0,l.jsx)(n.h2,{id:"examples",children:"Examples"}),"\n",(0,l.jsx)(n.h3,{id:"example",children:"Example"}),"\n",(0,l.jsxs)(n.blockquote,{children:["\n",(0,l.jsx)(n.p,{children:"Enable rule"}),"\n"]}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-json",children:'{\n  "no-examples-in-scenarios": "error"\n}\n'})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(p,{...e})}):p(e)}},8453(e,n,s){s.d(n,{R:()=>a,x:()=>t});var o=s(6540);const l={},i=o.createContext(l);function a(e){const n=o.useContext(i);return o.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),o.createElement(i.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.