Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push Test PR for #1001 (ee3fc81ea506e9d0dc17e881533dac70a8e70611) #1002

Conversation

CatChen
Copy link
Owner

@CatChen CatChen commented May 15, 2024

Generated from #1001.

Run ID: 9092046362. Number: 497. Attempt: 1.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

/* eslint prefer-destructuring: ["error"] */
function incorrect() {
// With `array` enabled
var foo = array[0];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use array destructuring. prefer-destructuring

var foo = array[0];

// With `object` enabled
var foo = object.foo;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use object destructuring. prefer-destructuring

Fix available:

Suggested change
var foo = object.foo;
var {foo} = object;


// With `object` enabled
var foo = object.foo;
var foo = object['foo'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use object destructuring. prefer-destructuring

/* eslint-enable no-console */
/* eslint no-console: "error" */
function incorrect() {
console.log("Log a debug level message.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected console statement. no-console

Suggestion(s) available:

Suggested change
console.log("Log a debug level message.");

/* eslint no-console: "error" */
function incorrect() {
console.log("Log a debug level message.");
console.warn("Log a warn level message.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected console statement. no-console

Suggestion(s) available:

Suggested change
console.warn("Log a warn level message.");

function incorrect() {
console.log("Log a debug level message.");
console.warn("Log a warn level message.");
console.error("Log an error level message.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected console statement. no-console

Suggestion(s) available:

Suggested change
console.error("Log an error level message.");

console.log("Log a debug level message.");
console.warn("Log a warn level message.");
console.error("Log an error level message.");
console.log = foo();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected console statement. no-console

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link
Contributor

Finished testing ee3fc81 by 497-1. Closing PR.

@github-actions github-actions bot closed this May 15, 2024
@github-actions github-actions bot deleted the workflows/tests/497-1-on-ee3fc81ea506e9d0dc17e881533dac70a8e70611 branch May 15, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant