@teambit/linter 1.0.498 → 1.0.500

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.defender/linter@1.0.498" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.defender/linter@1.0.500" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["teambit.defender/linter-preview"]=n():e["teambit.defender/linter-preview"]=n()}(self,(()=>(()=>{"use strict";var e={5796:(e,n,t)=>{Object.defineProperty(n,"Ay",{enumerable:!0,get:function(){return r.default}});var r=o(t(6639));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.defender/content/linter-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/linter-overview",exported:!0}},6639:(e,n,t)=>{var r={id:"teambit.defender/content/linter-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/linter-overview",exported:!0};Object.defineProperty(n,"__esModule",{value:!0}),n.default=c,p(t(1594));var o=t(5016),i=t(5682),a=["components"];function p(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(this,arguments)}function d(e,n){if(null==e)return{};var t,r,o=s(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function s(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}p.__bit_component=r,l.__bit_component=r,d.__bit_component=r,s.__bit_component=r;var m={},u="wrapper";function c(e){var n=e.components,t=d(e,a);return(0,o.mdx)(u,l({},m,t,{components:n,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,o.mdx)("h1",null,"Overview"),(0,o.mdx)("p",null,"Linting helps us maintain consistent code styling and avoid potential bugs by analyzing our source code, statically, before it is compiled and executed."),(0,o.mdx)("p",null,"The Linter aspect simplifies and standardizes the process of component linting. It does so for linting during development (in the workspace) and for linting during component build (in a capsule, as part of the ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),")"),(0,o.mdx)("h2",null,"Linting in development"),(0,o.mdx)("p",null,"Bit lints all components in the ",(0,o.mdx)("a",{parentName:"p",href:"/workspace/overview"},"Workspace")," using just a single command. That is true for components of all types, regardless of their specific ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env"),", and as a consequence of that, their specific Linter implementation"," and configuration."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit lint\n")),(0,o.mdx)("p",null,"To learn more on linting during development, please refer to ",(0,o.mdx)("a",{parentName:"p",href:"/linter/workspace-linting"},"Workspace Linting"),"."),(0,o.mdx)("h2",null,"Linting during build"),(0,o.mdx)("p",null,"During build, the lint task is only used for checking linting issues. it will not re-write the components with the auto fix option."),(0,o.mdx)("p",null,"Testing components for distribution is done during ",(0,o.mdx)("inlineCode",{parentName:"p"},"build")," by the Bit ",(0,o.mdx)("a",{parentName:"p",href:"/builder/overview"},"Builder"),"."),(0,o.mdx)("p",null,"Component build can be simulated with ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit build")," and done through ",(0,o.mdx)("a",{parentName:"p",href:"/components/tags"},"Tag")," or ",(0,o.mdx)("a",{parentName:"p",href:"/components/snaps"},"Snap")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit build\n")),(0,o.mdx)("p",null,"By default, linting is ",(0,o.mdx)("strong",{parentName:"p"},"not")," part of the ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),"."),(0,o.mdx)("h2",null,"Configuring and implementing Linters"),(0,o.mdx)("p",null,"The Linter implementation"," is configured in the ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env")," which is configured on your ",(0,o.mdx)("a",{parentName:"p",href:"/components/overview"},"Component"),". Customizing it can be done by ",(0,o.mdx)("a",{parentName:"p",href:"/"},"customizing an existing env with your linter")," or by ",(0,o.mdx)("a",{parentName:"p",href:"/envs/customizing-env"},"implementing your own Env"),"."),(0,o.mdx)("p",null,"Linter can also be implemented into Bit through few interfaces. ")))}c.__bit_component=r,c.isMDXComponent=!0},540:(e,n,t)=>{var r={id:"teambit.defender/linter@1.0.498",homepage:"https://bit.cloud/teambit/defender/linter",exported:!0};function o(){const e=i(t(1594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/linter.svg"}));a.__bit_component=r,n.Logo=a},5016:e=>{e.exports=MdxJsReact},1594:e=>{e.exports=React},5682:e=>{e.exports=TeambitMdxUiMdxScopeContext}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};t.r(r),t.d(r,{compositions:()=>f,compositions_metadata:()=>b,overview:()=>v});var o={};t.r(o),t.d(o,{default:()=>c});var i=t(540),a=(t(1594),t(5016)),p=t(5682),l=t(5796),d=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},s.apply(null,arguments)}var m={},u="wrapper";function c(e){var n=e.components,t=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,d);return(0,a.mdx)(u,s({},m,t,{components:n,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{LinterOverview:l.Ay},mdxType:"MDXScopeProvider"},(0,a.mdx)(l.Ay,{mdxType:"LinterOverview"})))}c.isMDXComponent=!0;const f=[i],v=[o],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
1
+ !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["teambit.defender/linter-preview"]=n():e["teambit.defender/linter-preview"]=n()}(self,(()=>(()=>{"use strict";var e={65796:(e,n,t)=>{Object.defineProperty(n,"Ay",{enumerable:!0,get:function(){return r.default}});var r=o(t(96639));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.defender/content/linter-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/linter-overview",exported:!0}},96639:(e,n,t)=>{var r={id:"teambit.defender/content/linter-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/linter-overview",exported:!0};Object.defineProperty(n,"__esModule",{value:!0}),n.default=c,p(t(41594));var o=t(5016),i=t(65682),a=["components"];function p(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(this,arguments)}function d(e,n){if(null==e)return{};var t,r,o=s(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function s(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}p.__bit_component=r,l.__bit_component=r,d.__bit_component=r,s.__bit_component=r;var m={},u="wrapper";function c(e){var n=e.components,t=d(e,a);return(0,o.mdx)(u,l({},m,t,{components:n,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,o.mdx)("h1",null,"Overview"),(0,o.mdx)("p",null,"Linting helps us maintain consistent code styling and avoid potential bugs by analyzing our source code, statically, before it is compiled and executed."),(0,o.mdx)("p",null,"The Linter aspect simplifies and standardizes the process of component linting. It does so for linting during development (in the workspace) and for linting during component build (in a capsule, as part of the ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),")"),(0,o.mdx)("h2",null,"Linting in development"),(0,o.mdx)("p",null,"Bit lints all components in the ",(0,o.mdx)("a",{parentName:"p",href:"/workspace/overview"},"Workspace")," using just a single command. That is true for components of all types, regardless of their specific ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env"),", and as a consequence of that, their specific Linter implementation"," and configuration."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit lint\n")),(0,o.mdx)("p",null,"To learn more on linting during development, please refer to ",(0,o.mdx)("a",{parentName:"p",href:"/linter/workspace-linting"},"Workspace Linting"),"."),(0,o.mdx)("h2",null,"Linting during build"),(0,o.mdx)("p",null,"During build, the lint task is only used for checking linting issues. it will not re-write the components with the auto fix option."),(0,o.mdx)("p",null,"Testing components for distribution is done during ",(0,o.mdx)("inlineCode",{parentName:"p"},"build")," by the Bit ",(0,o.mdx)("a",{parentName:"p",href:"/builder/overview"},"Builder"),"."),(0,o.mdx)("p",null,"Component build can be simulated with ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit build")," and done through ",(0,o.mdx)("a",{parentName:"p",href:"/components/tags"},"Tag")," or ",(0,o.mdx)("a",{parentName:"p",href:"/components/snaps"},"Snap")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit build\n")),(0,o.mdx)("p",null,"By default, linting is ",(0,o.mdx)("strong",{parentName:"p"},"not")," part of the ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),"."),(0,o.mdx)("h2",null,"Configuring and implementing Linters"),(0,o.mdx)("p",null,"The Linter implementation"," is configured in the ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env")," which is configured on your ",(0,o.mdx)("a",{parentName:"p",href:"/components/overview"},"Component"),". Customizing it can be done by ",(0,o.mdx)("a",{parentName:"p",href:"/"},"customizing an existing env with your linter")," or by ",(0,o.mdx)("a",{parentName:"p",href:"/envs/customizing-env"},"implementing your own Env"),"."),(0,o.mdx)("p",null,"Linter can also be implemented into Bit through few interfaces. ")))}c.__bit_component=r,c.isMDXComponent=!0},57442:(e,n,t)=>{var r={id:"teambit.defender/linter@1.0.500",homepage:"https://bit.cloud/teambit/defender/linter",exported:!0};function o(){const e=i(t(41594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/linter.svg"}));a.__bit_component=r,n.Logo=a},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React},65682:e=>{e.exports=TeambitMdxUiMdxScopeContext}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};t.r(r),t.d(r,{compositions:()=>f,compositions_metadata:()=>b,overview:()=>v});var o={};t.r(o),t.d(o,{default:()=>c});var i=t(57442),a=(t(41594),t(5016)),p=t(65682),l=t(65796),d=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},s.apply(null,arguments)}var m={},u="wrapper";function c(e){var n=e.components,t=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,d);return(0,a.mdx)(u,s({},m,t,{components:n,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{LinterOverview:l.Ay},mdxType:"MDXScopeProvider"},(0,a.mdx)(l.Ay,{mdxType:"LinterOverview"})))}c.isMDXComponent=!0;const f=[i],v=[o],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -114,7 +114,11 @@
114
114
  "line": 25,
115
115
  "character": 19
116
116
  },
117
- "name": "EnvsMain"
117
+ "name": "EnvsMain",
118
+ "componentId": {
119
+ "scope": "teambit.envs",
120
+ "name": "envs"
121
+ }
118
122
  },
119
123
  "isOptional": false,
120
124
  "isSpread": false
@@ -134,7 +138,8 @@
134
138
  "line": 26,
135
139
  "character": 28
136
140
  },
137
- "name": "LinterService"
141
+ "name": "LinterService",
142
+ "internalFilePath": "linter.service.ts"
138
143
  },
139
144
  "isOptional": false,
140
145
  "isSpread": false
@@ -194,7 +199,11 @@
194
199
  "line": 32,
195
200
  "character": 26
196
201
  },
197
- "name": "Component"
202
+ "name": "Component",
203
+ "componentId": {
204
+ "scope": "teambit.component",
205
+ "name": "component"
206
+ }
198
207
  }
199
208
  },
