@tcy/eslint-rules 1.10.1 → 1.12.0
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/README.md +63 -0
- package/coverage/clover.xml +196 -4
- package/coverage/coverage-final.json +2 -0
- package/coverage/lcov-report/index.html +18 -18
- package/coverage/lcov-report/src/array-elements-per-line.js.html +1 -1
- package/coverage/lcov-report/src/back/back.js.html +1 -1
- package/coverage/lcov-report/src/back/http.js.html +1 -1
- package/coverage/lcov-report/src/back/index.html +1 -1
- package/coverage/lcov-report/src/back/recommended.js.html +1 -1
- package/coverage/lcov-report/src/bin/eslint-cache-guard.js.html +1 -1
- package/coverage/lcov-report/src/bin/index.html +1 -1
- package/coverage/lcov-report/src/client/client.js.html +8 -2
- package/coverage/lcov-report/src/client/index.html +1 -1
- package/coverage/lcov-report/src/client/recommended.js.html +1 -1
- package/coverage/lcov-report/src/consistent-const-scoping.js.html +1 -1
- package/coverage/lcov-report/src/decorator-type-enforcement.js.html +1 -1
- package/coverage/lcov-report/src/enforce-tailwind-important.js.html +1 -1
- package/coverage/lcov-report/src/export-specifiers-per-line.js.html +1 -1
- package/coverage/lcov-report/src/import-specifiers-per-line.js.html +1 -1
- package/coverage/lcov-report/src/index.html +39 -9
- package/coverage/lcov-report/src/index.js.html +1 -1
- package/coverage/lcov-report/src/jsx-boolean-shorthand.js.html +1 -1
- package/coverage/lcov-report/src/jsx-expression-string-literals.js.html +1 -1
- package/coverage/lcov-report/src/jsx-ref-string-exists.js.html +1 -1
- package/coverage/lcov-report/src/no-static-key-in-map.js.html +1 -1
- package/coverage/lcov-report/src/no-unused-setup-return.js.html +1009 -0
- package/coverage/lcov-report/src/no-v-model-on-prop.js.html +553 -0
- package/coverage/lcov-report/src/plugin.js.html +14 -2
- package/coverage/lcov-report/src/recommended.js.html +1 -1
- package/coverage/lcov-report/src/require-fragment-key.js.html +1 -1
- package/coverage/lcov-report/src/route-dto-required.js.html +1 -1
- package/coverage/lcov-report/src/v-model-name-match.js.html +1 -1
- package/coverage/lcov-report/src/vuejs-define-component.js.html +1 -1
- package/coverage/lcov-report/src/vuejs-define-workspace.js.html +1 -1
- package/coverage/lcov.info +458 -0
- package/decl/back/back.d.ts +71 -0
- package/decl/client/client.d.ts +73 -0
- package/decl/no-unused-setup-return.d.ts +64 -0
- package/decl/no-v-model-on-prop.d.ts +48 -0
- package/decl/plugin.d.ts +71 -0
- package/package.json +5 -5
- package/src/client/client.js +2 -0
- package/src/no-unused-setup-return.js +308 -0
- package/src/no-v-model-on-prop.js +156 -0
- package/src/plugin.js +4 -0
- package/tests/no-unused-setup-return.spec.js +88 -0
- package/tests/no-v-model-on-prop.spec.js +47 -0
package/README.md
CHANGED
|
@@ -34,6 +34,8 @@ The plugin ships two bundles — `tcy@eslint-rules/back` and `tcy@eslint-rules/c
|
|
|
34
34
|
| `vuejs-define-workspace` | Problem | Require a `route` property in `defineComponent` for `Workspace*` / `Page*` files |
|
|
35
35
|
| `require-fragment-key` | Problem | Require a `key` on a Fragment only where an un-keyed children diff can misalign |
|
|
36
36
|
| `no-static-key-in-map` | Problem | Disallow a static `key` on the root element returned from `.map()` / `.flatMap()` |
|
|
37
|
+
| `no-v-model-on-prop` | Problem | Disallow `v-model` bound to a component prop (`c.x` where `x` is in `Props`) |
|
|
38
|
+
| `no-unused-setup-return` | Suggestion | Disallow a key returned by a composable (`useXxx.ts`) that the component doesn't use (render or other compositions) |
|
|
37
39
|
|
|
38
40
|
### Other rules (registered, but not enabled by either bundle by default)
|
|
39
41
|
|
|
@@ -41,6 +43,8 @@ The plugin ships two bundles — `tcy@eslint-rules/back` and `tcy@eslint-rules/c
|
|
|
41
43
|
|-----------|------|-------------|
|
|
42
44
|
| `decorator-type-enforcement` | Problem | Enforce a property's type based on its `@boolean` / `@dbIntBoolean` decorator |
|
|
43
45
|
|
|
46
|
+
> `no-unused-setup-return` is exported by the plugin but not enabled by `client.js` (it reports public API read through a component ref, like `submit` / `reload` / `focus`, and composables shared between components) — turn it on explicitly with `'tcy/no-unused-setup-return': 'warn'`.
|
|
47
|
+
|
|
44
48
|
> `decorator-type-enforcement` is exported by the plugin but isn't listed in either `src/back/back.js` or `src/client/client.js` — turn it on explicitly (see [Usage](#usage)) if you want it.
|
|
45
49
|
|
|
46
50
|
## Rule Details
|
|
@@ -457,6 +461,42 @@ list.map((item) => <Row key="row" />);
|
|
|
457
461
|
list.map(() => <Fragment key="rows">…</Fragment>);
|
|
458
462
|
```
|
|
459
463
|
|
|
464
|
+
#### 10. no-v-model-on-prop
|
|
465
|
+
|
|
466
|
+
**Type:** Problem
|
|
467
|
+
|
|
468
|
+
**Description:** Disallows `v-model` / `v-model:xxx` bound to a prop of the component, in a render function receiving a `Context<typeof setup, Props>`.
|
|
469
|
+
|
|
470
|
+
- `v-model={c.value}` with `value` in `Props`: props are readonly, the update is dropped (Vue warning). Emit an update event instead.
|
|
471
|
+
- `v-model={c.row.field}` with `row` in `Props`: Vue doesn't complain, but the object belongs to the parent component.
|
|
472
|
+
|
|
473
|
+
`Props` is read from the second type argument of `Context` (directly or through an alias like `type Foo = Context<typeof setup, Props>`). A prop and a setup value can't share a name, so being a key of `Props` is enough.
|
|
474
|
+
|
|
475
|
+
**Requires** TypeScript type information (`parserOptions.projectService`); without it the rule does nothing.
|
|
476
|
+
|
|
477
|
+
**Options:**
|
|
478
|
+
- `allowNested` (boolean, default: `false`) - Allow `v-model` on a field of a prop object (`c.row.field`)
|
|
479
|
+
- `contextTypeName` (string, default: `'Context'`) - Name of the context type
|
|
480
|
+
|
|
481
|
+
**Examples:**
|
|
482
|
+
|
|
483
|
+
```tsx
|
|
484
|
+
// Props: { value: string; row: RowDto }
|
|
485
|
+
export type Foo = Context<typeof setup, Props>;
|
|
486
|
+
|
|
487
|
+
export default function (c: Foo) {
|
|
488
|
+
return (
|
|
489
|
+
<>
|
|
490
|
+
<BaseInput value={c.value} onUpdate:modelValue={c.setValue} /> {/* valid */}
|
|
491
|
+
<BaseInput v-model={c.localValue} /> {/* valid: setup value */}
|
|
492
|
+
|
|
493
|
+
<BaseInput v-model={c.value} /> {/* invalid */}
|
|
494
|
+
<BaseInput v-model={c.row.field} /> {/* invalid, unless allowNested */}
|
|
495
|
+
</>
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
```
|
|
499
|
+
|
|
460
500
|
### Other rules
|
|
461
501
|
|
|
462
502
|
#### 1. decorator-type-enforcement
|
|
@@ -557,3 +597,26 @@ export default [
|
|
|
557
597
|
...clientConfig,
|
|
558
598
|
];
|
|
559
599
|
```
|
|
600
|
+
|
|
601
|
+
#### no-unused-setup-return
|
|
602
|
+
|
|
603
|
+
**Type:** Suggestion
|
|
604
|
+
|
|
605
|
+
**Description:** Reports a key returned by a composable (`useXxx.ts`) that nothing else of the component reads. The rule runs on a `use*.ts` file imported by the `Component.ts` (the file calling `defineComponent`) of its directory. A key is used when its name appears in another file of the directory or of its sub-directories: the render, the component file or another composable (`useGridConfig(p, { columnFilteredName })`). `ref="name"` is a use too.
|
|
606
|
+
|
|
607
|
+
The check is by name: it can miss an unused key sharing its name with something else, but doesn't report a used one. The component is skipped when a render spreads (`...c`) or passes (`foo(c)`) its whole context.
|
|
608
|
+
|
|
609
|
+
Doesn't need TypeScript type information.
|
|
610
|
+
|
|
611
|
+
**Options:**
|
|
612
|
+
- `ignore` (string[], default: `[]`) - keys never reported (public API called through a component ref)
|
|
613
|
+
|
|
614
|
+
```ts
|
|
615
|
+
// useDailyPL.ts
|
|
616
|
+
export default function (props: Props) {
|
|
617
|
+
return {
|
|
618
|
+
series, // ✓ c.series in useRender.tsx
|
|
619
|
+
isPending, // ✗ not read anywhere else
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
```
|
package/coverage/clover.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1794588438649" clover="3.2.0">
|
|
3
|
+
<project timestamp="1794588438649" name="All files">
|
|
4
|
+
<metrics statements="709" coveredstatements="258" conditionals="726" coveredconditionals="276" methods="141" coveredmethods="50" elements="1576" coveredelements="584" complexity="0" loc="709" ncloc="709" packages="4" files="26" classes="26"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="688" coveredstatements="258" conditionals="718" coveredconditionals="276" methods="136" coveredmethods="50"/>
|
|
7
7
|
<file name="array-elements-per-line.js" path="/home/runner/work/eslint-rules/eslint-rules/src/array-elements-per-line.js">
|
|
8
8
|
<metrics statements="25" coveredstatements="0" conditionals="17" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
9
9
|
<line num="13" count="0" type="stmt"/>
|
|
@@ -386,6 +386,198 @@
|
|
|
386
386
|
<line num="169" count="0" type="stmt"/>
|
|
387
387
|
<line num="178" count="0" type="stmt"/>
|
|
388
388
|
</file>
|
|
389
|
+
<file name="no-unused-setup-return.js" path="/home/runner/work/eslint-rules/eslint-rules/src/no-unused-setup-return.js">
|
|
390
|
+
<metrics statements="133" coveredstatements="43" conditionals="123" coveredconditionals="24" methods="26" coveredmethods="10"/>
|
|
391
|
+
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
392
|
+
<line num="50" count="0" type="stmt"/>
|
|
393
|
+
<line num="51" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
394
|
+
<line num="53" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
395
|
+
<line num="55" count="0" type="stmt"/>
|
|
396
|
+
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
397
|
+
<line num="60" count="0" type="stmt"/>
|
|
398
|
+
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
399
|
+
<line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
400
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
401
|
+
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
402
|
+
<line num="65" count="0" type="stmt"/>
|
|
403
|
+
<line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
404
|
+
<line num="69" count="0" type="stmt"/>
|
|
405
|
+
<line num="73" count="0" type="stmt"/>
|
|
406
|
+
<line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
407
|
+
<line num="76" count="0" type="stmt"/>
|
|
408
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
409
|
+
<line num="79" count="0" type="stmt"/>
|
|
410
|
+
<line num="80" count="0" type="stmt"/>
|
|
411
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
412
|
+
<line num="82" count="0" type="stmt"/>
|
|
413
|
+
<line num="87" count="0" type="stmt"/>
|
|
414
|
+
<line num="88" count="0" type="stmt"/>
|
|
415
|
+
<line num="89" count="0" type="stmt"/>
|
|
416
|
+
<line num="91" count="0" type="stmt"/>
|
|
417
|
+
<line num="93" count="0" type="stmt"/>
|
|
418
|
+
<line num="95" count="0" type="stmt"/>
|
|
419
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
420
|
+
<line num="97" count="0" type="stmt"/>
|
|
421
|
+
<line num="107" count="0" type="stmt"/>
|
|
422
|
+
<line num="109" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
423
|
+
<line num="110" count="0" type="stmt"/>
|
|
424
|
+
<line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
425
|
+
<line num="117" count="0" type="stmt"/>
|
|
426
|
+
<line num="118" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
427
|
+
<line num="119" count="0" type="stmt"/>
|
|
428
|
+
<line num="127" count="1" type="stmt"/>
|
|
429
|
+
<line num="130" count="1" type="stmt"/>
|
|
430
|
+
<line num="131" count="6" type="stmt"/>
|
|
431
|
+
<line num="132" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
432
|
+
<line num="135" count="1" type="cond" truecount="0" falsecount="2"/>
|
|
433
|
+
<line num="137" count="1" type="stmt"/>
|
|
434
|
+
<line num="140" count="1" type="stmt"/>
|
|
435
|
+
<line num="141" count="0" type="stmt"/>
|
|
436
|
+
<line num="143" count="0" type="stmt"/>
|
|
437
|
+
<line num="144" count="0" type="stmt"/>
|
|
438
|
+
<line num="146" count="0" type="stmt"/>
|
|
439
|
+
<line num="149" count="0" type="stmt"/>
|
|
440
|
+
<line num="150" count="0" type="stmt"/>
|
|
441
|
+
<line num="151" count="0" type="stmt"/>
|
|
442
|
+
<line num="154" count="1" type="stmt"/>
|
|
443
|
+
<line num="158" count="1" type="stmt"/>
|
|
444
|
+
<line num="160" count="0" type="stmt"/>
|
|
445
|
+
<line num="161" count="0" type="stmt"/>
|
|
446
|
+
<line num="163" count="0" type="stmt"/>
|
|
447
|
+
<line num="166" count="0" type="stmt"/>
|
|
448
|
+
<line num="167" count="0" type="stmt"/>
|
|
449
|
+
<line num="169" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
450
|
+
<line num="170" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
451
|
+
<line num="171" count="0" type="stmt"/>
|
|
452
|
+
<line num="174" count="0" type="stmt"/>
|
|
453
|
+
<line num="175" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
454
|
+
<line num="177" count="0" type="stmt"/>
|
|
455
|
+
<line num="178" count="0" type="stmt"/>
|
|
456
|
+
<line num="179" count="0" type="stmt"/>
|
|
457
|
+
<line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
458
|
+
<line num="181" count="0" type="stmt"/>
|
|
459
|
+
<line num="182" count="0" type="stmt"/>
|
|
460
|
+
<line num="185" count="0" type="stmt"/>
|
|
461
|
+
<line num="192" count="0" type="stmt"/>
|
|
462
|
+
<line num="193" count="0" type="stmt"/>
|
|
463
|
+
<line num="200" count="1" type="stmt"/>
|
|
464
|
+
<line num="204" count="19" type="stmt"/>
|
|
465
|
+
<line num="207" count="1" type="stmt"/>
|
|
466
|
+
<line num="208" count="10" type="stmt"/>
|
|
467
|
+
<line num="209" count="10" type="stmt"/>
|
|
468
|
+
<line num="213" count="1" type="stmt"/>
|
|
469
|
+
<line num="214" count="10" type="stmt"/>
|
|
470
|
+
<line num="215" count="10" type="cond" truecount="3" falsecount="1"/>
|
|
471
|
+
<line num="223" count="1" type="stmt"/>
|
|
472
|
+
<line num="224" count="10" type="stmt"/>
|
|
473
|
+
<line num="225" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
474
|
+
<line num="227" count="9" type="stmt"/>
|
|
475
|
+
<line num="228" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
476
|
+
<line num="230" count="7" type="stmt"/>
|
|
477
|
+
<line num="231" count="7" type="stmt"/>
|
|
478
|
+
<line num="232" count="7" type="stmt"/>
|
|
479
|
+
<line num="234" count="7" type="stmt"/>
|
|
480
|
+
<line num="235" count="7" type="stmt"/>
|
|
481
|
+
<line num="236" count="7" type="stmt"/>
|
|
482
|
+
<line num="240" count="1" type="stmt"/>
|
|
483
|
+
<line num="241" count="6" type="stmt"/>
|
|
484
|
+
<line num="242" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
485
|
+
<line num="245" count="1" type="stmt"/>
|
|
486
|
+
<line num="248" count="1" type="stmt"/>
|
|
487
|
+
<line num="249" count="0" type="stmt"/>
|
|
488
|
+
<line num="250" count="0" type="stmt"/>
|
|
489
|
+
<line num="251" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
490
|
+
<line num="252" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
491
|
+
<line num="254" count="0" type="stmt"/>
|
|
492
|
+
<line num="255" count="0" type="stmt"/>
|
|
493
|
+
<line num="256" count="0" type="stmt"/>
|
|
494
|
+
<line num="257" count="0" type="stmt"/>
|
|
495
|
+
<line num="262" count="0" type="stmt"/>
|
|
496
|
+
<line num="266" count="1" type="stmt"/>
|
|
497
|
+
<line num="267" count="6" type="stmt"/>
|
|
498
|
+
<line num="268" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
499
|
+
<line num="272" count="1" type="stmt"/>
|
|
500
|
+
<line num="273" count="0" type="stmt"/>
|
|
501
|
+
<line num="274" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
502
|
+
<line num="275" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
503
|
+
<line num="276" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
504
|
+
<line num="277" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
505
|
+
<line num="279" count="0" type="stmt"/>
|
|
506
|
+
<line num="282" count="1" type="stmt"/>
|
|
507
|
+
<line num="283" count="0" type="stmt"/>
|
|
508
|
+
<line num="284" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
509
|
+
<line num="285" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
510
|
+
<line num="286" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
511
|
+
<line num="287" count="0" type="stmt"/>
|
|
512
|
+
<line num="289" count="0" type="stmt"/>
|
|
513
|
+
<line num="292" count="1" type="stmt"/>
|
|
514
|
+
<line num="293" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
515
|
+
<line num="294" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
516
|
+
<line num="295" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
517
|
+
<line num="296" count="0" type="stmt"/>
|
|
518
|
+
<line num="299" count="1" type="stmt"/>
|
|
519
|
+
<line num="300" count="0" type="stmt"/>
|
|
520
|
+
<line num="301" count="0" type="stmt"/>
|
|
521
|
+
<line num="302" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
522
|
+
<line num="304" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
523
|
+
<line num="305" count="0" type="stmt"/>
|
|
524
|
+
</file>
|
|
525
|
+
<file name="no-v-model-on-prop.js" path="/home/runner/work/eslint-rules/eslint-rules/src/no-v-model-on-prop.js">
|
|
526
|
+
<metrics statements="53" coveredstatements="22" conditionals="65" coveredconditionals="27" methods="7" coveredmethods="3"/>
|
|
527
|
+
<line num="37" count="0" type="stmt"/>
|
|
528
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
529
|
+
<line num="41" count="0" type="stmt"/>
|
|
530
|
+
<line num="44" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
531
|
+
<line num="45" count="0" type="stmt"/>
|
|
532
|
+
<line num="48" count="0" type="stmt"/>
|
|
533
|
+
<line num="49" count="0" type="stmt"/>
|
|
534
|
+
<line num="50" count="0" type="stmt"/>
|
|
535
|
+
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
536
|
+
<line num="52" count="0" type="stmt"/>
|
|
537
|
+
<line num="54" count="0" type="stmt"/>
|
|
538
|
+
<line num="57" count="0" type="stmt"/>
|
|
539
|
+
<line num="59" count="0" type="stmt"/>
|
|
540
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
541
|
+
<line num="62" count="0" type="stmt"/>
|
|
542
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
543
|
+
<line num="65" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
544
|
+
<line num="67" count="0" type="stmt"/>
|
|
545
|
+
<line num="68" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
546
|
+
<line num="70" count="0" type="stmt"/>
|
|
547
|
+
<line num="87" count="1" type="stmt"/>
|
|
548
|
+
<line num="88" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
549
|
+
<line num="89" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
550
|
+
<line num="91" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
551
|
+
<line num="92" count="1" type="stmt"/>
|
|
552
|
+
<line num="94" count="1" type="stmt"/>
|
|
553
|
+
<line num="97" count="1" type="stmt"/>
|
|
554
|
+
<line num="98" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
555
|
+
<line num="99" count="2" type="cond" truecount="3" falsecount="2"/>
|
|
556
|
+
<line num="100" count="0" type="stmt"/>
|
|
557
|
+
<line num="103" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
558
|
+
<line num="104" count="1" type="stmt"/>
|
|
559
|
+
<line num="113" count="1" type="stmt"/>
|
|
560
|
+
<line num="114" count="9" type="stmt"/>
|
|
561
|
+
<line num="116" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
562
|
+
<line num="118" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
563
|
+
<line num="120" count="8" type="stmt"/>
|
|
564
|
+
<line num="121" count="8" type="stmt"/>
|
|
565
|
+
<line num="123" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
566
|
+
<line num="125" count="7" type="stmt"/>
|
|
567
|
+
<line num="126" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
568
|
+
<line num="128" count="6" type="stmt"/>
|
|
569
|
+
<line num="139" count="1" type="stmt"/>
|
|
570
|
+
<line num="140" count="0" type="stmt"/>
|
|
571
|
+
<line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
572
|
+
<line num="143" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
573
|
+
<line num="144" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
574
|
+
<line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
575
|
+
<line num="148" count="0" type="stmt"/>
|
|
576
|
+
<line num="149" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
577
|
+
<line num="150" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
578
|
+
<line num="151" count="0" type="stmt"/>
|
|
579
|
+
<line num="155" count="0" type="stmt"/>
|
|
580
|
+
</file>
|
|
389
581
|
<file name="plugin.js" path="/home/runner/work/eslint-rules/eslint-rules/src/plugin.js">
|
|
390
582
|
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
391
583
|
</file>
|