1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[116],{727232(y,e,d){var l={id:"teambit.defender/docs/[email protected]",homepage:"https://bit.cloud/teambit/defender/docs/using-linters",exported:!0},s=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.BitBuild=e.BitLintFix=e.BitLintFixTypes=e.BitLintComponent=e.BitLintChanged=e.BitLint=void 0;const t=s(d(531715)),i=d(292073),g=()=>t.default.createElement(i.CommandsExplorer,{commandName:"lint",commandExample:{}});g.__bit_component=l,e.BitLint=g;const _=()=>{const o={changed:!0};return t.default.createElement(i.CommandsExplorer,{commandName:"lint",commandExample:o})};_.__bit_component=l,e.BitLintChanged=_;const c=()=>{const o={"component...":"ui/text"};return t.default.createElement(i.CommandsExplorer,{commandName:"lint",commandExample:o})};c.__bit_component=l,e.BitLintComponent=c;const f=()=>{const o={"fix-type":"problem"};return t.default.createElement(i.CommandsExplorer,{commandName:"lint",commandExample:o})};f.__bit_component=l,e.BitLintFixTypes=f;const b=()=>{const o={fix:!0};
1return t.default.createElement(i.CommandsExplorer,{commandName:"lint",commandExample:o})};b.__bit_component=l,e.BitLintFix=b;const x=()=>t.default.createElement(i.CommandsExplorer,{commandName:"build",commandExample:{}});x.__bit_component=l,e.BitBuild=x},286e3(y,e,d){var l={id:"teambit.defender/docs/[email protected]",homepage:"https://bit.cloud/teambit/defender/docs/using-linters",exported:!0},s=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.UsingLinters=void 0;var t=d(85743);Object.defineProperty(e,"UsingLinters",{enumerable:!0,get:function(){return s(t).default}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s(t).default}})},85743(y,e,d){var l={id:"teambit.defender/docs/[email protected]",homepage:"https://bit.cloud/teambit/defender/docs/using-linters",exported:!0};Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var s=_(d(531715)),t=d(437910),i=d(727232),g=["components"];function _(n){return n&&n.__esModule?n:{default:n}}_.__bit_component=l;function c(){return c=Object.assign?Object.assign.bind():function(n){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])}return n},c.apply(this,arguments)}c.__bit_component=l;function f(n,u){if(n==null)return{};var a=b(n,u),r,m;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(m=0;m<p.length;m++)r=p[m],!(u.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(a[r]=n[r]))}return a}f.__bit_component=l;function b(n,u){if(n==null)return{};var a={},r=Object.keys(n),m,p;for(p=0;p<r.length;p++)m=r[p],!(u.indexOf(m)>=0)&&(a[m]=n[m]);return a}b.__bit_component=l;var x={},o="wrapper";function h(n){var u=n.components,a=f(n,g);return(0,t.mdx)(o,c({},x,a,{components:u,mdxType:"MDXLayout"}),(0,t.mdx)("p",null,"Run the following to lint all components in your workspace:"),(0,t.mdx)(i.BitLint,{mdxType:"BitLint"}),(0,t.mdx)("p",null,"Run the following to lint only new or modified components in your workspace:"),(0,t.mdx)(i.BitLintChanged,{mdxType:"BitLintChanged"}),(0,t.mdx)("p",null,"Run the following to lint a specific component:"),(0,t.mdx)(i.BitLintComponent,{mdxType:"BitLintComponent"}),(0,t.mdx)("h3",null,"Lint and fix detected issues"),(0,t.mdx)("p",null,"Run the following to lint and fix detected issues:"),(0,t.mdx)(i.BitLintFix,{mdxType:"BitLintFix"}),(0,t.mdx)("p",null,"Run the following to lint and fix detected issues of a certain type (problem, suggestion, layout):"),(0,t.mdx)(i.BitLintFixTypes,{mdxType:"BitLintFixTypes"}),(0,t.mdx)("h2",null,"Lint during build"),(0,t.mdx)("p",null,"Run the following to lint during the build process (assuming your ",(0,t.mdx)("a",{parentName:"p",href:"https://bit.dev/reference/build-pipeline/build-pipelines"},"build pipeline")," has a linter task):"),(0,t.mdx)(i.BitBuild,{mdxType:"BitBuild"}))}h.__bit_component=l,h.isMDXComponent=!0}}]);
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.