@component-hook/eslint-plugin 0.2.2-alpha.1 → 0.2.2
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/dist/index.d.ts +16 -0
- package/dist/index.js +4 -6
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ declare const _default: {
|
|
|
236
236
|
CSSKeywordValue: false;
|
|
237
237
|
CSSLayerBlockRule: false;
|
|
238
238
|
CSSLayerStatementRule: false;
|
|
239
|
+
CSSMarginRule: false;
|
|
239
240
|
CSSMathClamp: false;
|
|
240
241
|
CSSMathInvert: false;
|
|
241
242
|
CSSMathMax: false;
|
|
@@ -1201,12 +1202,15 @@ declare const _default: {
|
|
|
1201
1202
|
XRDepthInformation: false;
|
|
1202
1203
|
XRDOMOverlayState: false;
|
|
1203
1204
|
XRFrame: false;
|
|
1205
|
+
XRHand: false;
|
|
1204
1206
|
XRHitTestResult: false;
|
|
1205
1207
|
XRHitTestSource: false;
|
|
1206
1208
|
XRInputSource: false;
|
|
1207
1209
|
XRInputSourceArray: false;
|
|
1208
1210
|
XRInputSourceEvent: false;
|
|
1209
1211
|
XRInputSourcesChangeEvent: false;
|
|
1212
|
+
XRJointPose: false;
|
|
1213
|
+
XRJointSpace: false;
|
|
1210
1214
|
XRLayer: false;
|
|
1211
1215
|
XRLightEstimate: false;
|
|
1212
1216
|
XRLightProbe: false;
|
|
@@ -1502,6 +1506,7 @@ declare const reactPreset: ({
|
|
|
1502
1506
|
CSSKeywordValue: false;
|
|
1503
1507
|
CSSLayerBlockRule: false;
|
|
1504
1508
|
CSSLayerStatementRule: false;
|
|
1509
|
+
CSSMarginRule: false;
|
|
1505
1510
|
CSSMathClamp: false;
|
|
1506
1511
|
CSSMathInvert: false;
|
|
1507
1512
|
CSSMathMax: false;
|
|
@@ -2467,12 +2472,15 @@ declare const reactPreset: ({
|
|
|
2467
2472
|
XRDepthInformation: false;
|
|
2468
2473
|
XRDOMOverlayState: false;
|
|
2469
2474
|
XRFrame: false;
|
|
2475
|
+
XRHand: false;
|
|
2470
2476
|
XRHitTestResult: false;
|
|
2471
2477
|
XRHitTestSource: false;
|
|
2472
2478
|
XRInputSource: false;
|
|
2473
2479
|
XRInputSourceArray: false;
|
|
2474
2480
|
XRInputSourceEvent: false;
|
|
2475
2481
|
XRInputSourcesChangeEvent: false;
|
|
2482
|
+
XRJointPose: false;
|
|
2483
|
+
XRJointSpace: false;
|
|
2476
2484
|
XRLayer: false;
|
|
2477
2485
|
XRLightEstimate: false;
|
|
2478
2486
|
XRLightProbe: false;
|
|
@@ -2742,6 +2750,7 @@ declare const vuePreset: ({
|
|
|
2742
2750
|
CSSKeywordValue: false;
|
|
2743
2751
|
CSSLayerBlockRule: false;
|
|
2744
2752
|
CSSLayerStatementRule: false;
|
|
2753
|
+
CSSMarginRule: false;
|
|
2745
2754
|
CSSMathClamp: false;
|
|
2746
2755
|
CSSMathInvert: false;
|
|
2747
2756
|
CSSMathMax: false;
|
|
@@ -3707,12 +3716,15 @@ declare const vuePreset: ({
|
|
|
3707
3716
|
XRDepthInformation: false;
|
|
3708
3717
|
XRDOMOverlayState: false;
|
|
3709
3718
|
XRFrame: false;
|
|
3719
|
+
XRHand: false;
|
|
3710
3720
|
XRHitTestResult: false;
|
|
3711
3721
|
XRHitTestSource: false;
|
|
3712
3722
|
XRInputSource: false;
|
|
3713
3723
|
XRInputSourceArray: false;
|
|
3714
3724
|
XRInputSourceEvent: false;
|
|
3715
3725
|
XRInputSourcesChangeEvent: false;
|
|
3726
|
+
XRJointPose: false;
|
|
3727
|
+
XRJointSpace: false;
|
|
3716
3728
|
XRLayer: false;
|
|
3717
3729
|
XRLightEstimate: false;
|
|
3718
3730
|
XRLightProbe: false;
|
|
@@ -3982,6 +3994,7 @@ declare const vueSkyline: ({
|
|
|
3982
3994
|
CSSKeywordValue: false;
|
|
3983
3995
|
CSSLayerBlockRule: false;
|
|
3984
3996
|
CSSLayerStatementRule: false;
|
|
3997
|
+
CSSMarginRule: false;
|
|
3985
3998
|
CSSMathClamp: false;
|
|
3986
3999
|
CSSMathInvert: false;
|
|
3987
4000
|
CSSMathMax: false;
|
|
@@ -4947,12 +4960,15 @@ declare const vueSkyline: ({
|
|
|
4947
4960
|
XRDepthInformation: false;
|
|
4948
4961
|
XRDOMOverlayState: false;
|
|
4949
4962
|
XRFrame: false;
|
|
4963
|
+
XRHand: false;
|
|
4950
4964
|
XRHitTestResult: false;
|
|
4951
4965
|
XRHitTestSource: false;
|
|
4952
4966
|
XRInputSource: false;
|
|
4953
4967
|
XRInputSourceArray: false;
|
|
4954
4968
|
XRInputSourceEvent: false;
|
|
4955
4969
|
XRInputSourcesChangeEvent: false;
|
|
4970
|
+
XRJointPose: false;
|
|
4971
|
+
XRJointSpace: false;
|
|
4956
4972
|
XRLayer: false;
|
|
4957
4973
|
XRLightEstimate: false;
|
|
4958
4974
|
XRLightProbe: false;
|
package/dist/index.js
CHANGED
|
@@ -637,19 +637,17 @@ var sonarjsConfigs = [
|
|
|
637
637
|
rules: {
|
|
638
638
|
...default12.configs.recommended.rules,
|
|
639
639
|
"sonarjs/no-commented-code": "warn",
|
|
640
|
-
"sonarjs/no-vue-bypass-sanitization": "warn"
|
|
641
|
-
// TypeError: Error while loading at eslint v9.15.0
|
|
642
|
-
"sonarjs/no-empty-function": "off",
|
|
643
|
-
"sonarjs/no-unused-expressions": "off"
|
|
640
|
+
"sonarjs/no-vue-bypass-sanitization": "warn"
|
|
644
641
|
},
|
|
645
642
|
settings
|
|
646
643
|
},
|
|
647
644
|
{
|
|
648
|
-
name: "component-hook/sonarjs/allow-
|
|
645
|
+
name: "component-hook/sonarjs/allow-in-markdown",
|
|
649
646
|
files: ["**/*.md/**"],
|
|
650
647
|
plugins: plugins2,
|
|
651
648
|
rules: {
|
|
652
|
-
"sonarjs/unused-import": "off"
|
|
649
|
+
"sonarjs/unused-import": "off",
|
|
650
|
+
"sonarjs/no-unused-vars": "off"
|
|
653
651
|
},
|
|
654
652
|
settings
|
|
655
653
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@component-hook/eslint-plugin",
|
|
3
|
-
"version": "0.2.2
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "ESLint config for component hook",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
46
46
|
"eslint-plugin-regexp": "^2.7.0",
|
|
47
47
|
"eslint-plugin-security": "^3.0.1",
|
|
48
|
-
"eslint-plugin-sonarjs": "^
|
|
48
|
+
"eslint-plugin-sonarjs": "^3.0.0",
|
|
49
49
|
"eslint-plugin-testing-library": "^7.0.0",
|
|
50
50
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
51
|
-
"eslint-plugin-vue": "^9.
|
|
52
|
-
"globals": "^15.
|
|
53
|
-
"typescript-eslint": "^8.
|
|
51
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
52
|
+
"globals": "^15.13.0",
|
|
53
|
+
"typescript-eslint": "^8.17.0",
|
|
54
54
|
"vue-eslint-parser": "^9.4.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|