@teambit/linter 1.0.502 → 1.0.504
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.
|
3
|
+
<testsuite name="teambit.defender/linter@1.0.504" 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={
|
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={6500:(e,n,t)=>{Object.defineProperty(n,"Ay",{enumerable:!0,get:function(){return r.default}});var r=o(t(8431));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}},8431:(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},9206:(e,n,t)=>{var r={id:"teambit.defender/linter@1.0.504",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(9206),a=(t(1594),t(5016)),p=t(5682),l=t(6500),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})()));
|
package/artifacts/schema.json
CHANGED
@@ -114,11 +114,7 @@
|
|
114
114
|
"line": 25,
|
115
115
|
"character": 19
|
116
116
|
},
|
117
|
-
"name": "EnvsMain"
|
118
|
-
"componentId": {
|
119
|
-
"scope": "teambit.envs",
|
120
|
-
"name": "envs"
|
121
|
-
}
|
117
|
+
"name": "EnvsMain"
|
122
118
|
},
|
123
119
|
"isOptional": false,
|
124
120
|
"isSpread": false
|
@@ -138,8 +134,7 @@
|
|
138
134
|
"line": 26,
|
139
135
|
"character": 28
|
140
136
|
},
|
141
|
-
"name": "LinterService"
|
142
|
-
"internalFilePath": "linter.service.ts"
|
137
|
+
"name": "LinterService"
|
143
138
|
},
|
144
139
|
"isOptional": false,
|
145
140
|
"isSpread": false
|
@@ -199,11 +194,7 @@
|
|
199
194
|
"line": 32,
|
200
195
|
"character": 26
|
201
196
|
},
|
202
|
-
"name": "Component"
|
203
|
-
"componentId": {
|
204
|
-
"scope": "teambit.component",
|
205
|
-
"name": "component"
|
206
|
-
}
|
197
|
+
"name": "Component"
|
207
198
|
}
|
208
199
|
},
|
209
200
|
"isOptional": false,
|
@@ -268,11 +259,7 @@
|
|
268
259
|
"line": 38,
|
269
260
|
"character": 22
|
270
261
|
},
|
271
|
-
"name": "ExecutionContext"
|
272
|
-
"componentId": {
|
273
|
-
"scope": "teambit.envs",
|
274
|
-
"name": "envs"
|
275
|
-
}
|
262
|
+
"name": "ExecutionContext"
|
276
263
|
},
|
277
264
|
"isOptional": false,
|
278
265
|
"isSpread": false
|
@@ -449,11 +436,7 @@
|
|
449
436
|
"line": 58,
|
450
437
|
"character": 55
|
451
438
|
},
|
452
|
-
"name": "EnvsMain"
|
453
|
-
"componentId": {
|
454
|
-
"scope": "teambit.envs",
|
455
|
-
"name": "envs"
|
456
|
-
}
|
439
|
+
"name": "EnvsMain"
|
457
440
|
},
|
458
441
|
{
|
459
442
|
"__schema": "TypeRefSchema",
|
@@ -462,11 +445,7 @@
|
|
462
445
|
"line": 58,
|
463
446
|
"character": 65
|
464
447
|
},
|
465
|
-
"name": "CLIMain"
|
466
|
-
"componentId": {
|
467
|
-
"scope": "teambit.harmony",
|
468
|
-
"name": "cli"
|
469
|
-
}
|
448
|
+
"name": "CLIMain"
|
470
449
|
},
|
471
450
|
{
|
472
451
|
"__schema": "TypeRefSchema",
|
@@ -475,11 +454,7 @@
|
|
475
454
|
"line": 58,
|
476
455
|
"character": 74
|
477
456
|
},
|
478
|
-
"name": "ComponentMain"
|
479
|
-
"componentId": {
|
480
|
-
"scope": "teambit.component",
|
481
|
-
"name": "component"
|
482
|
-
}
|
457
|
+
"name": "ComponentMain"
|
483
458
|
},
|
484
459
|
{
|
485
460
|
"__schema": "TypeRefSchema",
|
@@ -488,11 +463,7 @@
|
|
488
463
|
"line": 58,
|
489
464
|
"character": 89
|
490
465
|
},
|
491
|
-
"name": "LoggerMain"
|
492
|
-
"componentId": {
|
493
|
-
"scope": "teambit.harmony",
|
494
|
-
"name": "logger"
|
495
|
-
}
|
466
|
+
"name": "LoggerMain"
|
496
467
|
},
|
497
468
|
{
|
498
469
|
"__schema": "TypeRefSchema",
|
@@ -501,11 +472,7 @@
|
|
501
472
|
"line": 58,
|
502
473
|
"character": 101
|
503
474
|
},
|
504
|
-
"name": "Workspace"
|
505
|
-
"componentId": {
|
506
|
-
"scope": "teambit.workspace",
|
507
|
-
"name": "workspace"
|
508
|
-
}
|
475
|
+
"name": "Workspace"
|
509
476
|
}
|
510
477
|
]
|
511
478
|
},
|
@@ -633,8 +600,7 @@
|
|
633
600
|
"line": 18,
|
634
601
|
"character": 14
|
635
602
|
},
|
636
|
-
"name": "FixTypes"
|
637
|
-
"internalFilePath": "linter-context.ts"
|
603
|
+
"name": "FixTypes"
|
638
604
|
},
|
639
605
|
"isOptional": true
|
640
606
|
}
|
@@ -1098,11 +1064,7 @@
|
|
1098
1064
|
"line": 165,
|
1099
1065
|
"character": 47
|
1100
1066
|
},
|
1101
|
-
"name": "BuildContext"
|
1102
|
-
"componentId": {
|
1103
|
-
"scope": "teambit.pipelines",
|
1104
|
-
"name": "builder"
|
1105
|
-
}
|
1067
|
+
"name": "BuildContext"
|
1106
1068
|
},
|
1107
1069
|
"isOptional": true,
|
1108
1070
|
"isSpread": false
|
@@ -1380,8 +1342,7 @@
|
|
1380
1342
|
"line": 82,
|
1381
1343
|
"character": 13
|
1382
1344
|
},
|
1383
|
-
"name": "LintMessage"
|
1384
|
-
"internalFilePath": "linter.ts"
|
1345
|
+
"name": "LintMessage"
|
1385
1346
|
}
|
1386
1347
|
},
|
1387
1348
|
"isOptional": false
|
@@ -1849,11 +1810,7 @@
|
|
1849
1810
|
"line": 14,
|
1850
1811
|
"character": 26
|
1851
1812
|
},
|
1852
|
-
"name": "BuildContext"
|
1853
|
-
"componentId": {
|
1854
|
-
"scope": "teambit.pipelines",
|
1855
|
-
"name": "builder"
|
1856
|
-
}
|
1813
|
+
"name": "BuildContext"
|
1857
1814
|
},
|
1858
1815
|
"isOptional": false,
|
1859
1816
|
"isSpread": false
|
@@ -1875,11 +1832,7 @@
|
|
1875
1832
|
"line": 14,
|
1876
1833
|
"character": 49
|
1877
1834
|
},
|
1878
|
-
"name": "BuiltTaskResult"
|
1879
|
-
"componentId": {
|
1880
|
-
"scope": "teambit.pipelines",
|
1881
|
-
"name": "builder"
|
1882
|
-
}
|
1835
|
+
"name": "BuiltTaskResult"
|
1883
1836
|
}
|
1884
1837
|
]
|
1885
1838
|
},
|
@@ -1911,7 +1864,7 @@
|
|
1911
1864
|
"_legacy": {
|
1912
1865
|
"scope": "teambit.defender",
|
1913
1866
|
"name": "linter",
|
1914
|
-
"version": "1.0.
|
1867
|
+
"version": "1.0.504"
|
1915
1868
|
},
|
1916
1869
|
"_scope": "teambit.defender"
|
1917
1870
|
}
|
@@ -2018,10 +1971,6 @@
|
|
2018
1971
|
"character": 21
|
2019
1972
|
},
|
2020
1973
|
"name": "ComponentMap",
|
2021
|
-
"componentId": {
|
2022
|
-
"scope": "teambit.component",
|
2023
|
-
"name": "component"
|
2024
|
-
},
|
2025
1974
|
"typeArgs": [
|
2026
1975
|
{
|
2027
1976
|
"__schema": "KeywordTypeSchema",
|
@@ -2059,7 +2008,7 @@
|
|
2059
2008
|
"_legacy": {
|
2060
2009
|
"scope": "teambit.defender",
|
2061
2010
|
"name": "linter",
|
2062
|
-
"version": "1.0.
|
2011
|
+
"version": "1.0.504"
|
2063
2012
|
},
|
2064
2013
|
"_scope": "teambit.defender"
|
2065
2014
|
}
|
@@ -2172,8 +2121,7 @@
|
|
2172
2121
|
"line": 23,
|
2173
2122
|
"character": 14
|
2174
2123
|
},
|
2175
|
-
"name": "FixTypes"
|
2176
|
-
"internalFilePath": "linter-context.ts"
|
2124
|
+
"name": "FixTypes"
|
2177
2125
|
},
|
2178
2126
|
"doc": {
|
2179
2127
|
"__schema": "DocSchema",
|
@@ -2309,8 +2257,7 @@
|
|
2309
2257
|
"line": 23,
|
2310
2258
|
"character": 14
|
2311
2259
|
},
|
2312
|
-
"name": "FixTypes"
|
2313
|
-
"internalFilePath": "linter-context.ts"
|
2260
|
+
"name": "FixTypes"
|
2314
2261
|
},
|
2315
2262
|
"isOptional": true
|
2316
2263
|
}
|
@@ -2366,10 +2313,6 @@
|
|
2366
2313
|
"character": 13
|
2367
2314
|
},
|
2368
2315
|
"name": "EnvHandler",
|
2369
|
-
"componentId": {
|
2370
|
-
"scope": "teambit.envs",
|
2371
|
-
"name": "envs"
|
2372
|
-
},
|
2373
2316
|
"typeArgs": [
|
2374
2317
|
{
|
2375
2318
|
"__schema": "TypeRefSchema",
|
@@ -2519,8 +2462,7 @@
|
|
2519
2462
|
"line": 18,
|
2520
2463
|
"character": 14
|
2521
2464
|
},
|
2522
|
-
"name": "FixTypes"
|
2523
|
-
"internalFilePath": "linter-context.ts"
|
2465
|
+
"name": "FixTypes"
|
2524
2466
|
},
|
2525
2467
|
"isOptional": true
|
2526
2468
|
}
|
@@ -2583,11 +2525,7 @@
|
|
2583
2525
|
"line": 25,
|
2584
2526
|
"character": 19
|
2585
2527
|
},
|
2586
|
-
"name": "EnvsMain"
|
2587
|
-
"componentId": {
|
2588
|
-
"scope": "teambit.envs",
|
2589
|
-
"name": "envs"
|
2590
|
-
}
|
2528
|
+
"name": "EnvsMain"
|
2591
2529
|
},
|
2592
2530
|
"isOptional": false,
|
2593
2531
|
"isSpread": false
|
@@ -2607,8 +2545,7 @@
|
|
2607
2545
|
"line": 26,
|
2608
2546
|
"character": 28
|
2609
2547
|
},
|
2610
|
-
"name": "LinterService"
|
2611
|
-
"internalFilePath": "linter.service.ts"
|
2548
|
+
"name": "LinterService"
|
2612
2549
|
},
|
2613
2550
|
"isOptional": false,
|
2614
2551
|
"isSpread": false
|
@@ -2668,11 +2605,7 @@
|
|
2668
2605
|
"line": 32,
|
2669
2606
|
"character": 26
|
2670
2607
|
},
|
2671
|
-
"name": "Component"
|
2672
|
-
"componentId": {
|
2673
|
-
"scope": "teambit.component",
|
2674
|
-
"name": "component"
|
2675
|
-
}
|
2608
|
+
"name": "Component"
|
2676
2609
|
}
|
2677
2610
|
},
|
2678
2611
|
"isOptional": false,
|
@@ -2737,11 +2670,7 @@
|
|
2737
2670
|
"line": 38,
|
2738
2671
|
"character": 22
|
2739
2672
|
},
|
2740
|
-
"name": "ExecutionContext"
|
2741
|
-
"componentId": {
|
2742
|
-
"scope": "teambit.envs",
|
2743
|
-
"name": "envs"
|
2744
|
-
}
|
2673
|
+
"name": "ExecutionContext"
|
2745
2674
|
},
|
2746
2675
|
"isOptional": false,
|
2747
2676
|
"isSpread": false
|
@@ -2918,11 +2847,7 @@
|
|
2918
2847
|
"line": 58,
|
2919
2848
|
"character": 55
|
2920
2849
|
},
|
2921
|
-
"name": "EnvsMain"
|
2922
|
-
"componentId": {
|
2923
|
-
"scope": "teambit.envs",
|
2924
|
-
"name": "envs"
|
2925
|
-
}
|
2850
|
+
"name": "EnvsMain"
|
2926
2851
|
},
|
2927
2852
|
{
|
2928
2853
|
"__schema": "TypeRefSchema",
|
@@ -2931,11 +2856,7 @@
|
|
2931
2856
|
"line": 58,
|
2932
2857
|
"character": 65
|
2933
2858
|
},
|
2934
|
-
"name": "CLIMain"
|
2935
|
-
"componentId": {
|
2936
|
-
"scope": "teambit.harmony",
|
2937
|
-
"name": "cli"
|
2938
|
-
}
|
2859
|
+
"name": "CLIMain"
|
2939
2860
|
},
|
2940
2861
|
{
|
2941
2862
|
"__schema": "TypeRefSchema",
|
@@ -2944,11 +2865,7 @@
|
|
2944
2865
|
"line": 58,
|
2945
2866
|
"character": 74
|
2946
2867
|
},
|
2947
|
-
"name": "ComponentMain"
|
2948
|
-
"componentId": {
|
2949
|
-
"scope": "teambit.component",
|
2950
|
-
"name": "component"
|
2951
|
-
}
|
2868
|
+
"name": "ComponentMain"
|
2952
2869
|
},
|
2953
2870
|
{
|
2954
2871
|
"__schema": "TypeRefSchema",
|
@@ -2957,11 +2874,7 @@
|
|
2957
2874
|
"line": 58,
|
2958
2875
|
"character": 89
|
2959
2876
|
},
|
2960
|
-
"name": "LoggerMain"
|
2961
|
-
"componentId": {
|
2962
|
-
"scope": "teambit.harmony",
|
2963
|
-
"name": "logger"
|
2964
|
-
}
|
2877
|
+
"name": "LoggerMain"
|
2965
2878
|
},
|
2966
2879
|
{
|
2967
2880
|
"__schema": "TypeRefSchema",
|
@@ -2970,11 +2883,7 @@
|
|
2970
2883
|
"line": 58,
|
2971
2884
|
"character": 101
|
2972
2885
|
},
|
2973
|
-
"name": "Workspace"
|
2974
|
-
"componentId": {
|
2975
|
-
"scope": "teambit.workspace",
|
2976
|
-
"name": "workspace"
|
2977
|
-
}
|
2886
|
+
"name": "Workspace"
|
2978
2887
|
}
|
2979
2888
|
]
|
2980
2889
|
},
|
@@ -3590,8 +3499,7 @@
|
|
3590
3499
|
"line": 82,
|
3591
3500
|
"character": 13
|
3592
3501
|
},
|
3593
|
-
"name": "LintMessage"
|
3594
|
-
"internalFilePath": "linter.ts"
|
3502
|
+
"name": "LintMessage"
|
3595
3503
|
}
|
3596
3504
|
},
|
3597
3505
|
"isOptional": false
|
@@ -4312,11 +4220,7 @@
|
|
4312
4220
|
"line": 165,
|
4313
4221
|
"character": 47
|
4314
4222
|
},
|
4315
|
-
"name": "BuildContext"
|
4316
|
-
"componentId": {
|
4317
|
-
"scope": "teambit.pipelines",
|
4318
|
-
"name": "builder"
|
4319
|
-
}
|
4223
|
+
"name": "BuildContext"
|
4320
4224
|
},
|
4321
4225
|
"isOptional": true,
|
4322
4226
|
"isSpread": false
|
@@ -4456,11 +4360,7 @@
|
|
4456
4360
|
"line": 14,
|
4457
4361
|
"character": 26
|
4458
4362
|
},
|
4459
|
-
"name": "BuildContext"
|
4460
|
-
"componentId": {
|
4461
|
-
"scope": "teambit.pipelines",
|
4462
|
-
"name": "builder"
|
4463
|
-
}
|
4363
|
+
"name": "BuildContext"
|
4464
4364
|
},
|
4465
4365
|
"isOptional": false,
|
4466
4366
|
"isSpread": false
|
@@ -4482,11 +4382,7 @@
|
|
4482
4382
|
"line": 14,
|
4483
4383
|
"character": 49
|
4484
4384
|
},
|
4485
|
-
"name": "BuiltTaskResult"
|
4486
|
-
"componentId": {
|
4487
|
-
"scope": "teambit.pipelines",
|
4488
|
-
"name": "builder"
|
4489
|
-
}
|
4385
|
+
"name": "BuiltTaskResult"
|
4490
4386
|
}
|
4491
4387
|
]
|
4492
4388
|
},
|
@@ -4518,7 +4414,7 @@
|
|
4518
4414
|
"_legacy": {
|
4519
4415
|
"scope": "teambit.defender",
|
4520
4416
|
"name": "linter",
|
4521
|
-
"version": "1.0.
|
4417
|
+
"version": "1.0.504"
|
4522
4418
|
},
|
4523
4419
|
"_scope": "teambit.defender"
|
4524
4420
|
}
|
@@ -4544,7 +4440,7 @@
|
|
4544
4440
|
"line": 4,
|
4545
4441
|
"character": 1
|
4546
4442
|
},
|
4547
|
-
"signature": "type EslintFixType = \"
|
4443
|
+
"signature": "type EslintFixType = \"problem\" | \"suggestion\" | \"layout\"",
|
4548
4444
|
"name": "EslintFixType",
|
4549
4445
|
"type": {
|
4550
4446
|
"__schema": "TypeUnionSchema",
|
@@ -4655,8 +4551,7 @@
|
|
4655
4551
|
"line": 6,
|
4656
4552
|
"character": 23
|
4657
4553
|
},
|
4658
|
-
"name": "EslintFixType"
|
4659
|
-
"internalFilePath": "linter-context.ts"
|
4554
|
+
"name": "EslintFixType"
|
4660
4555
|
},
|
4661
4556
|
{
|
4662
4557
|
"__schema": "TypeRefSchema",
|
@@ -4665,8 +4560,7 @@
|
|
4665
4560
|
"line": 6,
|
4666
4561
|
"character": 39
|
4667
4562
|
},
|
4668
|
-
"name": "OxlintFixType"
|
4669
|
-
"internalFilePath": "linter-context.ts"
|
4563
|
+
"name": "OxlintFixType"
|
4670
4564
|
},
|
4671
4565
|
{
|
4672
4566
|
"__schema": "KeywordTypeSchema",
|
@@ -4705,8 +4599,7 @@
|
|
4705
4599
|
"line": 7,
|
4706
4600
|
"character": 30
|
4707
4601
|
},
|
4708
|
-
"name": "FixType"
|
4709
|
-
"internalFilePath": "linter-context.ts"
|
4602
|
+
"name": "FixType"
|
4710
4603
|
}
|
4711
4604
|
]
|
4712
4605
|
}
|
@@ -4818,8 +4711,7 @@
|
|
4818
4711
|
"line": 23,
|
4819
4712
|
"character": 14
|
4820
4713
|
},
|
4821
|
-
"name": "FixTypes"
|
4822
|
-
"internalFilePath": "linter-context.ts"
|
4714
|
+
"name": "FixTypes"
|
4823
4715
|
},
|
4824
4716
|
"isOptional": true
|
4825
4717
|
}
|
@@ -4915,10 +4807,6 @@
|
|
4915
4807
|
"character": 21
|
4916
4808
|
},
|
4917
4809
|
"name": "ComponentMap",
|
4918
|
-
"componentId": {
|
4919
|
-
"scope": "teambit.component",
|
4920
|
-
"name": "component"
|
4921
|
-
},
|
4922
4810
|
"typeArgs": [
|
4923
4811
|
{
|
4924
4812
|
"__schema": "KeywordTypeSchema",
|
@@ -4956,7 +4844,7 @@
|
|
4956
4844
|
"_legacy": {
|
4957
4845
|
"scope": "teambit.defender",
|
4958
4846
|
"name": "linter",
|
4959
|
-
"version": "1.0.
|
4847
|
+
"version": "1.0.504"
|
4960
4848
|
},
|
4961
4849
|
"_scope": "teambit.defender"
|
4962
4850
|
}
|
@@ -5069,8 +4957,7 @@
|
|
5069
4957
|
"line": 23,
|
5070
4958
|
"character": 14
|
5071
4959
|
},
|
5072
|
-
"name": "FixTypes"
|
5073
|
-
"internalFilePath": "linter-context.ts"
|
4960
|
+
"name": "FixTypes"
|
5074
4961
|
},
|
5075
4962
|
"doc": {
|
5076
4963
|
"__schema": "DocSchema",
|
@@ -5139,10 +5026,6 @@
|
|
5139
5026
|
"character": 13
|
5140
5027
|
},
|
5141
5028
|
"name": "EnvHandler",
|
5142
|
-
"componentId": {
|
5143
|
-
"scope": "teambit.envs",
|
5144
|
-
"name": "envs"
|
5145
|
-
},
|
5146
5029
|
"typeArgs": [
|
5147
5030
|
{
|
5148
5031
|
"__schema": "TypeRefSchema",
|
@@ -5167,7 +5050,7 @@
|
|
5167
5050
|
"componentId": {
|
5168
5051
|
"scope": "teambit.defender",
|
5169
5052
|
"name": "linter",
|
5170
|
-
"version": "1.0.
|
5053
|
+
"version": "1.0.504"
|
5171
5054
|
},
|
5172
5055
|
"taggedModuleExports": []
|
5173
5056
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.504/dist/linter.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.504/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.
|
3
|
+
"version": "1.0.504",
|
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.
|
9
|
+
"version": "1.0.504"
|
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.
|
18
|
-
"@teambit/component": "1.0.
|
19
|
-
"@teambit/envs": "1.0.
|
17
|
+
"@teambit/cli": "0.0.1081",
|
18
|
+
"@teambit/component": "1.0.504",
|
19
|
+
"@teambit/envs": "1.0.504",
|
20
20
|
"@teambit/legacy.constants": "0.0.4",
|
21
21
|
"@teambit/toolbox.time.timer": "0.0.2",
|
22
|
-
"@teambit/workspace": "1.0.
|
23
|
-
"@teambit/builder": "1.0.
|
24
|
-
"@teambit/isolator": "1.0.
|
25
|
-
"@teambit/logger": "0.0.
|
22
|
+
"@teambit/workspace": "1.0.504",
|
23
|
+
"@teambit/builder": "1.0.504",
|
24
|
+
"@teambit/isolator": "1.0.504",
|
25
|
+
"@teambit/logger": "0.0.1174"
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
28
|
"@types/lodash": "4.14.165",
|