FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: change editorconfig's 'ignore' to 'unset' by silverwind · Pull Request #28440 · nodejs/node · GitHub

/ node Public

tools: change editorconfig's 'ignore' to 'unset' - #28440

Closed
silverwind wants to merge 1 commit into
nodejs:masterfrom
silverwind:ec-unset
Closed

tools: change editorconfig's 'ignore' to 'unset'#28440
silverwind wants to merge 1 commit into
nodejs:masterfrom
silverwind:ec-unset

Conversation

Copy link
Copy Markdown
Contributor

According to https://editorconfig.org/#supported-properties the canonical way to disable a property is to set it to 'unset'. We did use 'ignore' and this generally works because tools ignore unknown values but some of them like eclint are picky on it.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

According to https://editorconfig.org/#supported-properties the
canonical way to disable a property is to set it to 'unset'. We did use
'ignore' and this generally works because tools ignore unknown values
but some of them like `eclint` are picky on it.
nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Jun 26, 2019

Copy link
Copy Markdown

Any "invalid" value and the property should be ignored. Use ignore to express our meaning more clearly.

But the "official" way is to set them to unset.

Copy link
Copy Markdown
Contributor Author

Thanks, landed in a173173.

silverwind closed this Jun 30, 2019
silverwind deleted the ec-unset branch June 30, 2019 14:16
targos pushed a commit that referenced this pull request Jul 2, 2019
According to https://editorconfig.org/#supported-properties the
canonical way to disable a property is to set it to 'unset'. We did use
'ignore' and this generally works because tools ignore unknown values
but some of them like `eclint` are picky on it.

PR-URL: #28440
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
targos pushed a commit that referenced this pull request Jul 2, 2019
According to https://editorconfig.org/#supported-properties the
canonical way to disable a property is to set it to 'unset'. We did use
'ignore' and this generally works because tools ignore unknown values
but some of them like `eclint` are picky on it.

PR-URL: #28440
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
targos mentioned this pull request Jul 2, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL