Skip to content

Remove unsupported tests#33

Merged
xuhdev merged 1 commit intoeditorconfig:masterfrom
jednano:remove-unsupported
Nov 30, 2019
Merged

Remove unsupported tests#33
xuhdev merged 1 commit intoeditorconfig:masterfrom
jednano:remove-unsupported

Conversation

@jednano
Copy link
Copy Markdown
Member

@jednano jednano commented Nov 30, 2019

In response to the specification, which states:

Inserting a # or ; after non-whitespace characters in a line (i.e., inline) shall neither be parsed as a comment nor as part of the section name, key or value in which it was inserted. This may change in the future; thus, it is not recommended.

We have no support or plans to support inline comments. The tests I am removing here are either related to inline comments or : delimiters for key-value pairs, which is a Python ConfigParser feature for which EditorConfig has no purpose. It's also not in the specification.

Copy link
Copy Markdown
Member

@xuhdev xuhdev left a comment

Choose a reason for hiding this comment

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

LGTM

@xuhdev xuhdev merged commit 4896ac5 into editorconfig:master Nov 30, 2019
@jednano jednano deleted the remove-unsupported branch December 1, 2019 00:21
jednano pushed a commit that referenced this pull request Dec 1, 2019
Forgot to remove these in #33
xuhdev pushed a commit that referenced this pull request Dec 1, 2019
Forgot to remove these in #33
cxw42 added a commit to cxw42/editorconfig-core-test that referenced this pull request Oct 30, 2022
- Hash in value is part of the value, not a comment
- Backslashes before hashes or semicolons are part of the value as well,
  not an escaping mechanism.
- This supersedes the change made in editorconfig#33.

editorconfig/specification#31 (comment)
cxw42 added a commit to cxw42/editorconfig-core-test that referenced this pull request Oct 30, 2022
This implements the specification changes made by
<editorconfig/specification#31>.

- A hash or semicolon in a value is part of the value, not the beginning
  of a comment.
- Backslashes before hashes or semicolons are part of the value as well,
  not an escaping mechanism.
- This supersedes the change made in editorconfig#33.
xuhdev pushed a commit that referenced this pull request Oct 31, 2022
This implements the specification changes made by
<editorconfig/specification#31>.

- A hash or semicolon in a value is part of the value, not the beginning
  of a comment.
- Backslashes before hashes or semicolons are part of the value as well,
  not an escaping mechanism.
- This supersedes the change made in #33.
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