@enormora/eslint-config-react-tsx 0.0.36 → 0.0.38
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.
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@enormora/eslint-config-react-jsx": "0.0.
|
|
10
|
+
"@enormora/eslint-config-react-jsx": "0.0.38"
|
|
11
11
|
},
|
|
12
12
|
"description": "Enormora’s ESLint react with TSX and typescript configuration",
|
|
13
13
|
"exports": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"name": "@enormora/eslint-config-react-tsx",
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@enormora/eslint-config-base": "0.0.
|
|
21
|
+
"@enormora/eslint-config-base": "0.0.39"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
25
|
"url": "git://github.com/enormora/eslint-config.git"
|
|
26
26
|
},
|
|
27
27
|
"type": "module",
|
|
28
|
-
"version": "0.0.
|
|
28
|
+
"version": "0.0.38"
|
|
29
29
|
}
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import { javascriptExtensions, typescriptExtensions } from
|
|
2
|
-
import { reactJsxConfig } from
|
|
3
|
-
|
|
1
|
+
import { javascriptExtensions, typescriptExtensions } from "@enormora/eslint-config-base/constants.js";
|
|
2
|
+
import { reactJsxConfig } from "@enormora/eslint-config-react-jsx";
|
|
4
3
|
export const reactTsxConfig = {
|
|
5
4
|
languageOptions: reactJsxConfig.languageOptions,
|
|
6
5
|
plugins: reactJsxConfig.plugins,
|
|
7
6
|
settings: {
|
|
8
7
|
'import/resolver': {
|
|
9
8
|
node: {
|
|
10
|
-
extensions: [
|
|
9
|
+
extensions: [...javascriptExtensions, ...typescriptExtensions, '.tsx']
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
12
|
'import/parsers': {
|
|
14
|
-
'@typescript-eslint/parser': [
|
|
13
|
+
'@typescript-eslint/parser': [...typescriptExtensions, '.tsx']
|
|
15
14
|
}
|
|
16
15
|
},
|
|
17
16
|
rules: {
|
|
18
17
|
...reactJsxConfig.rules,
|
|
19
|
-
|
|
20
18
|
'import/extensions': [
|
|
21
19
|
'error',
|
|
22
20
|
{
|
|
@@ -26,3 +24,4 @@ export const reactTsxConfig = {
|
|
|
26
24
|
]
|
|
27
25
|
}
|
|
28
26
|
};
|
|
27
|
+
//# sourceMappingURL=react-tsx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-tsx.js","sourceRoot":"","sources":["../../../../../configs/presets/react-tsx/react-tsx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,eAAe,EAAE,cAAc,CAAC,eAAe;IAC/C,OAAO,EAAE,cAAc,CAAC,OAAO;IAC/B,QAAQ,EAAE;QACN,iBAAiB,EAAE;YACf,IAAI,EAAE;gBACF,UAAU,EAAE,CAAE,GAAG,oBAAoB,EAAE,GAAG,oBAAoB,EAAE,MAAM,CAAE;aAC3E;SACJ;QACD,gBAAgB,EAAE;YACd,2BAA2B,EAAE,CAAE,GAAG,oBAAoB,EAAE,MAAM,CAAE;SACnE;KACJ;IACD,KAAK,EAAE;QACH,GAAG,cAAc,CAAC,KAAK;QAEvB,mBAAmB,EAAE;YACjB,OAAO;YACP;gBACI,GAAG,EAAE,gBAAgB;gBACrB,IAAI,EAAE,gBAAgB;aACzB;SACJ;KACJ;CACJ,CAAC"}
|
package/sbom.cdx.json
CHANGED
|
@@ -9,58 +9,58 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.33"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@enormora/eslint-config-react-tsx",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-react-tsx@0.0.
|
|
21
|
-
"purl": "pkg:npm/@enormora/eslint-config-react-tsx@0.0.
|
|
19
|
+
"version": "0.0.38",
|
|
20
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-react-tsx@0.0.38",
|
|
21
|
+
"purl": "pkg:npm/@enormora/eslint-config-react-tsx@0.0.38"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
25
25
|
{
|
|
26
26
|
"type": "library",
|
|
27
27
|
"name": "@enormora/eslint-config-base",
|
|
28
|
-
"version": "0.0.
|
|
29
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
28
|
+
"version": "0.0.39",
|
|
29
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.39",
|
|
30
30
|
"scope": "optional",
|
|
31
31
|
"licenses": [
|
|
32
32
|
{
|
|
33
33
|
"expression": "MIT"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
|
-
"purl": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
36
|
+
"purl": "pkg:npm/@enormora/eslint-config-base@0.0.39"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"type": "library",
|
|
40
40
|
"name": "@enormora/eslint-config-react-jsx",
|
|
41
|
-
"version": "0.0.
|
|
42
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.
|
|
41
|
+
"version": "0.0.38",
|
|
42
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.38",
|
|
43
43
|
"scope": "required",
|
|
44
44
|
"licenses": [
|
|
45
45
|
{
|
|
46
46
|
"expression": "MIT"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
-
"purl": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.
|
|
49
|
+
"purl": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.38"
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"dependencies": [
|
|
53
53
|
{
|
|
54
|
-
"ref": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
54
|
+
"ref": "pkg:npm/@enormora/eslint-config-base@0.0.39"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.
|
|
57
|
+
"ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.38"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
"ref": "pkg:npm/@enormora/eslint-config-react-tsx@0.0.
|
|
60
|
+
"ref": "pkg:npm/@enormora/eslint-config-react-tsx@0.0.38",
|
|
61
61
|
"dependsOn": [
|
|
62
|
-
"pkg:npm/@enormora/eslint-config-base@0.0.
|
|
63
|
-
"pkg:npm/@enormora/eslint-config-react-jsx@0.0.
|
|
62
|
+
"pkg:npm/@enormora/eslint-config-base@0.0.39",
|
|
63
|
+
"pkg:npm/@enormora/eslint-config-react-jsx@0.0.38"
|
|
64
64
|
]
|
|
65
65
|
}
|
|
66
66
|
]
|