200
209
  "isOptional": false,
@@ -259,7 +268,11 @@
259
268
  "line": 38,
260
269
  "character": 22
261
270
  },
262
- "name": "ExecutionContext"
271
+ "name": "ExecutionContext",
272
+ "componentId": {
273
+ "scope": "teambit.envs",
274
+ "name": "envs"
275
+ }
263
276
  },
264
277
  "isOptional": false,
265
278
  "isSpread": false
@@ -436,7 +449,11 @@
436
449
  "line": 58,
437
450
  "character": 55
438
451
  },
439
- "name": "EnvsMain"
452
+ "name": "EnvsMain",
453
+ "componentId": {
454
+ "scope": "teambit.envs",
455
+ "name": "envs"
456
+ }
440
457
  },
441
458
  {
442
459
  "__schema": "TypeRefSchema",
@@ -445,7 +462,11 @@
445
462
  "line": 58,
446
463
  "character": 65
447
464
  },
448
- "name": "CLIMain"
465
+ "name": "CLIMain",
466
+ "componentId": {
467
+ "scope": "teambit.harmony",
468
+ "name": "cli"
469
+ }
449
470
  },
450
471
  {
451
472
  "__schema": "TypeRefSchema",
@@ -454,7 +475,11 @@
454
475
  "line": 58,
455
476
  "character": 74
456
477
  },
