Comments (6)
This rule shall be implemented as a file-save operation. See https://github.com/editorconfig/editorconfig/wiki/Plugin-Guidelines#trim_trailing_whitespace
On file save, any/all trailing whitespace shall be removed. This means you could open up a tainted file, save it and all previously-existing trailing whitespace shall be removed, even though no file changes were made.
from specification.
Is my suggestion to add "in the file" after "whitespace characters" a good one? If so, I will open a PR for that. Or do we need better wording?
from specification.
@cxw42 I think this issue is properly raised here, because it is about changing the text to clarify some part of the specification, not about proposing changes to the substance of the specification.
from specification.
@xuhdev In view of #3 and your comment above, I suggest the Board consider disabling issues here, or changing the way editorconfig/editorconfig is used. #3 appears substantive to me, and I can't fault the poster for opening a specification issue in a repo called "specification" ;) . Another option would be to add an issue template here pointing people to the other repo, but the experience of Stack Overflow suggests that may not be 100% effective.
from specification.
@cxw42 see editorconfig/editorconfig#398
from specification.
I have a metaquestion --- should questions like this one about the content of the specification be in this repo, or should they still be in editorconfig/editorconfig? My understanding has been that substantive questions went over in the editorconfig repo, but perhaps that has changed now that this repo is open.
from specification.
Related Issues (20)
- Versioning with SemVer HOT 2
- Introduce AST + validation errors HOT 21
- Clarification on insert_final_newline behavior for empty files HOT 3
- Clarify the behavior of leading slash in section title HOT 2
- Clarify behavior of ; and # within values HOT 14
- max_line_length is not specified HOT 15
- Readthedocs link mentioned in README.md not available HOT 4
- [Title]
- Tell IDE to ignore files HOT 3
- Odd grammatical syntax at supported-properties/root HOT 1
- Use editorconfig.org subdomain HOT 3
- How to have a multiline value HOT 2
- Clarify 'key containing whitespace' case HOT 8
- Table of Content HOT 6
- version tags? HOT 1
- Clarify glob matching HOT 7
- Clarify that spelling_language strings must be exactly two or five characters HOT 2
- Enhancement: Light comment style preference HOT 2
- Clarify behavior of formatting (non-"root") properties at top level HOT 10
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 specification.