Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build: Append .eslintignore paths to grunt eslint paths#4689

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
edg2s wants to merge1 commit intojquery:masterfromedg2s:grunt-warnings-ignore

Conversation

edg2s
Copy link
Contributor

Summary

This allows us to turn off thequiet option which was suppressing warnings.

We can also setmaxWarnings to 0 now that aren't any, which will catchreportUnusedDisableDirectives warnings.

Checklist

This allows us to turn off the `quiet` option which was suppressing warnings.We can also set `maxWarnings` to 0 now that aren't any.
Copy link
Member

@mgolmgol left a comment

Choose a reason for hiding this comment

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

I need to test it locally but it looks like a great idea, thanks!

My only worry is ESLint 7 will introduce a newESLint class that will have async methods, deprecating the currentCLIEngine so we'll need to think what to do in such a case:
https://eslint.org/blog/2020/02/whats-coming-in-eslint-7.0.0

@edg2s
Copy link
ContributorAuthor

I suppose if it gets dropped in ESLint 8 the grunt task can be made async.

@edg2s
Copy link
ContributorAuthor

(or at that point just dropgrunt-eslint and run eslint directly from package.json)

Copy link
Member

@mgolmgol left a comment

Choose a reason for hiding this comment

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

ESLint 7 is out and it still supports theCLIEngine. Looks good to me!

@mgolmgol added the Discuss in MeetingReserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labelJul 22, 2020
@mgol
Copy link
Member

Landed, thanks!

edg2s reacted with thumbs up emoji

@mgolmgol removed Discuss in MeetingReserved for Issues and PRs that anyone would like to discuss in the weekly meeting. Needs review labelsJul 27, 2020
@mgolmgol added this to the4.0.0 milestoneJul 27, 2020
@edg2sedg2s deleted the grunt-warnings-ignore branchJuly 27, 2020 20:32
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@mgolmgolmgol approved these changes

Assignees
No one assigned
Labels
Milestone
4.0.0
Development

Successfully merging this pull request may close these issues.

2 participants
@edg2s@mgol

[8]ページ先頭

©2009-2025 Movatter.jp