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

Make all eslint rules warnings #2895

Merged
merged 1 commit into from
May 3, 2020
Merged

Make all eslint rules warnings #2895

merged 1 commit into from
May 3, 2020

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented May 3, 2020

eslint warnings normally don't exit with non-zero when warnings fail unless
'--max-warnings 0' is used. This commit adds that and changes all rules to
be warnings in order to improve feedback in the editor. After this commit
all warning diagnostics (yellow) are stylistic/lint-related ones that will
still fail lint, which error diagnostics (red) are actual errors that will
fail compilation (from tsc).

Fixes #2886

eslint warnings normally don't exit with non-zero when warnings fail unless
'--max-warnings 0' is used. This commit adds that and changes all rules to
be warnings in order to improve feedback in the editor. After this commit
all warning diagnostics (yellow) are stylistic/lint-related ones that will
still fail lint, which error diagnostics (red) are actual errors that will
fail compilation (from tsc).

Fixes xtermjs#2886
@Tyriar Tyriar added this to the 4.6.0 milestone May 3, 2020
@Tyriar Tyriar self-assigned this May 3, 2020
@Tyriar Tyriar merged commit 7a34b4d into xtermjs:master May 3, 2020
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.

Change many eslint checks to warnings
1 participant