hygraph / gatsby-source-graphcms

The official Gatsby source plugin for GraphCMS projects
https://graphcms.com
MIT License
145 stars 41 forks source link

chore(deps): update dependency xo to v0.20.3 #30

Closed renovate[bot] closed 6 years ago

renovate[bot] commented 6 years ago

This Pull Request updates dependency xo from v0.18.2 to v0.20.3

Note: This PR was created on a configured schedule ("on the first day of the month") and will not receive updates outside those times.

Release Notes ### [`v0.20.0`](https://github.com/xojs/xo/releases/v0.20.0) This release is way overdue, so glad to finally have it out! It includes a major ESLint upgrade, huge performance improvements, Prettier support, lots of new rules, and bug fixes. The project was recently moved to a GitHub organization, and we got a new team member, [Pierre Vanduynslager] ✨ We now also have configs for [TypeScript](https://github.com/xojs/tslint-xo) (using `tslint`) and [CSS](https://github.com/sindresorhus/stylelint-config-xo) & [Sass](https://github.com/sindresorhus/stylelint-config-xo-scss) (using `stylelint`). And don't forget, we already have a config for [React](https://github.com/sindresorhus/eslint-config-xo-react). Many of the new rules in this release are from the [`eslint-plugin-unicorn`](https://github.com/sindresorhus/eslint-plugin-unicorn) plugin, which could use some [contributions](https://github.com/sindresorhus/eslint-plugin-unicorn/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22help+wanted%22). #### Highlights - Upgraded to ESLint 4. https://github.com/xojs/xo/commit/a11e288d7227aa55db6df130d42f3593f8474ded - Added optional [Prettier support](https://github.com/xojs/xo#prettier). https://github.com/xojs/xo/commit/fd89175682810fe2a4ec8d10c3f3104d31ed37f1 - Improved performance. https://github.com/xojs/xo/commit/552cbb15cd69ce3c9192fb7dddcd8883d0f2e3bf - Now toggles rules based on the `engines` field in `package.json`. https://github.com/xojs/xo/commit/0d1836816fbc2a223c33aa2b8378719ef7da3eb2 - Disabled `linebreak-style` rule on Windows. https://github.com/xojs/eslint-config-xo/commit/3f8179657736c4c078759416509ca9698e5321e6 - Made the [`spaced-comment`](https://eslint.org/docs/rules/spaced-comment) rule more lenient. https://github.com/xojs/eslint-config-xo/commit/e4f1f36531eefb7dfc58d772747ddb5e9c141a4a - Now allows `_` as argument name in the [`no-unused-vars`](https://eslint.org/docs/rules/no-unused-vars) rule. https://github.com/xojs/eslint-config-xo/commit/dda366b13a6ad50d38f807bd1d347e90ab91444e - The `--open` flag now opens errors first and not warnings. https://github.com/xojs/xo/commit/6f6a606af2f91db377257c5f83b921ef6d25f3dc - Removed deprecated `--compact` CLI flag. https://github.com/xojs/xo/commit/652a6e51a8812e1d573c55159d8f55794e97b870 - Excluded `babel-register` and `babel-polyfill` from the [`no-unassigned-import`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unassigned-import.md) rule. https://github.com/xojs/xo/commit/70d6ab4015d182231eca46dc9b1b512e506a38b4 - Sets `ecmaVersion` to `2018`. 9859dfb #### New rules 22 new rules! - [`semi-style`](https://eslint.org/docs/rules/semi-style) https://github.com/xojs/eslint-config-xo/commit/0b1680e5b6c5848d96150e774ff7da785bf480a5 - [`for-direction`](https://eslint.org/docs/rules/for-direction) https://github.com/xojs/eslint-config-xo/commit/c957c7f3e0a34866816d339ac714d82e4c225c4c - [`switch-colon-spacing`](https://eslint.org/docs/rules/switch-colon-spacing) https://github.com/xojs/eslint-config-xo/commit/c1c8fc7f63c8f41d09a77078a6917c21e088d11c - [`no-buffer-constructor`](https://eslint.org/docs/rules/no-buffer-constructor) https://github.com/xojs/eslint-config-xo/commit/ee366cbdf63b34cd43c01c6542d98e1cb9eb78bf - [`getter-return`](https://eslint.org/docs/rules/getter-return) https://github.com/xojs/eslint-config-xo/commit/40e1442d18e16eedfaf3a773ccf1c6a137780bf1 - [`function-paren-newline`](https://eslint.org/docs/rules/function-paren-newline) https://github.com/xojs/eslint-config-xo/commit/9e90fdc3bef013d6a85a1afd59d4b8088a62ad7a - [`lines-between-class-members`](https://eslint.org/docs/rules/lines-between-class-members) https://github.com/xojs/eslint-config-xo/commit/c7f63cde323d98ffea20d7b3d411ead57fc9799f - [`array-bracket-newline`](https://eslint.org/docs/rules/array-bracket-newline) https://github.com/xojs/eslint-config-xo/commit/e2f374818e91cea854864c0e42e839edb9d306b2 - [`unicorn/prefer-add-event-listener`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-add-event-listener.md) - [`unicorn/prefer-spread rule`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-spread.md) - [`unicorn/no-unsafe-regex`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-unsafe-regex.md) - [`unicorn/error-message`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/error-message.md) - [`unicorn/import-index`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/import-index.md) - [`unicorn/new-for-builtins`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/new-for-builtins.md) - [`unicorn/regex-shorthand`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/regex-shorthand.md) - [`unicorn/escape-case`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/escape-case.md) - [`unicorn/no-hex-escape`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-hex-escape.md) - [`promise/no-return-wrap`](https://github.com/xjamundx/eslint-plugin-promise#no-return-wrap) https://github.com/xojs/xo/commit/4273f8aa24b4c4dc2383d64e53d496f2e020481f - [`promise/no-return-in-finally`](https://github.com/xjamundx/eslint-plugin-promise#no-return-in-finally) https://github.com/xojs/xo/commit/4273f8aa24b4c4dc2383d64e53d496f2e020481f - [`node/no-unpublished-bin`](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-unpublished-bin.md) https://github.com/xojs/xo/commit/16fb8e2fee3a1176aa04fda058e9a02b358719b1 - [`node/process-exit-as-throw`](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/process-exit-as-throw.md) https://github.com/xojs/xo/commit/16fb8e2fee3a1176aa04fda058e9a02b358719b1 - [`node/no-deprecated-api`](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md) https://github.com/xojs/xo/commit/16fb8e2fee3a1176aa04fda058e9a02b358719b1 #### All changes --- *Why is this not 0.19.0? That version got tainted by an incorrect publish a long time ago.* ---
Commits #### v0.19.0 - [`27c65a2`](https://github.com/xojs/xo/commit/27c65a2d461ee7aa42dc34db84743ceb44326fb2) xo ~> 0.18.0 - [`d5d18f4`](https://github.com/xojs/xo/commit/d5d18f467676a6119a412e9222da70f735b1a34d) Minor code style tweaks (#​196) - [`5209ec8`](https://github.com/xojs/xo/commit/5209ec86412cdbbee6a2bcae860faf40fbfb51a9) Minor tweak - [`2253852`](https://github.com/xojs/xo/commit/225385202277d1e3c34f14582f9e96225df37e45) Remove `no-promise-in-callback` and `promise/no-callback-in-promise` rules #### v0.20.0 - [`a84802e`](https://github.com/xojs/xo/commit/a84802e02700bd8d9e81db5a247641490ddef22b) Use `open-editor` package - [`0c6dbf5`](https://github.com/xojs/xo/commit/0c6dbf50f5e23dc3f7a87b3a52d957dcf5d9ca2a) Tweaks and refactoring (#​218) - [`9f4003f`](https://github.com/xojs/xo/commit/9f4003fdc560956b38c36a925c91b0349b99f34a) Minor tweaks - [`f689120`](https://github.com/xojs/xo/commit/f6891201f8fd9c6f487743dadd808f3ea756367e) 🦄 Welcome @​schnittstabil to the project! ✨ - [`9fc3b06`](https://github.com/xojs/xo/commit/9fc3b0677eac477c94af67bc62257bb3d2273877) Update the `options-manager.js` path in the readme (#​222) - [`aa5d97f`](https://github.com/xojs/xo/commit/aa5d97f023be53678f0dab19c3612e3ecb9318d3) Define missing boolean CLI arguments - [`6f6a606`](https://github.com/xojs/xo/commit/6f6a606af2f91db377257c5f83b921ef6d25f3dc) Open the errors first then warnings (#​221) - [`a1bf91e`](https://github.com/xojs/xo/commit/a1bf91ed1ac134c9a7f0d5ba4886c70adf4f0c8c) Don't glob everything when XO receives no patterns (#​237) - [`a7dfa88`](https://github.com/xojs/xo/commit/a7dfa88e7505bfaba66eb52a0957d1b4fbfb3aed) Meta tweaks - [`7b3da13`](https://github.com/xojs/xo/commit/7b3da13a519fb306293b1fa5d0082c6bbddc1c20) Bump dependencies - [`2e4071c`](https://github.com/xojs/xo/commit/2e4071c552f91de654ea099885c4eeec9607691a) Simplify readme avatar URLs - [`ab94177`](https://github.com/xojs/xo/commit/ab94177a1170ec17dd4dea76fd0304a6b65b6b61) Update outdated note about config overrides (#​246) - [`ed0ee48`](https://github.com/xojs/xo/commit/ed0ee48bef28bca14c80b474ef599c9b8e870e97) Add `flow-typed` dir to ignored path list (#​247) - [`4f4de13`](https://github.com/xojs/xo/commit/4f4de133b3c015387efcc34ab579d54da9bc7e87) Use `lodash.mergewith` instead of `deep-assign` (#​251) - [`a11e288`](https://github.com/xojs/xo/commit/a11e288d7227aa55db6df130d42f3593f8474ded) Upgrade to ESLint 4 - [`69294c0`](https://github.com/xojs/xo/commit/69294c0a6fd6d988a34fd94ad0a7e52f88eaea19) Bump dependencies - [`1daeac5`](https://github.com/xojs/xo/commit/1daeac5f688b9ac90bc4caced66febfc33cd7380) Don't dogfood XO here - [`0e7143a`](https://github.com/xojs/xo/commit/0e7143a6bad929c745d500476dc88691f43ba704) Bump `eslint-config-xo` - [`1f3dee0`](https://github.com/xojs/xo/commit/1f3dee0ce70fd2580e6be10e5dda251785fdc27f) Mention Stylelint shareable configs in the readme - [`8ac0f3e`](https://github.com/xojs/xo/commit/8ac0f3e25426937ef96288dfbe7d4dfda857c9bf) Mention `tslint-xo` in the readme - [`4273f8a`](https://github.com/xojs/xo/commit/4273f8aa24b4c4dc2383d64e53d496f2e020481f) Bump `eslint-plugin-promise` - [`70d6ab4`](https://github.com/xojs/xo/commit/70d6ab4015d182231eca46dc9b1b512e506a38b4) Exclude babel-register and babel-polyfill from no-unassigned-import (#​269) - [`1a8ac73`](https://github.com/xojs/xo/commit/1a8ac73fb30f0164bef9f9a904414d7a9297f8a4) Link to WebStorm recipe - [`bc66114`](https://github.com/xojs/xo/commit/bc66114d3381e24b4272dfd88673643a9cff249e) Bump `meow` - [`16fb8e2`](https://github.com/xojs/xo/commit/16fb8e2fee3a1176aa04fda058e9a02b358719b1) Add eslint-plugin-node (#​268) - [`7c77af3`](https://github.com/xojs/xo/commit/7c77af3cc036bf488f0b5b87e37fad9913e1a5f5) ✨ Welcome @​pvdlg to the project ✨ - [`fd89175`](https://github.com/xojs/xo/commit/fd89175682810fe2a4ec8d10c3f3104d31ed37f1) Add optional Prettier support (#​271) - [`fdf051d`](https://github.com/xojs/xo/commit/fdf051d559ffb034badfb5310f58573adb27804f) Use globby gitignore handling (#​283) - [`8ef54e0`](https://github.com/xojs/xo/commit/8ef54e00c6023381704732cbb36aeb7868547eda) Bump prettier to 1.10.2 (#​284) - [`b2e5428`](https://github.com/xojs/xo/commit/b2e542895f06e9dc79000e8250556e9cbb448651) Update eslint-plugin-unicorn (#​287) - [`0d18368`](https://github.com/xojs/xo/commit/0d1836816fbc2a223c33aa2b8378719ef7da3eb2) Enforce rules based on "engines" field in package.json (#​281) - [`c1f1be6`](https://github.com/xojs/xo/commit/c1f1be647fda10b8c22a9473a3e14e99089ba48a) Add JSDoc plugin (#​286) - [`78f621f`](https://github.com/xojs/xo/commit/78f621fed17fb6889f8e636cf847251f31dd62d3) Bump dependencies - [`07df074`](https://github.com/xojs/xo/commit/07df0747c92c37299ef4b87f8fff58a8ed3f88fb) Add related package to readme (#​290) - [`61a85cf`](https://github.com/xojs/xo/commit/61a85cfe1dce4607db667085d53afc209d3eb5e0) Revert JSDoc plugin (#​291) - [`42e03f1`](https://github.com/xojs/xo/commit/42e03f14aa65b18209d762958319490d2b752631) Disable the `node/no-unpublished-require/import` rules - [`34dca07`](https://github.com/xojs/xo/commit/34dca0789e1fe6cb88176970731b5daf35cb6cee) Disable the `node/exports-style` rule - [`8526f2e`](https://github.com/xojs/xo/commit/8526f2e2ad4e85a61ce5c695fdbd49de2bfd1084) Bump `eslint-plugin-node` - [`9859dfb`](https://github.com/xojs/xo/commit/9859dfb074745cd6d5fb59bac1bb02e391d80bbf) Set `ecmaVersion` to 2018 - [`6d8a93b`](https://github.com/xojs/xo/commit/6d8a93b10273894839fd692e849314c057622a53) Update URL to new org - [`552cbb1`](https://github.com/xojs/xo/commit/552cbb15cd69ce3c9192fb7dddcd8883d0f2e3bf) Update globby to the latest version (#​295) - [`414ad2d`](https://github.com/xojs/xo/commit/414ad2dc6b15dc48b11a2d7954f54a4bb31ec4f2) Bump `eslint-plugin-unicorn` - [`f1bb0a1`](https://github.com/xojs/xo/commit/f1bb0a1e756182da74f7061b1becfa182f889df5) Bump `eslint-config-xo` - [`60fd100`](https://github.com/xojs/xo/commit/60fd100f13bbc764f1a9073619fb0d773d69ea6b) Force bump dependencies - [`652a6e5`](https://github.com/xojs/xo/commit/652a6e51a8812e1d573c55159d8f55794e97b870) Remove deprecated `--compact` CLI flag (#​293) - [`6245086`](https://github.com/xojs/xo/commit/6245086b24c3526698a50071b3525de0ab86dff0) Disable `enforceForRenamedProperties` for `prefer-destructuring` (#​297) - [`a22e5dc`](https://github.com/xojs/xo/commit/a22e5dc81cb045e1c461e820bfdc36eae3549f73) 0.19.0 - [`56d9891`](https://github.com/xojs/xo/commit/56d98917b656fceaa5f2720fb07e98b331adc30f) 0.20.0 #### v0.20.1 - [`71036d1`](https://github.com/xojs/xo/commit/71036d12d85cfba78deff3231e78aa64aa3094b7) Disable parsing of prettier CLI option (#​298) - [`bf29ed8`](https://github.com/xojs/xo/commit/bf29ed8f208cecfd4063728d9c4d45006a304731) 0.20.1 #### v0.20.2 - [`5a55cee`](https://github.com/xojs/xo/commit/5a55cee79614d01cbbb7ee07bf34ee33a46efa39) Do not add indent rule when `prettier` option is true (#​300) - [`3094538`](https://github.com/xojs/xo/commit/309453883c8159855e934f98d0cb2d22eb9aed46) 0.20.2 #### v0.20.3 - [`c62345c`](https://github.com/xojs/xo/commit/c62345ca22b89a02a3dc10c91911ca7fe089765c) Make Prettier confing take precedence over XO (#​301) - [`5f062e2`](https://github.com/xojs/xo/commit/5f062e2a234392a2f92941e0445bfa06b0134923) Simplify appveyor.yml - [`f100021`](https://github.com/xojs/xo/commit/f1000213458e6f1c1697eb69aa8a54a9a6360471) 0.20.3

This PR has been generated by Renovate Bot.

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 0.1.0-next.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: