@teambit/linter 1.0.258 → 1.0.259
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.259" 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={71347:(e,n,t)=>{Object.defineProperty(n,"Ay",{enumerable:!0,get:function(){return o.default}});var o=r(t(21984));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.defender/content/linter-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/linter-overview",exported:!0}},21984:(e,n,t)=>{var o={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 r=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 o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},l.apply(this,arguments)}function d(e,n){if(null==e)return{};var t,o,r=s(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)t=i[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function s(e,n){if(null==e)return{};var t,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t=i[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}p.__bit_component=o,l.__bit_component=o,d.__bit_component=o,s.__bit_component=o;var m={},u="wrapper";function c(e){var n=e.components,t=d(e,a);return(0,r.mdx)(u,l({},m,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("h1",null,"Overview"),(0,r.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,r.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,r.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),")"),(0,r.mdx)("h2",null,"Linting in development"),(0,r.mdx)("p",null,"Bit lints all components in the ",(0,r.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,r.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env"),", and as a consequence of that, their specific Linter implementation"," and configuration."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit lint\n")),(0,r.mdx)("p",null,"To learn more on linting during development, please refer to ",(0,r.mdx)("a",{parentName:"p",href:"/linter/workspace-linting"},"Workspace Linting"),"."),(0,r.mdx)("h2",null,"Linting during build"),(0,r.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,r.mdx)("p",null,"Testing components for distribution is done during ",(0,r.mdx)("inlineCode",{parentName:"p"},"build")," by the Bit ",(0,r.mdx)("a",{parentName:"p",href:"/builder/overview"},"Builder"),"."),(0,r.mdx)("p",null,"Component build can be simulated with ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit build")," and done through ",(0,r.mdx)("a",{parentName:"p",href:"/components/tags"},"Tag")," or ",(0,r.mdx)("a",{parentName:"p",href:"/components/snaps"},"Snap")),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-bash"},"bit build\n")),(0,r.mdx)("p",null,"By default, linting is ",(0,r.mdx)("strong",{parentName:"p"},"not")," part of the ",(0,r.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),"."),(0,r.mdx)("h2",null,"Configuring and implementing Linters"),(0,r.mdx)("p",null,"The Linter implementation"," is configured in the ",(0,r.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env")," which is configured on your ",(0,r.mdx)("a",{parentName:"p",href:"/components/overview"},"Component"),". Customizing it can be done by ",(0,r.mdx)("a",{parentName:"p",href:"/"},"customizing an existing env with your linter")," or by ",(0,r.mdx)("a",{parentName:"p",href:"/envs/customizing-env"},"implementing your own Env"),"."),(0,r.mdx)("p",null,"Linter can also be implemented into Bit through few interfaces. ")))}c.__bit_component=o,c.isMDXComponent=!0},38395:(e,n,t)=>{var o={id:"teambit.defender/linter@1.0.259",homepage:"https://bit.cloud/teambit/defender/linter",exported:!0};function r(){const e=i(t(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Logo=void 0,r.__bit_component=o,i.__bit_component=o;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/linter.svg"}));a.__bit_component=o,n.Logo=a},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React},65682:e=>{e.exports=TeambitMdxUiMdxScopeContext}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={exports:{}};return e[o](i,i.exports,t),i.exports}t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},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 o={};return(()=>{t.r(o),t.d(o,{compositions:()=>u,compositions_metadata:()=>f,overview:()=>c});var e={};t.r(e),t.d(e,{default:()=>m});var n=t(38395),r=(t(41594),t(5016)),i=t(65682),a=t(71347),p=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},l.apply(this,arguments)}var d={},s="wrapper";function m(e){var n=e.components,t=function(e,n){if(null==e)return{};var t,o,r=function(e,n){if(null==e)return{};var t={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(n.indexOf(o)>=0)continue;t[o]=e[o]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)t=i[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,p);return(0,r.mdx)(s,l({},d,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{LinterOverview:a.Ay},mdxType:"MDXScopeProvider"},(0,r.mdx)(a.Ay,{mdxType:"LinterOverview"})))}m.isMDXComponent=!0;const u=[n],c=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),o})()));
|
package/artifacts/schema.json
CHANGED
@@ -112,7 +112,11 @@
|
|
112
112
|
"line": 24,
|
113
113
|
"character": 29
|
114
114
|
},
|
115
|
-
"name": "EnvsMain"
|
115
|
+
"name": "EnvsMain",
|
116
|
+
"componentId": {
|
117
|
+
"scope": "teambit.envs",
|
118
|
+
"name": "envs"
|
119
|
+
}
|
116
120
|
},
|
117
121
|
"isOptional": false,
|
118
122
|
"isSpread": false
|
@@ -132,7 +136,8 @@
|
|
132
136
|
"line": 24,
|
133
137
|
"character": 62
|
134
138
|
},
|
135
|
-
"name": "LinterService"
|
139
|
+
"name": "LinterService",
|
140
|
+
"internalFilePath": "linter.service.ts"
|
136
141
|
},
|
137
142
|
"isOptional": false,
|
138
143
|
"isSpread": false
|
@@ -191,7 +196,11 @@
|
|
191
196
|
"line": 29,
|
192
197
|
"character": 26
|
193
198
|
},
|
194
|
-
"name": "Component"
|
199
|
+
"name": "Component",
|
200
|
+
"componentId": {
|
201
|
+
"scope": "teambit.component",
|
202
|
+
"name": "component"
|
203
|
+
}
|
195
204
|
}
|
196
205
|
},
|
197
206
|
"isOptional": false,
|
@@ -256,7 +265,11 @@
|
|
256
265
|
"line": 35,
|
257
266
|
"character": 22
|
258
267
|
},
|
259
|
-
"name": "ExecutionContext"
|
268
|
+
"name": "ExecutionContext",
|
269
|
+
"componentId": {
|
270
|
+
"scope": "teambit.envs",
|
271
|
+
"name": "envs"
|
272
|
+
}
|
260
273
|
},
|
261
274
|
"isOptional": false,
|
262
275
|
"isSpread": false
|
@@ -433,7 +446,11 @@
|
|
433
446
|
"line": 55,
|
434
447
|
"character": 55
|
435
448
|
},
|
436
|
-
"name": "EnvsMain"
|
449
|
+
"name": "EnvsMain",
|
450
|
+
"componentId": {
|
451
|
+
"scope": "teambit.envs",
|
452
|
+
"name": "envs"
|
453
|
+
}
|
437
454
|
},
|
438
455
|
{
|
439
456
|
"__schema": "TypeRefSchema",
|
@@ -442,7 +459,11 @@
|
|
442
459
|
"line": 55,
|
443
460
|
"character": 65
|
444
461
|
},
|
445
|
-
"name": "CLIMain"
|
462
|
+
"name": "CLIMain",
|
463
|
+
"componentId": {
|
464
|
+
"scope": "teambit.harmony",
|
465
|
+
"name": "cli"
|
466
|
+
}
|
446
467
|
},
|
447
468
|
{
|
448
469
|
"__schema": "TypeRefSchema",
|
@@ -451,7 +472,11 @@
|
|
451
472
|
"line": 55,
|
452
473
|
"character": 74
|
453
474
|
},
|
454
|
-
"name": "ComponentMain"
|
475
|
+
"name": "ComponentMain",
|
476
|
+
"componentId": {
|
477
|
+
"scope": "teambit.component",
|
478
|
+
"name": "component"
|
479
|
+
}
|
455
480
|
},
|
456
481
|
{
|
457
482
|
"__schema": "TypeRefSchema",
|
@@ -460,7 +485,11 @@
|
|
460
485
|
"line": 55,
|
461
486
|
"character": 89
|
462
487
|
},
|
463
|
-
"name": "LoggerMain"
|
488
|
+
"name": "LoggerMain",
|
489
|
+
"componentId": {
|
490
|
+
"scope": "teambit.harmony",
|
491
|
+
"name": "logger"
|
492
|
+
}
|
464
493
|
},
|
465
494
|
{
|
466
495
|
"__schema": "TypeRefSchema",
|
@@ -469,7 +498,11 @@
|
|
469
498
|
"line": 55,
|
470
499
|
"character": 101
|
471
500
|
},
|
472
|
-
"name": "Workspace"
|
501
|
+
"name": "Workspace",
|
502
|
+
"componentId": {
|
503
|
+
"scope": "teambit.workspace",
|
504
|
+
"name": "workspace"
|
505
|
+
}
|
473
506
|
}
|
474
507
|
]
|
475
508
|
},
|
@@ -595,7 +628,8 @@
|
|
595
628
|
"line": 18,
|
596
629
|
"character": 14
|
597
630
|
},
|
598
|
-
"name": "FixTypes"
|
631
|
+
"name": "FixTypes",
|
632
|
+
"internalFilePath": "linter-context.ts"
|
599
633
|
},
|
600
634
|
"isOptional": true
|
601
635
|
}
|
@@ -1021,7 +1055,11 @@
|
|
1021
1055
|
"line": 155,
|
1022
1056
|
"character": 47
|
1023
1057
|
},
|
1024
|
-
"name": "BuildContext"
|
1058
|
+
"name": "BuildContext",
|
1059
|
+
"componentId": {
|
1060
|
+
"scope": "teambit.pipelines",
|
1061
|
+
"name": "builder"
|
1062
|
+
}
|
1025
1063
|
},
|
1026
1064
|
"isOptional": true,
|
1027
1065
|
"isSpread": false
|
@@ -1291,7 +1329,8 @@
|
|
1291
1329
|
"line": 77,
|
1292
1330
|
"character": 13
|
1293
1331
|
},
|
1294
|
-
"name": "LintMessage"
|
1332
|
+
"name": "LintMessage",
|
1333
|
+
"internalFilePath": "linter.ts"
|
1295
1334
|
}
|
1296
1335
|
},
|
1297
1336
|
"isOptional": false
|
@@ -1717,7 +1756,11 @@
|
|
1717
1756
|
"line": 11,
|
1718
1757
|
"character": 26
|
1719
1758
|
},
|
1720
|
-
"name": "BuildContext"
|
1759
|
+
"name": "BuildContext",
|
1760
|
+
"componentId": {
|
1761
|
+
"scope": "teambit.pipelines",
|
1762
|
+
"name": "builder"
|
1763
|
+
}
|
1721
1764
|
},
|
1722
1765
|
"isOptional": false,
|
1723
1766
|
"isSpread": false
|
@@ -1739,7 +1782,11 @@
|
|
1739
1782
|
"line": 11,
|
1740
1783
|
"character": 49
|
1741
1784
|
},
|
1742
|
-
"name": "BuiltTaskResult"
|
1785
|
+
"name": "BuiltTaskResult",
|
1786
|
+
"componentId": {
|
1787
|
+
"scope": "teambit.pipelines",
|
1788
|
+
"name": "builder"
|
1789
|
+
}
|
1743
1790
|
}
|
1744
1791
|
]
|
1745
1792
|
},
|
@@ -1771,7 +1818,7 @@
|
|
1771
1818
|
"_legacy": {
|
1772
1819
|
"scope": "teambit.defender",
|
1773
1820
|
"name": "linter",
|
1774
|
-
"version": "1.0.
|
1821
|
+
"version": "1.0.259"
|
1775
1822
|
},
|
1776
1823
|
"_scope": "teambit.defender"
|
1777
1824
|
}
|
@@ -1875,6 +1922,10 @@
|
|
1875
1922
|
"character": 21
|
1876
1923
|
},
|
1877
1924
|
"name": "ComponentMap",
|
1925
|
+
"componentId": {
|
1926
|
+
"scope": "teambit.component",
|
1927
|
+
"name": "component"
|
1928
|
+
},
|
1878
1929
|
"typeArgs": [
|
1879
1930
|
{
|
1880
1931
|
"__schema": "KeywordTypeSchema",
|
@@ -1912,7 +1963,7 @@
|
|
1912
1963
|
"_legacy": {
|
1913
1964
|
"scope": "teambit.defender",
|
1914
1965
|
"name": "linter",
|
1915
|
-
"version": "1.0.
|
1966
|
+
"version": "1.0.259"
|
1916
1967
|
},
|
1917
1968
|
"_scope": "teambit.defender"
|
1918
1969
|
}
|
@@ -2023,7 +2074,8 @@
|
|
2023
2074
|
"line": 21,
|
2024
2075
|
"character": 14
|
2025
2076
|
},
|
2026
|
-
"name": "FixTypes"
|
2077
|
+
"name": "FixTypes",
|
2078
|
+
"internalFilePath": "linter-context.ts"
|
2027
2079
|
},
|
2028
2080
|
"doc": {
|
2029
2081
|
"__schema": "DocSchema",
|
@@ -2154,7 +2206,8 @@
|
|
2154
2206
|
"line": 21,
|
2155
2207
|
"character": 14
|
2156
2208
|
},
|
2157
|
-
"name": "FixTypes"
|
2209
|
+
"name": "FixTypes",
|
2210
|
+
"internalFilePath": "linter-context.ts"
|
2158
2211
|
},
|
2159
2212
|
"isOptional": true
|
2160
2213
|
}
|
@@ -2208,6 +2261,10 @@
|
|
2208
2261
|
"character": 13
|
2209
2262
|
},
|
2210
2263
|
"name": "EnvHandler",
|
2264
|
+
"componentId": {
|
2265
|
+
"scope": "teambit.envs",
|
2266
|
+
"name": "envs"
|
2267
|
+
},
|
2211
2268
|
"typeArgs": [
|
2212
2269
|
{
|
2213
2270
|
"__schema": "TypeRefSchema",
|
@@ -2356,7 +2413,8 @@
|
|
2356
2413
|
"line": 18,
|
2357
2414
|
"character": 14
|
2358
2415
|
},
|
2359
|
-
"name": "FixTypes"
|
2416
|
+
"name": "FixTypes",
|
2417
|
+
"internalFilePath": "linter-context.ts"
|
2360
2418
|
},
|
2361
2419
|
"isOptional": true
|
2362
2420
|
}
|
@@ -2419,7 +2477,11 @@
|
|
2419
2477
|
"line": 24,
|
2420
2478
|
"character": 29
|
2421
2479
|
},
|
2422
|
-
"name": "EnvsMain"
|
2480
|
+
"name": "EnvsMain",
|
2481
|
+
"componentId": {
|
2482
|
+
"scope": "teambit.envs",
|
2483
|
+
"name": "envs"
|
2484
|
+
}
|
2423
2485
|
},
|
2424
2486
|
"isOptional": false,
|
2425
2487
|
"isSpread": false
|
@@ -2439,7 +2501,8 @@
|
|
2439
2501
|
"line": 24,
|
2440
2502
|
"character": 62
|
2441
2503
|
},
|
2442
|
-
"name": "LinterService"
|
2504
|
+
"name": "LinterService",
|
2505
|
+
"internalFilePath": "linter.service.ts"
|
2443
2506
|
},
|
2444
2507
|
"isOptional": false,
|
2445
2508
|
"isSpread": false
|
@@ -2498,7 +2561,11 @@
|
|
2498
2561
|
"line": 29,
|
2499
2562
|
"character": 26
|
2500
2563
|
},
|
2501
|
-
"name": "Component"
|
2564
|
+
"name": "Component",
|
2565
|
+
"componentId": {
|
2566
|
+
"scope": "teambit.component",
|
2567
|
+
"name": "component"
|
2568
|
+
}
|
2502
2569
|
}
|
2503
2570
|
},
|
2504
2571
|
"isOptional": false,
|
@@ -2563,7 +2630,11 @@
|
|
2563
2630
|
"line": 35,
|
2564
2631
|
"character": 22
|
2565
2632
|
},
|
2566
|
-
"name": "ExecutionContext"
|
2633
|
+
"name": "ExecutionContext",
|
2634
|
+
"componentId": {
|
2635
|
+
"scope": "teambit.envs",
|
2636
|
+
"name": "envs"
|
2637
|
+
}
|
2567
2638
|
},
|
2568
2639
|
"isOptional": false,
|
2569
2640
|
"isSpread": false
|
@@ -2740,7 +2811,11 @@
|
|
2740
2811
|
"line": 55,
|
2741
2812
|
"character": 55
|
2742
2813
|
},
|
2743
|
-
"name": "EnvsMain"
|
2814
|
+
"name": "EnvsMain",
|
2815
|
+
"componentId": {
|
2816
|
+
"scope": "teambit.envs",
|
2817
|
+
"name": "envs"
|
2818
|
+
}
|
2744
2819
|
},
|
2745
2820
|
{
|
2746
2821
|
"__schema": "TypeRefSchema",
|
@@ -2749,7 +2824,11 @@
|
|
2749
2824
|
"line": 55,
|
2750
2825
|
"character": 65
|
2751
2826
|
},
|
2752
|
-
"name": "CLIMain"
|
2827
|
+
"name": "CLIMain",
|
2828
|
+
"componentId": {
|
2829
|
+
"scope": "teambit.harmony",
|
2830
|
+
"name": "cli"
|
2831
|
+
}
|
2753
2832
|
},
|
2754
2833
|
{
|
2755
2834
|
"__schema": "TypeRefSchema",
|
@@ -2758,7 +2837,11 @@
|
|
2758
2837
|
"line": 55,
|
2759
2838
|
"character": 74
|
2760
2839
|
},
|
2761
|
-
"name": "ComponentMain"
|
2840
|
+
"name": "ComponentMain",
|
2841
|
+
"componentId": {
|
2842
|
+
"scope": "teambit.component",
|
2843
|
+
"name": "component"
|
2844
|
+
}
|
2762
2845
|
},
|
2763
2846
|
{
|
2764
2847
|
"__schema": "TypeRefSchema",
|
@@ -2767,7 +2850,11 @@
|
|
2767
2850
|
"line": 55,
|
2768
2851
|
"character": 89
|
2769
2852
|
},
|
2770
|
-
"name": "LoggerMain"
|
2853
|
+
"name": "LoggerMain",
|
2854
|
+
"componentId": {
|
2855
|
+
"scope": "teambit.harmony",
|
2856
|
+
"name": "logger"
|
2857
|
+
}
|
2771
2858
|
},
|
2772
2859
|
{
|
2773
2860
|
"__schema": "TypeRefSchema",
|
@@ -2776,7 +2863,11 @@
|
|
2776
2863
|
"line": 55,
|
2777
2864
|
"character": 101
|
2778
2865
|
},
|
2779
|
-
"name": "Workspace"
|
2866
|
+
"name": "Workspace",
|
2867
|
+
"componentId": {
|
2868
|
+
"scope": "teambit.workspace",
|
2869
|
+
"name": "workspace"
|
2870
|
+
}
|
2780
2871
|
}
|
2781
2872
|
]
|
2782
2873
|
},
|
@@ -3346,7 +3437,8 @@
|
|
3346
3437
|
"line": 77,
|
3347
3438
|
"character": 13
|
3348
3439
|
},
|
3349
|
-
"name": "LintMessage"
|
3440
|
+
"name": "LintMessage",
|
3441
|
+
"internalFilePath": "linter.ts"
|
3350
3442
|
}
|
3351
3443
|
},
|
3352
3444
|
"isOptional": false
|
@@ -4023,7 +4115,11 @@
|
|
4023
4115
|
"line": 155,
|
4024
4116
|
"character": 47
|
4025
4117
|
},
|
4026
|
-
"name": "BuildContext"
|
4118
|
+
"name": "BuildContext",
|
4119
|
+
"componentId": {
|
4120
|
+
"scope": "teambit.pipelines",
|
4121
|
+
"name": "builder"
|
4122
|
+
}
|
4027
4123
|
},
|
4028
4124
|
"isOptional": true,
|
4029
4125
|
"isSpread": false
|
@@ -4163,7 +4259,11 @@
|
|
4163
4259
|
"line": 11,
|
4164
4260
|
"character": 26
|
4165
4261
|
},
|
4166
|
-
"name": "BuildContext"
|
4262
|
+
"name": "BuildContext",
|
4263
|
+
"componentId": {
|
4264
|
+
"scope": "teambit.pipelines",
|
4265
|
+
"name": "builder"
|
4266
|
+
}
|
4167
4267
|
},
|
4168
4268
|
"isOptional": false,
|
4169
4269
|
"isSpread": false
|
@@ -4185,7 +4285,11 @@
|
|
4185
4285
|
"line": 11,
|
4186
4286
|
"character": 49
|
4187
4287
|
},
|
4188
|
-
"name": "BuiltTaskResult"
|
4288
|
+
"name": "BuiltTaskResult",
|
4289
|
+
"componentId": {
|
4290
|
+
"scope": "teambit.pipelines",
|
4291
|
+
"name": "builder"
|
4292
|
+
}
|
4189
4293
|
}
|
4190
4294
|
]
|
4191
4295
|
},
|
@@ -4217,7 +4321,7 @@
|
|
4217
4321
|
"_legacy": {
|
4218
4322
|
"scope": "teambit.defender",
|
4219
4323
|
"name": "linter",
|
4220
|
-
"version": "1.0.
|
4324
|
+
"version": "1.0.259"
|
4221
4325
|
},
|
4222
4326
|
"_scope": "teambit.defender"
|
4223
4327
|
}
|
@@ -4308,7 +4412,8 @@
|
|
4308
4412
|
"line": 5,
|
4309
4413
|
"character": 30
|
4310
4414
|
},
|
4311
|
-
"name": "FixType"
|
4415
|
+
"name": "FixType",
|
4416
|
+
"internalFilePath": "linter-context.ts"
|
4312
4417
|
}
|
4313
4418
|
]
|
4314
4419
|
}
|
@@ -4417,7 +4522,8 @@
|
|
4417
4522
|
"line": 21,
|
4418
4523
|
"character": 14
|
4419
4524
|
},
|
4420
|
-
"name": "FixTypes"
|
4525
|
+
"name": "FixTypes",
|
4526
|
+
"internalFilePath": "linter-context.ts"
|
4421
4527
|
},
|
4422
4528
|
"isOptional": true
|
4423
4529
|
}
|
@@ -4511,6 +4617,10 @@
|
|
4511
4617
|
"character": 21
|
4512
4618
|
},
|
4513
4619
|
"name": "ComponentMap",
|
4620
|
+
"componentId": {
|
4621
|
+
"scope": "teambit.component",
|
4622
|
+
"name": "component"
|
4623
|
+
},
|
4514
4624
|
"typeArgs": [
|
4515
4625
|
{
|
4516
4626
|
"__schema": "KeywordTypeSchema",
|
@@ -4548,7 +4658,7 @@
|
|
4548
4658
|
"_legacy": {
|
4549
4659
|
"scope": "teambit.defender",
|
4550
4660
|
"name": "linter",
|
4551
|
-
"version": "1.0.
|
4661
|
+
"version": "1.0.259"
|
4552
4662
|
},
|
4553
4663
|
"_scope": "teambit.defender"
|
4554
4664
|
}
|
@@ -4659,7 +4769,8 @@
|
|
4659
4769
|
"line": 21,
|
4660
4770
|
"character": 14
|
4661
4771
|
},
|
4662
|
-
"name": "FixTypes"
|
4772
|
+
"name": "FixTypes",
|
4773
|
+
"internalFilePath": "linter-context.ts"
|
4663
4774
|
},
|
4664
4775
|
"doc": {
|
4665
4776
|
"__schema": "DocSchema",
|
@@ -4726,6 +4837,10 @@
|
|
4726
4837
|
"character": 13
|
4727
4838
|
},
|
4728
4839
|
"name": "EnvHandler",
|
4840
|
+
"componentId": {
|
4841
|
+
"scope": "teambit.envs",
|
4842
|
+
"name": "envs"
|
4843
|
+
},
|
4729
4844
|
"typeArgs": [
|
4730
4845
|
{
|
4731
4846
|
"__schema": "TypeRefSchema",
|
@@ -4750,7 +4865,7 @@
|
|
4750
4865
|
"componentId": {
|
4751
4866
|
"scope": "teambit.defender",
|
4752
4867
|
"name": "linter",
|
4753
|
-
"version": "1.0.
|
4868
|
+
"version": "1.0.259"
|
4754
4869
|
},
|
4755
4870
|
"taggedModuleExports": []
|
4756
4871
|
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.259/dist/linter.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_linter@1.0.259/dist/linter.docs.mdx';
|
3
|
+
|
4
|
+
export const compositions = [compositions_0];
|
5
|
+
export const overview = [overview_0];
|
6
|
+
|
7
|
+
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/linter",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.259",
|
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.259"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -14,13 +14,13 @@
|
|
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.
|
20
|
-
"@teambit/workspace": "1.0.
|
21
|
-
"@teambit/builder": "1.0.
|
22
|
-
"@teambit/isolator": "1.0.
|
23
|
-
"@teambit/logger": "0.0.
|
17
|
+
"@teambit/cli": "0.0.863",
|
18
|
+
"@teambit/component": "1.0.259",
|
19
|
+
"@teambit/envs": "1.0.259",
|
20
|
+
"@teambit/workspace": "1.0.259",
|
21
|
+
"@teambit/builder": "1.0.259",
|
22
|
+
"@teambit/isolator": "1.0.259",
|
23
|
+
"@teambit/logger": "0.0.956"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@types/lodash": "4.14.165",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.defender_linter@1.0.258/dist/linter.composition.js';
|
2
|
-
import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.defender_linter@1.0.258/dist/linter.docs.mdx';
|
3
|
-
|
4
|
-
export const compositions = [compositions_0];
|
5
|
-
export const overview = [overview_0];
|
6
|
-
|
7
|
-
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|