Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

fix ignoreFixableRulesWhileTyping #1427

Merged
merged 1 commit into from
Apr 13, 2021
Merged

Conversation

jacekkopecky
Copy link
Contributor

The setting ignoreFixableRulesWhileTyping currently doesn't work.

A cliEngine does not have getRules among its own properties, instead the function is a class method. Because of this, the getRules function in worker-helpers.js would just return an empty map and ignoreFixableRulesWhileTyping cannot know what rules to ignore.

This PR fixes that, now fixable rules are nicely ignored while typing.

A `cliEngine` does not have `getRules` among its own properties,
instead the function is a class method. Because of this, the `getRules`
function in `worker-helpers.js` would just return an empty map and
`ignoreFixableRulesWhileTyping` couldn't work.
@jacekkopecky
Copy link
Contributor Author

I've fixed “CI / CommitLint (pull_request)”; the problem with “CI / Lint (pull_request)” does not seem like something I can affect, please advise.

@UziTech
Copy link
Member

UziTech commented Apr 13, 2021

The CI / Lint issue is a known issue unrelated to these changes.

@UziTech UziTech requested a review from aminya April 13, 2021 21:29
Copy link
Member

@aminya aminya left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution

@aminya aminya added the bug label Apr 13, 2021
@aminya aminya merged commit 9528b1b into AtomLinter:master Apr 13, 2021
@github-actions
Copy link

🎉 This PR is included in version 8.6.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jacekkopecky jacekkopecky deleted the patch-1 branch April 13, 2021 21:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants