chore: Remove Dockerfile and docker-compose.yml, update README and migration guide for backend log checks
Some checks failed
Documentation / build-docs (push) Has been cancelled
Tests / test (macos-latest, 3.11) (push) Has been cancelled
Tests / test (macos-latest, 3.12) (push) Has been cancelled
Tests / test (macos-latest, 3.13) (push) Has been cancelled
Tests / test (macos-latest, 3.14) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.14) (push) Has been cancelled

This commit is contained in:
kfox
2026-01-02 22:46:03 -05:00
parent 6834655e03
commit 3c6770acf5
134 changed files with 3025 additions and 18054 deletions

View File

@@ -266,9 +266,10 @@ function getFunctionHeadLocation(node, sourceCode) {
start = arrowToken.loc.start;
end = arrowToken.loc.end;
} else if (
parent.type === "Property" ||
parent.type === "MethodDefinition" ||
parent.type === "PropertyDefinition"
parent &&
(parent.type === "Property" ||
parent.type === "MethodDefinition" ||
parent.type === "PropertyDefinition")
) {
start = /** @type {SourceLocation} */ (parent.loc).start;
end = getOpeningParenOfParams(node, sourceCode).loc.start;
@@ -1306,6 +1307,11 @@ function getPropertyName(node, initialScope) {
// eslint-disable-next-line complexity
function getFunctionNameWithKind(node, sourceCode) {
const parent = /** @type {RuleNode} */ (node).parent;
if (!parent) {
return ""
}
const tokens = [];
const isObjectMethod = parent.type === "Property" && parent.value === node;
const isClassMethod =
@@ -1659,6 +1665,10 @@ function hasSideEffect(node, sourceCode, options = {}) {
function getParentSyntaxParen(node, sourceCode) {
const parent = /** @type {RuleNode} */ (node).parent;
if (!parent) {
return null
}
switch (parent.type) {
case "CallExpression":
case "NewExpression":
@@ -2312,6 +2322,9 @@ class ReferenceTracker {
}
const parent = /** @type {RuleNode} */ (node).parent;
if (!parent) {
return
}
if (parent.type === "MemberExpression") {
if (parent.object === node) {
const key = getPropertyName(parent);

File diff suppressed because one or more lines are too long

View File

@@ -262,9 +262,10 @@ function getFunctionHeadLocation(node, sourceCode) {
start = arrowToken.loc.start;
end = arrowToken.loc.end;
} else if (
parent.type === "Property" ||
parent.type === "MethodDefinition" ||
parent.type === "PropertyDefinition"
parent &&
(parent.type === "Property" ||
parent.type === "MethodDefinition" ||
parent.type === "PropertyDefinition")
) {
start = /** @type {SourceLocation} */ (parent.loc).start;
end = getOpeningParenOfParams(node, sourceCode).loc.start;
@@ -1302,6 +1303,11 @@ function getPropertyName(node, initialScope) {
// eslint-disable-next-line complexity
function getFunctionNameWithKind(node, sourceCode) {
const parent = /** @type {RuleNode} */ (node).parent;
if (!parent) {
return ""
}
const tokens = [];
const isObjectMethod = parent.type === "Property" && parent.value === node;
const isClassMethod =
@@ -1655,6 +1661,10 @@ function hasSideEffect(node, sourceCode, options = {}) {
function getParentSyntaxParen(node, sourceCode) {
const parent = /** @type {RuleNode} */ (node).parent;
if (!parent) {
return null
}
switch (parent.type) {
case "CallExpression":
case "NewExpression":
@@ -2308,6 +2318,9 @@ class ReferenceTracker {
}
const parent = /** @type {RuleNode} */ (node).parent;
if (!parent) {
return
}
if (parent.type === "MemberExpression") {
if (parent.object === node) {
const key = getPropertyName(parent);

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "@eslint-community/eslint-utils",
"version": "4.9.0",
"version": "4.9.1",
"description": "Utilities for ESLint plugins.",
"keywords": [
"eslint"