457
- "name": "ComponentMain"
478
+ "name": "ComponentMain",
479
+ "componentId": {
480
+ "scope": "teambit.component",
481
+ "name": "component"
482
+ }
458
483
  },
459
484
  {
460
485
  "__schema": "TypeRefSchema",
@@ -463,7 +488,11 @@
463
488
  "line": 58,
464
489
  "character": 89
465
490
  },
466
- "name": "LoggerMain"
491
+ "name": "LoggerMain",
492
+ "componentId": {
493
+ "scope": "teambit.harmony",
494
+ "name": "logger"
495
+ }
467
496
  },
468
497
  {
469
498
  "__schema": "TypeRefSchema",
@@ -472,7 +501,11 @@
472
501
  "line": 58,
473
502
  "character": 101
474
503
  },
475
- "name": "Workspace"
504
+ "name": "Workspace",
505
+ "componentId": {
506
+ "scope": "teambit.workspace",
507
+ "name": "workspace"
508
+ }
476
509
  }
477
510
  ]
478
511
  },
@@ -600,7 +633,8 @@
600
633
  "line": 18,
601
634
  "character": 14
602
635
  },
603
- "name": "FixTypes"
636
+ "name": "FixTypes",
637
+ "internalFilePath": "linter-context.ts"
604
638
  },
