Comments (6)
I suspect this would be a couple dozen SLOC, though if it needed to generalized beyond prettier it'd pretty quickly get complicated.
yeah, i don't think this project would want to be trying to promote a specific approach, so a generic approach would be a much for us to include it. also, in addition to the effort involved in the initial implementation, i'm concerned that a feature like this would suggest that the generated content is intended to be edited by humans. that could then invite additional requests for handling edge cases around the formatting triggered by semantic-release being resilient to bad formatting introduced by humans, or making a decision for projects around whether we should format the whole file or only the content generated by the current release. as you said, these scenarios can introduce pretty significant complexity for a seemingly simple feature.
oh yeah absolutely - this wasn't intended to be a "help! I'm drowning!" but more of a nice-to-have.
i appreciate the understanding. i think it is unlikely for this to provide enough value to justify the maintenance it could add for maintainers. we do appreciate you opening the issue to help us understand the desire, but we probably need to hear desire from a fairly large portion of our user base to move this forward.
from changelog.
thank you for your diligent consideration!
from changelog.
is it possible to exclude certain files from the linting? in my opinion, applying a lint script to a machine generated file does not provide much value. if it were my project, i would exclude it for the same reasons that i exclude transpiled js files generated with babel from being linted with eslint.
from changelog.
It is possible, yeah. I could also go that route. Since it's a documentation/markdown file, it feels different from generated code that isn't necessarily intended to be read by a human. I'd prefer to keep all markdown files consistent.
from changelog.
intended to be read by a human
i assume that the humans reading this content are reading a rendered version rather than the actual markdown?
i find a lot of value in linting markdown as well, but because editors are very inconsistent and often unforgiving. however, the content that is generated by this tool is not intended to be edited by humans. providing an option to format based on the desires of individual projects could introduce a fairly significant maintenance burden for this tool in order to support an unintended use case.
i can understand this being desirable, but i'm just trying to set the appropriate expectation for this being prioritized.
from changelog.
i assume that the humans reading this content are reading a rendered version rather than the actual markdown?
🤷 I can't hope to estimate what most people do with markdown files. I know from experience that more than a few just stick to plain-text editors, though I can't imagine it isn't significantly biased by the availability of a nice web UI on GitHub.
providing an option to format based on the desires of individual projects could introduce a fairly significant maintenance burden for this tool in order to support an unintended use case.
I suspect this would be a couple dozen SLOC, though if it needed to generalized beyond prettier it'd pretty quickly get complicated. A totally valid resolution here is "not willing to support."
i can understand this being desirable, but i'm just trying to set the appropriate expectation for this being prioritized.
oh yeah absolutely - this wasn't intended to be a "help! I'm drowning!" but more of a nice-to-have.
from changelog.
Related Issues (20)
- Incompatible with semantic-release v18 HOT 5
- [Security] v6.0.1 has dependencies to vulnerable packages
- Gitlab Error: Cannot find module '@semantic-release/changelog' HOT 2
- [Help] Generate changelog since the beginning HOT 2
- How to configure commit title triggers? HOT 2
- Changelog title duplication HOT 2
- Is it possible to reuse changelog information from Renovate?
- No changelog is generated during the release HOT 1
- Publish a new release with updated version of semantic-release HOT 4
- Getting a weird error when trying to run changelogs HOT 1
- Version titles should be ##, not # (or at least configurable) HOT 6
- Skip changelog entry in defined branches
- Changelog links no longer valid with GitLab 16.0 release HOT 1
- How can I ignore an specific scope from changelog docs?
- How to configure/disable URL generation from `issueId`? HOT 1
- Error running semantic-release: ESM modules not supported in CommonJS
- Custom issue tracker configuration
- Remove duplicates from commit messages
- How to generate the CHANGELOG.md from the begining, regenerate it all HOT 1
- How do you get semantic-release/changelog to pull configurations from .changelogrc.json?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from changelog.