Skip to content

Conversation

@edg2s
Copy link
Contributor

@edg2s edg2s commented Apr 27, 2020

Summary

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, which will catch reportUnusedDisableDirectives 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

@mgol mgol 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 new ESLint class that will have async methods, deprecating the current CLIEngine 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
Contributor Author

edg2s commented Apr 27, 2020

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

@edg2s
Copy link
Contributor Author

edg2s commented Apr 27, 2020

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

Copy link
Member

@mgol mgol 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 the CLIEngine. Looks good to me!

@mgol mgol added the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Jul 22, 2020
@mgol mgol closed this in a22b43b Jul 27, 2020
@mgol
Copy link
Member

mgol commented Jul 27, 2020

Landed, thanks!

@mgol mgol removed Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. Needs review labels Jul 27, 2020
@mgol mgol added this to the 4.0.0 milestone Jul 27, 2020
@edg2s edg2s deleted the grunt-warnings-ignore branch July 27, 2020 20:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants