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

Update .editorconfig to what we have in practice #1545

Merged
merged 2 commits into from
Aug 12, 2020
Merged

Conversation

pepyakin
Copy link
Contributor

@pepyakin pepyakin commented Aug 5, 2020

While editing the impl guide markdowns I tried to be inline with what seemingly more
common way to indent them: spaces. However, despite that I changed it kept reseting.
Turned out the culprit is the .editorconfig file.

This commit addresses this issue. I didn't try to deduplicate the rules since
I found that the formal specification is a bit ambigious and it is not a big
deal anyway.

@pepyakin pepyakin added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Aug 5, 2020
While editing the impl guide markdowns I tried to be inline with what seemingly more
common way to indent them: spaces. However, despite that I changed it kept reseting.
Turned out the culprit is the .editorconfig file.

This commit addresses this issue. I didn't try to deduplicate the rules since
I found that the formal specification is a bit ambigious and it is not a big
deal anyway.
Copy link
Contributor

@coriolinus coriolinus left a comment

Choose a reason for hiding this comment

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

Seems fine to me, but I'm somewhat surprised that you mention in the description that the motivating incident involved markdown files, but you didn't add a *.md section to the file.

@pepyakin
Copy link
Contributor Author

pepyakin commented Aug 6, 2020

me: creates a PR for .editorconfig that stayed in its original form for 2 years straight.
.editorconfig: changes in a way that conflicts with my PR

Seems fine to me, but I'm somewhat surprised that you mention in the description that the motivating incident involved markdown files, but you didn't add a *.md section to the file.

Ah yeah that's confusing, sorry. My motivation was to improve the status quo by deregulating how the *.md files are formatted. I didn't risk to add actual rules for the *.md to not spark a bikeshed discussion and removing all discrepancies that will arise from that.

@rphmeier rphmeier merged commit c78c2b4 into master Aug 12, 2020
@rphmeier rphmeier deleted the ser-editorconfig branch August 12, 2020 13:55
ordian added a commit that referenced this pull request Aug 14, 2020
* master:
  Make parachain validation wasm executor functional (#1574)
  Use async test helper to simplify node testing (#1578)
  guide: validation data refactoring (#1576)
  Remove v0 parachains runtime (#1501)
  [CI] Add github token to generate-release-text (#1581)
  Allow using any polkadot client instead of enum Client (#1575)
  service/src/lib: Update authority discovery construction (#1563)
  Update .editorconfig to what we have in practice (#1545)
  Companion PR for substrate #6672 (#1560)
  pre-redenomination tockenSymbol change (#1561)
ordian added a commit that referenced this pull request Aug 17, 2020
* master:
  overseer: fix build (#1596)
  Companion PR for #6862 (#1564)
  implement collation generation subsystem (#1557)
  Add spawn_blocking to SubsystemContext (#1570)
  Companion PR for #6846 (#1568)
  overseer: add a test to ensure all subsystem receive msgs (#1590)
  Implementer's Guide: Flesh out more details for upward messages (#1556)
  Make parachain validation wasm executor functional (#1574)
  Use async test helper to simplify node testing (#1578)
  guide: validation data refactoring (#1576)
  Remove v0 parachains runtime (#1501)
  [CI] Add github token to generate-release-text (#1581)
  Allow using any polkadot client instead of enum Client (#1575)
  service/src/lib: Update authority discovery construction (#1563)
  Update .editorconfig to what we have in practice (#1545)
  Companion PR for substrate #6672 (#1560)
  pre-redenomination tockenSymbol change (#1561)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants