Skip to content

Update editorconfig package - #2895

Merged
nojaf merged 2 commits into
fsprojects:v6.1from
nojaf:update-editorconfig
Jun 4, 2023
Merged

nojaf merged 2 commits into
fsprojects:v6.1from
nojaf:update-editorconfig

Conversation

@nojaf

@nojaf nojaf commented Jun 2, 2023

Copy link
Copy Markdown
Contributor

This uses a cache for parsing editor config files.
See editorconfig/editorconfig-core-net#23.
I tested this for Fantomas itself (200 files) and could see a slight improvement (50ms faster give or take). This would have more effect when with larger editor configs and nested scenarios.
Nonetheless worth having I think.

@nojaf
nojaf requested a review from dawedawe June 2, 2023 18:39

@dawedawe dawedawe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very nice!

@nojaf
nojaf merged commit 20037f0 into fsprojects:v6.1 Jun 4, 2023
nojaf added a commit that referenced this pull request Jun 19, 2023
* Use EditorConfigCache.

* Clean up EditorConfig.fs(i)
nojaf added a commit that referenced this pull request Jun 20, 2023
* Use EditorConfigCache.

* Clean up EditorConfig.fs(i)
nojaf added a commit that referenced this pull request Jun 20, 2023
* Use EditorConfigCache.

* Clean up EditorConfig.fs(i)
nojaf added a commit that referenced this pull request Jun 28, 2023
* Expose TransformAST api. (#2868)

* Expose TransformAST api.

* Add additional unit test.

* Revert changelog entry

* Add Changelog for 6.1 alpha 1

* Enrich transformed Oak. (#2869)

* Add Changelog for 6.1 alpha 2

* Rename FSharp.Compiler to Fantomas.FCS (#2894)

* Rename FSharp.Compiler to Fantomas.FCS

* Add release notes for 6.1.0-alpha-003.

* Update editorconfig package (#2895)

* Use EditorConfigCache.

* Clean up EditorConfig.fs(i)

* Add 6.1.0-alpha-004 to changelog.

* Add 6.1.0-alpha-005 to changelog.

* Add 6.1.0-alpha-006 to changelog.

* Add stable release
@nojaf
nojaf deleted the update-editorconfig branch August 21, 2026 13:59
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.

2 participants