605
639
  "isOptional": true
606
640
  }
@@ -1064,7 +1098,11 @@
1064
1098
  "line": 165,
1065
1099
  "character": 47
1066
1100
  },
1067
- "name": "BuildContext"
1101
+ "name": "BuildContext",
1102
+ "componentId": {
1103
+ "scope": "teambit.pipelines",
1104
+ "name": "builder"
1105
+ }
1068
1106
  },
1069
1107
  "isOptional": true,
1070
1108
  "isSpread": false
@@ -1342,7 +1380,8 @@
1342
1380
  "line": 82,
1343
1381
  "character": 13
1344
1382
  },
1345
- "name": "LintMessage"
1383
+ "name": "LintMessage",
1384
+ "internalFilePath": "linter.ts"
1346
1385
  }
1347
1386
  },
1348
1387
  "isOptional": false
@@ -1810,7 +1849,11 @@
1810
1849
  "line": 14,
1811
1850
  "character": 26
1812
1851
  },
1813
- "name": "BuildContext"
1852
+ "name": "BuildContext",
1853
+ "componentId": {
1854
+ "scope": "teambit.pipelines",
1855
+ "name": "builder"
1856
+ }
1814
1857
  },
1815
1858
  "isOptional": false,
1816
1859
  "isSpread": false
@@ -1832,7 +1875,11 @@
1832
1875
  "line": 14,
1833
1876
  "character": 49
1834
1877
  },
1835
- "name": "BuiltTaskResult"
1878
+ "name": "BuiltTaskResult",
1879
+ "componentId": {
1880
+ "scope": "teambit.pipelines",
1881
+ "name": "builder"
1882
+ }
1836
1883
  }
1837
1884
  ]
1838
1885
  },
@@ -1864,7 +1911,7 @@
1864
1911
  "_legacy": {
1865
1912
  "scope": "teambit.defender",
1866
1913
  "name": "linter",
1867
- "version": "1.0.498"
1914
+ "version": "1.0.500"
1868
1915
  },
1869
1916
  "_scope": "teambit.defender"
1870
1917
  }
@@ -1971,6 +2018,10 @@
1971
2018
  "character": 21
1972
2019
  },
1973
2020
  "name": "ComponentMap",
2021
+ "componentId": {
2022
+ "scope": "teambit.component",
2023
+ "name": "component"
2024
+ },
1974
2025
  "typeArgs": [
1975
2026
  {
1976
2027
  "__schema": "KeywordTypeSchema",
@@ -2008,7 +2059,7 @@
2008
2059
  "_legacy": {
2009
2060
  "scope": "teambit.defender",
2010
2061
  "name": "linter",
2011
- "version": "1.0.498"
2062
+ "version": "1.0.500"
2012
2063
  },
2013
2064
  "_scope": "teambit.defender"
2014
2065
  }
@@ -2121,7 +2172,8 @@
2121
2172
  "line": 23,
2122
2173
  "character": 14
2123
2174
  },
2124
- "name": "FixTypes"
2175
+ "name": "FixTypes",
2176
+ "internalFilePath": "linter-context.ts"
2125
2177
  },
2126
2178
  "doc": {
2127
2179
  "__schema": "DocSchema",
@@ -2257,7 +2309,8 @@
2257
2309
  "line": 23,
2258
2310
  "character": 14
2259
2311
  },
