@vitest/eslint-plugin 1.1.9 → 1.1.10
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.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -23,7 +23,7 @@ function _interopNamespaceCompat(e) {
|
|
|
23
23
|
const path__namespace = /*#__PURE__*/_interopNamespaceCompat(path);
|
|
24
24
|
const ts__default = /*#__PURE__*/_interopDefaultCompat(ts);
|
|
25
25
|
|
|
26
|
-
const version = "1.1.
|
|
26
|
+
const version = "1.1.9";
|
|
27
27
|
|
|
28
28
|
function createEslintRule(rule) {
|
|
29
29
|
const createRule = utils.ESLintUtils.RuleCreator(
|
|
@@ -4634,7 +4634,7 @@ const isVariableAwaitedOrReturned = (variable, context) => {
|
|
|
4634
4634
|
return isValueAwaitedOrReturned(variable.id, body, context);
|
|
4635
4635
|
};
|
|
4636
4636
|
const validExpectInPromise = createEslintRule({
|
|
4637
|
-
name:
|
|
4637
|
+
name: RULE_NAME,
|
|
4638
4638
|
meta: {
|
|
4639
4639
|
docs: {
|
|
4640
4640
|
description: "Require promises that have expectations in their chain to be valid"
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { isAbsolute, posix } from 'node:path';
|
|
|
4
4
|
import ts from 'typescript';
|
|
5
5
|
import { createRequire } from 'node:module';
|
|
6
6
|
|
|
7
|
-
const version = "1.1.
|
|
7
|
+
const version = "1.1.9";
|
|
8
8
|
|
|
9
9
|
function createEslintRule(rule) {
|
|
10
10
|
const createRule = ESLintUtils.RuleCreator(
|
|
@@ -4615,7 +4615,7 @@ const isVariableAwaitedOrReturned = (variable, context) => {
|
|
|
4615
4615
|
return isValueAwaitedOrReturned(variable.id, body, context);
|
|
4616
4616
|
};
|
|
4617
4617
|
const validExpectInPromise = createEslintRule({
|
|
4618
|
-
name:
|
|
4618
|
+
name: RULE_NAME,
|
|
4619
4619
|
meta: {
|
|
4620
4620
|
docs: {
|
|
4621
4621
|
description: "Require promises that have expectations in their chain to be valid"
|