John Blackbourn
71d2050014
General: Instruct file editors not to trim trailing whitespace in markdown files.
...
Two trailing spaces in a markdown file indicates a line break.
Props netweb
Fixes #43104
git-svn-id: https://develop.svn.wordpress.org/trunk@42862 602fd350-edb4-49c9-b593-d223f7449a82
2018-03-20 22:14:53 +00:00
Dion Hulse
01d5469e73
Build: Switch `package.json` to using tabs for indents.
...
Props netweb.
Fixes #43075 .
git-svn-id: https://develop.svn.wordpress.org/trunk@42460 602fd350-edb4-49c9-b593-d223f7449a82
2018-01-16 03:54:10 +00:00
Gary Pendergast
b57742018a
General: Remove `.jshintrc` and `*.json` from the 2-space-indent `.editorconfig` group.
...
JSON files don't need a particular indent style, this was just inherited from the jQuery `.editorconfig`, that we based ours on.
`package.json` is staying in the 2-space-indent group for now, due to npm 3 and 4 having issues. Upgrading to npm 5 will allow us to remove `package.json`, too.
Props netweb.
Fixes #40946 .
git-svn-id: https://develop.svn.wordpress.org/trunk@41835 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-12 01:57:45 +00:00
Dominik Schilling (ocean90)
b0d6757918
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-12 21:28:58 +00:00
Aaron Jorbin
636e35877e
.jshintrc is a json file and .editorconfig should treat it like a json file
...
props netweb
fixes #29884
git-svn-id: https://develop.svn.wordpress.org/trunk@29858 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-08 19:26:50 +00:00
Sergey Biryukov
40ce1a6adf
Multiple strings in .editorconfig section names should be wrapped in curly brackets.
...
props treyhunner, netweb.
fixes #28494 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28821 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-24 10:54:41 +00:00
Sergey Biryukov
40a7bccdc1
Include *.yml coding standards in .editorconfig.
...
props netweb.
fixes #28289 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28695 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-06 22:05:25 +00:00
Andrew Nacin
b21202c457
Add .editorconfig file, see http://editorconfig.org/ .
...
"EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs."
props jorbin, netweb.
fixes #26429 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27198 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-20 02:35:38 +00:00