@component-hook/eslint-plugin 0.1.5-alpha.0 → 0.1.5-alpha.1
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 -26
- package/dist/index.js +1 -5
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as eslint_plugin_regexp from 'eslint-plugin-regexp';
|
|
2
|
-
import * as eslint_plugin_regexp_dist_types from 'eslint-plugin-regexp/dist/types';
|
|
3
1
|
import * as eslint from 'eslint';
|
|
4
2
|
|
|
5
3
|
declare const _default: {
|
|
@@ -20,12 +18,6 @@ declare const _default: {
|
|
|
20
18
|
eqeqeq: string;
|
|
21
19
|
};
|
|
22
20
|
} | eslint.Linter.Config<eslint.Linter.RulesRecord> | {
|
|
23
|
-
name: string;
|
|
24
|
-
rules: Record<string, eslint_plugin_regexp_dist_types.SeverityString>;
|
|
25
|
-
plugins: {
|
|
26
|
-
regexp: typeof eslint_plugin_regexp;
|
|
27
|
-
};
|
|
28
|
-
} | {
|
|
29
21
|
name: string;
|
|
30
22
|
ignores: string[];
|
|
31
23
|
} | {
|
|
@@ -76,6 +68,7 @@ declare const _default: {
|
|
|
76
68
|
BackgroundFetchManager: false;
|
|
77
69
|
BackgroundFetchRecord: false;
|
|
78
70
|
BackgroundFetchRegistration: false;
|
|
71
|
+
BarcodeDetector: false;
|
|
79
72
|
BarProp: false;
|
|
80
73
|
BaseAudioContext: false;
|
|
81
74
|
BatteryManager: false;
|
|
@@ -679,6 +672,8 @@ declare const _default: {
|
|
|
679
672
|
onresize: true;
|
|
680
673
|
onscroll: true;
|
|
681
674
|
onscrollend: true;
|
|
675
|
+
onscrollsnapchange: true;
|
|
676
|
+
onscrollsnapchanging: true;
|
|
682
677
|
onsearch: true;
|
|
683
678
|
onsecuritypolicyviolation: true;
|
|
684
679
|
onseeked: true;
|
|
@@ -870,6 +865,7 @@ declare const _default: {
|
|
|
870
865
|
showDirectoryPicker: false;
|
|
871
866
|
showOpenFilePicker: false;
|
|
872
867
|
showSaveFilePicker: false;
|
|
868
|
+
SnapEvent: false;
|
|
873
869
|
SourceBuffer: false;
|
|
874
870
|
SourceBufferList: false;
|
|
875
871
|
speechSynthesis: false;
|
|
@@ -1282,12 +1278,6 @@ declare const reactPreset: ({
|
|
|
1282
1278
|
eqeqeq: string;
|
|
1283
1279
|
};
|
|
1284
1280
|
} | eslint.Linter.Config<eslint.Linter.RulesRecord> | {
|
|
1285
|
-
name: string;
|
|
1286
|
-
rules: Record<string, eslint_plugin_regexp_dist_types.SeverityString>;
|
|
1287
|
-
plugins: {
|
|
1288
|
-
regexp: typeof eslint_plugin_regexp;
|
|
1289
|
-
};
|
|
1290
|
-
} | {
|
|
1291
1281
|
name: string;
|
|
1292
1282
|
ignores: string[];
|
|
1293
1283
|
} | {
|
|
@@ -1338,6 +1328,7 @@ declare const reactPreset: ({
|
|
|
1338
1328
|
BackgroundFetchManager: false;
|
|
1339
1329
|
BackgroundFetchRecord: false;
|
|
1340
1330
|
BackgroundFetchRegistration: false;
|
|
1331
|
+
BarcodeDetector: false;
|
|
1341
1332
|
BarProp: false;
|
|
1342
1333
|
BaseAudioContext: false;
|
|
1343
1334
|
BatteryManager: false;
|
|
@@ -1941,6 +1932,8 @@ declare const reactPreset: ({
|
|
|
1941
1932
|
onresize: true;
|
|
1942
1933
|
onscroll: true;
|
|
1943
1934
|
onscrollend: true;
|
|
1935
|
+
onscrollsnapchange: true;
|
|
1936
|
+
onscrollsnapchanging: true;
|
|
1944
1937
|
onsearch: true;
|
|
1945
1938
|
onsecuritypolicyviolation: true;
|
|
1946
1939
|
onseeked: true;
|
|
@@ -2132,6 +2125,7 @@ declare const reactPreset: ({
|
|
|
2132
2125
|
showDirectoryPicker: false;
|
|
2133
2126
|
showOpenFilePicker: false;
|
|
2134
2127
|
showSaveFilePicker: false;
|
|
2128
|
+
SnapEvent: false;
|
|
2135
2129
|
SourceBuffer: false;
|
|
2136
2130
|
SourceBufferList: false;
|
|
2137
2131
|
speechSynthesis: false;
|
|
@@ -2444,12 +2438,6 @@ declare const vuePreset: ({
|
|
|
2444
2438
|
eqeqeq: string;
|
|
2445
2439
|
};
|
|
2446
2440
|
} | eslint.Linter.Config<eslint.Linter.RulesRecord> | {
|
|
2447
|
-
name: string;
|
|
2448
|
-
rules: Record<string, eslint_plugin_regexp_dist_types.SeverityString>;
|
|
2449
|
-
plugins: {
|
|
2450
|
-
regexp: typeof eslint_plugin_regexp;
|
|
2451
|
-
};
|
|
2452
|
-
} | {
|
|
2453
2441
|
name: string;
|
|
2454
2442
|
ignores: string[];
|
|
2455
2443
|
} | {
|
|
@@ -2500,6 +2488,7 @@ declare const vuePreset: ({
|
|
|
2500
2488
|
BackgroundFetchManager: false;
|
|
2501
2489
|
BackgroundFetchRecord: false;
|
|
2502
2490
|
BackgroundFetchRegistration: false;
|
|
2491
|
+
BarcodeDetector: false;
|
|
2503
2492
|
BarProp: false;
|
|
2504
2493
|
BaseAudioContext: false;
|
|
2505
2494
|
BatteryManager: false;
|
|
@@ -3103,6 +3092,8 @@ declare const vuePreset: ({
|
|
|
3103
3092
|
onresize: true;
|
|
3104
3093
|
onscroll: true;
|
|
3105
3094
|
onscrollend: true;
|
|
3095
|
+
onscrollsnapchange: true;
|
|
3096
|
+
onscrollsnapchanging: true;
|
|
3106
3097
|
onsearch: true;
|
|
3107
3098
|
onsecuritypolicyviolation: true;
|
|
3108
3099
|
onseeked: true;
|
|
@@ -3294,6 +3285,7 @@ declare const vuePreset: ({
|
|
|
3294
3285
|
showDirectoryPicker: false;
|
|
3295
3286
|
showOpenFilePicker: false;
|
|
3296
3287
|
showSaveFilePicker: false;
|
|
3288
|
+
SnapEvent: false;
|
|
3297
3289
|
SourceBuffer: false;
|
|
3298
3290
|
SourceBufferList: false;
|
|
3299
3291
|
speechSynthesis: false;
|
|
@@ -3606,12 +3598,6 @@ declare const vueSkyline: ({
|
|
|
3606
3598
|
eqeqeq: string;
|
|
3607
3599
|
};
|
|
3608
3600
|
} | eslint.Linter.Config<eslint.Linter.RulesRecord> | {
|
|
3609
|
-
name: string;
|
|
3610
|
-
rules: Record<string, eslint_plugin_regexp_dist_types.SeverityString>;
|
|
3611
|
-
plugins: {
|
|
3612
|
-
regexp: typeof eslint_plugin_regexp;
|
|
3613
|
-
};
|
|
3614
|
-
} | {
|
|
3615
3601
|
name: string;
|
|
3616
3602
|
ignores: string[];
|
|
3617
3603
|
} | {
|
|
@@ -3662,6 +3648,7 @@ declare const vueSkyline: ({
|
|
|
3662
3648
|
BackgroundFetchManager: false;
|
|
3663
3649
|
BackgroundFetchRecord: false;
|
|
3664
3650
|
BackgroundFetchRegistration: false;
|
|
3651
|
+
BarcodeDetector: false;
|
|
3665
3652
|
BarProp: false;
|
|
3666
3653
|
BaseAudioContext: false;
|
|
3667
3654
|
BatteryManager: false;
|
|
@@ -4265,6 +4252,8 @@ declare const vueSkyline: ({
|
|
|
4265
4252
|
onresize: true;
|
|
4266
4253
|
onscroll: true;
|
|
4267
4254
|
onscrollend: true;
|
|
4255
|
+
onscrollsnapchange: true;
|
|
4256
|
+
onscrollsnapchanging: true;
|
|
4268
4257
|
onsearch: true;
|
|
4269
4258
|
onsecuritypolicyviolation: true;
|
|
4270
4259
|
onseeked: true;
|
|
@@ -4456,6 +4445,7 @@ declare const vueSkyline: ({
|
|
|
4456
4445
|
showDirectoryPicker: false;
|
|
4457
4446
|
showOpenFilePicker: false;
|
|
4458
4447
|
showSaveFilePicker: false;
|
|
4448
|
+
SnapEvent: false;
|
|
4459
4449
|
SourceBuffer: false;
|
|
4460
4450
|
SourceBufferList: false;
|
|
4461
4451
|
speechSynthesis: false;
|
package/dist/index.js
CHANGED
|
@@ -516,11 +516,7 @@ var sonarjsConfigs = [
|
|
|
516
516
|
rules: {
|
|
517
517
|
...default12.configs.recommended.rules,
|
|
518
518
|
"sonarjs/no-commented-code": "warn",
|
|
519
|
-
"sonarjs/no-vue-bypass-sanitization": "warn"
|
|
520
|
-
// TypeError: Cannot read properties of undefined (reading 'members')
|
|
521
|
-
"sonarjs/prefer-enum-initializers": "off",
|
|
522
|
-
// TypeError: Cannot read properties of undefined (reading 'some')
|
|
523
|
-
"sonarjs/sonar-no-fallthrough": "off"
|
|
519
|
+
"sonarjs/no-vue-bypass-sanitization": "warn"
|
|
524
520
|
},
|
|
525
521
|
settings
|
|
526
522
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@component-hook/eslint-plugin",
|
|
3
|
-
"version": "0.1.5-alpha.
|
|
3
|
+
"version": "0.1.5-alpha.1",
|
|
4
4
|
"description": "ESLint config for component hook",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
37
37
|
"@eslint/compat": "^1.1.1",
|
|
38
38
|
"eslint-config-prettier": "^9.1.0",
|
|
39
|
-
"eslint-plugin-import": "^2.
|
|
39
|
+
"eslint-plugin-import": "^2.31.0",
|
|
40
40
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
41
41
|
"eslint-plugin-markdown": "^5.1.0",
|
|
42
42
|
"eslint-plugin-playwright": "^1.6.2",
|
|
43
43
|
"eslint-plugin-prettier": "^5.2.1",
|
|
44
|
-
"eslint-plugin-react": "^7.37.
|
|
44
|
+
"eslint-plugin-react": "^7.37.1",
|
|
45
45
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
46
46
|
"eslint-plugin-regexp": "^2.6.0",
|
|
47
47
|
"eslint-plugin-security": "^3.0.1",
|
|
48
|
-
"eslint-plugin-sonarjs": "^2.0.
|
|
48
|
+
"eslint-plugin-sonarjs": "^2.0.3",
|
|
49
49
|
"eslint-plugin-testing-library": "^6.3.0",
|
|
50
50
|
"eslint-plugin-vue": "^9.28.0",
|
|
51
|
-
"globals": "^15.
|
|
52
|
-
"typescript-eslint": "^8.
|
|
51
|
+
"globals": "^15.10.0",
|
|
52
|
+
"typescript-eslint": "^8.8.0",
|
|
53
53
|
"vue-eslint-parser": "^9.4.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|