7 Commits

Author SHA1 Message Date
Jonathan Desrosiers
850e928b34 Build/Test Tools: Support NodeJS 14.x in the 4.9 branch.
This updates the 4.9 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

This also replaces the `npm-shrinkwrap.json` with a `package-lock.json` file. Lock files were not supported in earlier versions of NPM, but can now be used.

In addition to backporting the package updates that happened after branching 4.9, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [42460-42461,42463,42887,43320,43323,43977,44219,44233,44728,45321,45765,46404,46408-46409,47404,47867-47869,47872-47873,48705,49636,49933,49937,49939,50017,50126,50176,50185,50192] to the 4.9 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/4.9@50202 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 04:06:44 +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