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

Fievel Mousekewitz #106

Merged
merged 32 commits into from
Oct 20, 2016
Merged

Fievel Mousekewitz #106

merged 32 commits into from
Oct 20, 2016

Conversation

florianb
Copy link
Collaborator

@florianb florianb commented Oct 19, 2016

This is the final reorder of the PRs around the next minor release fulfilling containing the following changes:

This PR takes the PRs #104 & #102 over.

Florian Breisch added 21 commits May 20, 2016 12:12
Currently missing
 - proper handling of stat-exceptions
 - steps for edit, save & check
 - negative test (Atom stripping whitespace, editorconfig not)
The editorconfig-object should hold the normalized and preferred
editorconfig-settings. The editorconfig-object is embedded into the
given TextBuffer (since those are the single source of information for
the given file).

Some values (like the buffer-reference) are absolutely necessary to
act on events like "onWillSave".
…tion

The introduction of the 'auto'-setting is a preparation for future
updates, it also makes the whole implementation less intrusive and more
consistent, since some configuration values now used during the whole
lifetime of the TextBuffer.

The insert_final_newline-implementation still suffers from intrusive
actions of the whitespace-plugin. A workaround could be to disable the
entire whitespace-plugin in favor of atom-editorconfig.
@florianb
Copy link
Collaborator Author

@sindresorhus I decided to borrow the settings-property-names from the editorconfig-object to reduce the confusion when stumbling over the different names of the Atom & Editorconfig properties.

Therefore i had to add some eslint-disable-line camelcase-directives. I had no idea how to make it better.

I'd appreciate a second opinion on that.

@florianb
Copy link
Collaborator Author

This is ready to publish! Last chance for feedback! 😄

@florianb florianb changed the title WIP: Fievel Mousekewitz Fievel Mousekewitz Oct 20, 2016
@florianb florianb merged commit 3c61797 into sindresorhus:master Oct 20, 2016
@florianb florianb mentioned this pull request Oct 20, 2016
8 tasks
@luqmaan
Copy link

luqmaan commented Oct 21, 2016

🐀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.