2260
- "name": "FixTypes"
2312
+ "name": "FixTypes",
2313
+ "internalFilePath": "linter-context.ts"
2261
2314
  },
2262
2315
  "isOptional": true
2263
2316
  }
@@ -2313,6 +2366,10 @@
2313
2366
  "character": 13
2314
2367
  },
2315
2368
  "name": "EnvHandler",
2369
+ "componentId": {
2370
+ "scope": "teambit.envs",
2371
+ "name": "envs"
2372
+ },
2316
2373
  "typeArgs": [
2317
2374
  {
2318
2375
  "__schema": "TypeRefSchema",
@@ -2462,7 +2519,8 @@
2462
2519
  "line": 18,
2463
2520
  "character": 14
2464
2521
  },
2465
- "name": "FixTypes"
2522
+ "name": "FixTypes",
2523
+ "internalFilePath": "linter-context.ts"
2466
2524
  },
2467
2525
  "isOptional": true
2468
2526
  }
@@ -2525,7 +2583,11 @@
2525
2583
  "line": 25,
2526
2584
  "character": 19
2527
2585
  },
2528
- "name": "EnvsMain"
2586
+ "name": "EnvsMain",
2587
+ "componentId": {
2588
+ "scope": "teambit.envs",
2589
+ "name": "envs"
2590
+ }
2529
2591
  },
2530
2592
  "isOptional": false,
2531
2593
  "isSpread": false
@@ -2545,7 +2607,8 @@
2545
2607
  "line": 26,
2546
2608
  "character": 28
2547
2609
  },
2548
- "name": "LinterService"
2610
+ "name": "LinterService",
2611
+ "internalFilePath": "linter.service.ts"
2549
2612
  },
2550
2613
  "isOptional": false,
2551
2614
  "isSpread": false
@@ -2605,7 +2668,11 @@
2605
2668
  "line": 32,
2606
2669
  "character": 26
2607
2670
  },
2608
- "name": "Component"
2671
+ "name": "Component",
2672
+ "componentId": {
2673
+ "scope": "teambit.component",
2674
+ "name": "component"
2675
+ }
2609
2676
  }
2610
2677
  },
2611
2678
  "isOptional": false,
@@ -2670,7 +2737,11 @@
2670
2737
  "line": 38,
2671
2738
  "character": 22
2672
2739
  },
2673
- "name": "ExecutionContext"
2740
+ "name": "ExecutionContext",
2741
+ "componentId": {
2742
+ "scope": "teambit.envs",
2743
+ "name": "envs"
2744
+ }
2674
2745
  },
2675
2746
  "isOptional": false,
2676
2747
  "isSpread": false
@@ -2847,7 +2918,11 @@
2847
2918
  "line": 58,
2848
2919
  "character": 55
2849
2920
  },
2850
- "name": "EnvsMain"
2921
+ "name": "EnvsMain",
2922
+ "componentId": {
2923
+ "scope": "teambit.envs",
2924
+ "name": "envs"
2925
+ }
2851
2926
  },
2852
2927
  {
2853
2928
  "__schema": "TypeRefSchema",
@@ -2856,7 +2931,11 @@
2856
2931
  "line": 58,
2857
2932
  "character": 65
2858
2933
  },
2859
- "name": "CLIMain"
2934
+ "name": "CLIMain",
2935
+ "componentId": {
2936
+ "scope": "teambit.harmony",
2937
+ "name": "cli"
2938
+ }
2860
2939
  },
2861
2940
  {
2862
2941
  "__schema": "TypeRefSchema",
@@ -2865,7 +2944,11 @@
2865
2944
  "line": 58,
2866
2945
  "character": 74
2867
2946
  },
2868
- "name": "ComponentMain"
2947
+ "name": "ComponentMain",
2948
+ "componentId": {
2949
+ "scope": "teambit.component",
2950
+ "name": "component"
2951
+ }
2869
2952
  },
2870
2953
  {
2871
2954
  "__schema": "TypeRefSchema",
@@ -2874,7 +2957,11 @@
2874
2957
  "line": 58,
2875
2958
  "character": 89
2876
2959
  },
2877
- "name": "LoggerMain"
2960
+ "name": "LoggerMain",
2961
+ "componentId": {
2962
+ "scope": "teambit.harmony",
2963
+ "name": "logger"
2964
+ }
2878
2965
  },
2879
2966
  {
2880
2967
  "__schema": "TypeRefSchema",
@@ -2883,7 +2970,11 @@
2883
2970
  "line": 58,
2884
2971
  "character": 101
2885
2972
  },
2886
- "name": "Workspace"
2973
+ "name": "Workspace",
2974
+ "componentId": {
2975
+ "scope": "teambit.workspace",
2976
+ "name": "workspace"
2977
+ }
2887
2978
  }
2888
2979
  ]
2889
2980
  },
@@ -3499,7 +3590,8 @@
3499
3590
  "line": 82,
3500
3591
  "character": 13
3501
3592
  },
3502
- "name": "LintMessage"
3593
+ "name": "LintMessage",
3594
+ "internalFilePath": "linter.ts"
3503
3595
  }
3504
3596
  },
3505
3597
  "isOptional": false
@@ -4220,7 +4312,11 @@
4220
4312
  "line": 165,
4221
4313
  "character": 47
4222
4314
  },
4223
- "name": "BuildContext"
4315
+ "name": "BuildContext",
4316
+ "componentId": {
4317
+ "scope": "teambit.pipelines",
4318
+ "name": "builder"
4319
+ }
4224
4320
  },
4225
4321
  "isOptional": true,
4226
4322
  "isSpread": false
@@ -4360,7 +4456,11 @@
4360
4456
  "line": 14,
4361
4457
  "character": 26
4362
4458
  },
4363
- "name": "BuildContext"
4459
+ "name": "BuildContext",
4460
+ "componentId": {
4461
+ "scope": "teambit.pipelines",
4462
+ "name": "builder"
4463
+ }
4364
4464
  },
4365
4465
  "isOptional": false,
4366
4466
  "isSpread": false
@@ -4382,7 +4482,11 @@
4382
4482
  "line": 14,
4383
4483
  "character": 49
4384
4484
  },
4385
- "name": "BuiltTaskResult"
4485
+ "name": "BuiltTaskResult",
4486
+ "componentId": {
4487
+ "scope": "teambit.pipelines",
4488
+ "name": "builder"
4489
+ }
4386
4490
  }
4387
4491
  ]
4388
4492
  },
@@ -4414,7 +4518,7 @@
4414
4518
  "_legacy": {
4415
4519
  "scope": "teambit.defender",
4416
4520
  "name": "linter",
4417
- "version": "1.0.498"
4521
+ "version": "1.0.500"
4418
4522
  },
4419
4523
  "_scope": "teambit.defender"
4420
4524
  }
@@ -4440,7 +4544,7 @@
4440
4544
  "line": 4,
4441
4545
  "character": 1
4442
4546
  },
4443
- "signature": "type EslintFixType = \"problem\" | \"suggestion\" | \"layout\"",
4547
+ "signature": "type EslintFixType = \"layout\" | \"problem\" | \"suggestion\"",
4444
4548
  "name": "EslintFixType",
4445
4549
  "type": {
4446
4550
  "__schema": "TypeUnionSchema",
@@ -4551,7 +4655,8 @@
4551
4655
  "line": 6,
4552
4656
  "character": 23
4553
4657
  },
4554
- "name": "EslintFixType"
4658
+ "name": "EslintFixType",
4659
+ "internalFilePath": "linter-context.ts"
4555
4660
  },
4556
4661
  {
4557
4662
  "__schema": "TypeRefSchema",
@@ -4560,7 +4665,8 @@
4560
4665
  "line": 6,
4561
4666
  "character": 39
4562
4667
  },
4563
- "name": "OxlintFixType"
4668
+ "name": "OxlintFixType",
4669
+ "internalFilePath": "linter-context.ts"
4564
4670
  },
4565
4671
  {
4566
4672
  "__schema": "KeywordTypeSchema",
@@ -4599,7 +4705,8 @@
4599
4705
  "line": 7,
4600
4706
  "character": 30
4601
4707
  },
4602
- "name": "FixType"
4708
+ "name": "FixType",
4709
+ "internalFilePath": "linter-context.ts"
4603
4710
  }
4604
4711
  ]
4605
4712
  }
@@ -4711,7 +4818,8 @@
4711
4818
  "line": 23,
4712
4819
  "character": 14
4713
4820
  },
4714
- "name": "FixTypes"
4821
+ "name": "FixTypes",
4822
+ "internalFilePath": "linter-context.ts"
4715
4823
  },
4716
4824
  "isOptional": true
4717
4825
  }
@@ -4807,6 +4915,10 @@
4807
4915
  "character": 21
4808
4916
  },
4809
4917
  "name": "ComponentMap",
4918
+ "componentId": {
4919
+ "scope": "teambit.component",
4920
+ "name": "component"
4921
+ },
4810
4922
  "typeArgs": [
4811
4923
  {
4812
4924
  "__schema": "KeywordTypeSchema",
@@ -4844,7 +4956,7 @@
4844
4956
  "_legacy": {
4845
4957
  "scope": "teambit.defender",
4846
4958
  "name": "linter",
4847
- "version": "1.0.498"
4959
+ "version": "1.0.500"
4848
4960
  },
4849
4961
  "_scope": "teambit.defender"
4850
4962
  }
@@ -4957,7 +5069,8 @@
4957
5069
  "line": 23,
4958
5070
  "character": 14
4959
5071
  },
4960
- "name": "FixTypes"
5072
+ "name": "FixTypes",
5073
+ "internalFilePath": "linter-context.ts"
4961
5074
  },
4962
5075
  "doc": {
4963
5076
  "__schema": "DocSchema",
@@ -5026,6 +5139,10 @@
5026
5139
  "character": 13
5027
5140
  },
5028
5141
  "name": "EnvHandler",
5142
+ "componentId": {
5143
+ "scope": "teambit.envs",
5144
+ "name": "envs"
5145
+ },
5029
5146
  "typeArgs": [
5030
5147
  {
5031
5148
  "__schema": "TypeRefSchema",
@@ -5050,7 +5167,7 @@
5050
5167
  "componentId": {
5051
5168
  "scope": "teambit.defender",
5052
5169
  "name": "linter",
5053
- "version": "1.0.498"
5170
+ "version": "1.0.500"
5054
5171
  },
5055
5172
  "taggedModuleExports": []
5056
5173
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.498/dist/linter.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.498/dist/linter.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.500/dist/linter.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.500/dist/linter.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/linter",
3
- "version": "1.0.498",
3
+ "version": "1.0.500",
4
4
  "homepage": "https://bit.cloud/teambit/defender/linter",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "linter",
9
- "version": "1.0.498"
9
+ "version": "1.0.500"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -14,15 +14,15 @@
14
14
  "graphql-tag": "2.12.1",
15
15
  "cli-highlight": "2.1.9",
16
16
  "@teambit/harmony": "0.4.6",
17
- "@teambit/cli": "0.0.1075",
18
- "@teambit/component": "1.0.498",
19
- "@teambit/envs": "1.0.498",
20
- "@teambit/legacy.constants": "0.0.3",
17
+ "@teambit/cli": "0.0.1077",
18
+ "@teambit/component": "1.0.500",
19
+ "@teambit/envs": "1.0.500",
20
+ "@teambit/legacy.constants": "0.0.4",
21
21
  "@teambit/toolbox.time.timer": "0.0.2",
22
- "@teambit/workspace": "1.0.498",
23
- "@teambit/builder": "1.0.498",
24
- "@teambit/isolator": "1.0.498",
25
- "@teambit/logger": "0.0.1168"
22
+ "@teambit/workspace": "1.0.500",
23
+ "@teambit/builder": "1.0.500",
24
+ "@teambit/isolator": "1.0.500",
25
+ "@teambit/logger": "0.0.1170"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/lodash": "4.14.165",