@teambit/eslint 1.0.310 → 1.0.312
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/eslint@1.0.
|
|
3
|
+
<testsuite name="teambit.defender/eslint@1.0.312" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/eslint-preview"]=t():e["teambit.defender/eslint-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/eslint-preview"]=t():e["teambit.defender/eslint-preview"]=t()}(self,(()=>(()=>{"use strict";var e={1405:(e,t,o)=>{var n={id:"teambit.defender/eslint@1.0.312",homepage:"https://bit.cloud/teambit/defender/eslint",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;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/brands/logo-eslint.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>v,overview:()=>m});var r={};o.r(r),o.d(r,{default:()=>f});var i=o(1405);o(41594);const a=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var d=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(null,arguments)}var c={},l="wrapper";function f(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,d);return(0,a.mdx)(l,p({},c,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}f.isMDXComponent=!0;const u=[i],m=[r],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -453,7 +453,8 @@
|
|
|
453
453
|
"character": 3
|
|
454
454
|
},
|
|
455
455
|
"raw": "/**\n * linter config for eslint.\n */",
|
|
456
|
-
"comment": "linter config for eslint."
|
|
456
|
+
"comment": "linter config for eslint.",
|
|
457
|
+
"tags": []
|
|
457
458
|
},
|
|
458
459
|
"signature": "(property) config: ESLintLib.Options",
|
|
459
460
|
"name": "config",
|
|
@@ -483,7 +484,8 @@
|
|
|
483
484
|
"character": 3
|
|
484
485
|
},
|
|
485
486
|
"raw": "/**\n * specify to path to resolve eslint plugins from.\n */",
|
|
486
|
-
"comment": "specify to path to resolve eslint plugins from."
|
|
487
|
+
"comment": "specify to path to resolve eslint plugins from.",
|
|
488
|
+
"tags": []
|
|
487
489
|
},
|
|
488
490
|
"signature": "(property) pluginPath?: string | undefined",
|
|
489
491
|
"name": "pluginPath",
|
|
@@ -513,7 +515,8 @@
|
|
|
513
515
|
"character": 3
|
|
514
516
|
},
|
|
515
517
|
"raw": "/**\n * decide the formatter for the CLI output.\n */",
|
|
516
|
-
"comment": "decide the formatter for the CLI output."
|
|
518
|
+
"comment": "decide the formatter for the CLI output.",
|
|
519
|
+
"tags": []
|
|
517
520
|
},
|
|
518
521
|
"signature": "(property) formatter?: string | undefined",
|
|
519
522
|
"name": "formatter",
|
|
@@ -543,7 +546,8 @@
|
|
|
543
546
|
"character": 3
|
|
544
547
|
},
|
|
545
548
|
"raw": "/**\n * file types to lint.\n */",
|
|
546
|
-
"comment": "file types to lint."
|
|
549
|
+
"comment": "file types to lint.",
|
|
550
|
+
"tags": []
|
|
547
551
|
},
|
|
548
552
|
"signature": "(property) extensions?: string[] | undefined",
|
|
549
553
|
"name": "extensions",
|
|
@@ -581,7 +585,8 @@
|
|
|
581
585
|
"character": 3
|
|
582
586
|
},
|
|
583
587
|
"raw": "/**\n * typescript config for eslint.\n * If you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\n * In case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\n * a `../../` will be added to the beginning of the path.\n */",
|
|
584
|
-
"comment": "typescript config for eslint.\nIf you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\nIn case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\na `../../` will be added to the beginning of the path."
|
|
588
|
+
"comment": "typescript config for eslint.\nIf you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\nIn case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\na `../../` will be added to the beginning of the path.",
|
|
589
|
+
"tags": []
|
|
585
590
|
},
|
|
586
591
|
"signature": "(property) tsConfig?: Record<string, any> | undefined",
|
|
587
592
|
"name": "tsConfig",
|
|
@@ -711,7 +716,8 @@
|
|
|
711
716
|
"character": 3
|
|
712
717
|
},
|
|
713
718
|
"raw": "/**\n * linter config for eslint.\n */",
|
|
714
|
-
"comment": "linter config for eslint."
|
|
719
|
+
"comment": "linter config for eslint.",
|
|
720
|
+
"tags": []
|
|
715
721
|
},
|
|
716
722
|
"signature": "(property) config: ESLintLib.Options",
|
|
717
723
|
"name": "config",
|
|
@@ -741,7 +747,8 @@
|
|
|
741
747
|
"character": 3
|
|
742
748
|
},
|
|
743
749
|
"raw": "/**\n * specify to path to resolve eslint plugins from.\n */",
|
|
744
|
-
"comment": "specify to path to resolve eslint plugins from."
|
|
750
|
+
"comment": "specify to path to resolve eslint plugins from.",
|
|
751
|
+
"tags": []
|
|
745
752
|
},
|
|
746
753
|
"signature": "(property) pluginPath?: string | undefined",
|
|
747
754
|
"name": "pluginPath",
|
|
@@ -771,7 +778,8 @@
|
|
|
771
778
|
"character": 3
|
|
772
779
|
},
|
|
773
780
|
"raw": "/**\n * decide the formatter for the CLI output.\n */",
|
|
774
|
-
"comment": "decide the formatter for the CLI output."
|
|
781
|
+
"comment": "decide the formatter for the CLI output.",
|
|
782
|
+
"tags": []
|
|
775
783
|
},
|
|
776
784
|
"signature": "(property) formatter?: string | undefined",
|
|
777
785
|
"name": "formatter",
|
|
@@ -801,7 +809,8 @@
|
|
|
801
809
|
"character": 3
|
|
802
810
|
},
|
|
803
811
|
"raw": "/**\n * file types to lint.\n */",
|
|
804
|
-
"comment": "file types to lint."
|
|
812
|
+
"comment": "file types to lint.",
|
|
813
|
+
"tags": []
|
|
805
814
|
},
|
|
806
815
|
"signature": "(property) extensions?: string[] | undefined",
|
|
807
816
|
"name": "extensions",
|
|
@@ -839,7 +848,8 @@
|
|
|
839
848
|
"character": 3
|
|
840
849
|
},
|
|
841
850
|
"raw": "/**\n * typescript config for eslint.\n * If you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\n * In case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\n * a `../../` will be added to the beginning of the path.\n */",
|
|
842
|
-
"comment": "typescript config for eslint.\nIf you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\nIn case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\na `../../` will be added to the beginning of the path."
|
|
851
|
+
"comment": "typescript config for eslint.\nIf you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\nIn case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\na `../../` will be added to the beginning of the path.",
|
|
852
|
+
"tags": []
|
|
843
853
|
},
|
|
844
854
|
"signature": "(property) tsConfig?: Record<string, any> | undefined",
|
|
845
855
|
"name": "tsConfig",
|
|
@@ -1373,7 +1383,8 @@
|
|
|
1373
1383
|
"character": 1
|
|
1374
1384
|
},
|
|
1375
1385
|
"raw": "/**\n * get options for eslint.\n */",
|
|
1376
|
-
"comment": "get options for eslint."
|
|
1386
|
+
"comment": "get options for eslint.",
|
|
1387
|
+
"tags": []
|
|
1377
1388
|
},
|
|
1378
1389
|
"signature": "function getOptions(options: ESLintOptions, context: LinterContext): ESLintOptions",
|
|
1379
1390
|
"name": "getOptions",
|
|
@@ -1440,7 +1451,7 @@
|
|
|
1440
1451
|
"componentId": {
|
|
1441
1452
|
"scope": "teambit.defender",
|
|
1442
1453
|
"name": "eslint",
|
|
1443
|
-
"version": "1.0.
|
|
1454
|
+
"version": "1.0.312"
|
|
1444
1455
|
},
|
|
1445
1456
|
"taggedModuleExports": []
|
|
1446
1457
|
}
|
package/dist/eslint.linter.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.312/dist/eslint.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.312/dist/eslint.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/eslint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.312",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/defender/eslint",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.defender",
|
|
8
8
|
"name": "eslint",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.312"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"eslint": "8.56.0",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"p-map-series": "2.1.0",
|
|
17
17
|
"@babel/runtime": "7.23.2",
|
|
18
18
|
"@teambit/harmony": "0.4.6",
|
|
19
|
-
"@teambit/component": "1.0.
|
|
20
|
-
"@teambit/linter": "1.0.
|
|
21
|
-
"@teambit/logger": "0.0.
|
|
22
|
-
"@teambit/cli": "0.0.
|
|
19
|
+
"@teambit/component": "1.0.312",
|
|
20
|
+
"@teambit/linter": "1.0.312",
|
|
21
|
+
"@teambit/logger": "0.0.982",
|
|
22
|
+
"@teambit/cli": "0.0.889",
|
|
23
23
|
"@teambit/defender.eslint.config-mutator": "0.0.101",
|
|
24
|
-
"@teambit/workspace-config-files": "1.0.
|
|
24
|
+
"@teambit/workspace-config-files": "1.0.312"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/eslint": "8.56.6",
|