From d21477eaad351deea15d11fac78ddc4da3ea38bf Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Mon, 24 Dec 2018 14:42:18 +0200 Subject: [PATCH] Update ESLint --- .eslintrc.yml | 5 ++--- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 09ec3eab6e..9b1c1bbb3e 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -73,7 +73,7 @@ rules: flowtype/valid-syntax: off ################################################## - # ESLint builtin rules list based on `v5.10.0` + # ESLint builtin rules list based on `v5.11.0` ################################################## # Possible Errors @@ -114,7 +114,6 @@ rules: no-unsafe-negation: error require-atomic-updates: error use-isnan: error - valid-jsdoc: off valid-typeof: error # Best Practices @@ -180,6 +179,7 @@ rules: no-unused-expressions: error no-unused-labels: error no-useless-call: error + no-useless-catch: error no-useless-concat: error no-useless-escape: error no-useless-return: error @@ -309,7 +309,6 @@ rules: prefer-object-spread: error quote-props: off quotes: off - #require-jsdoc: undecided semi: off semi-spacing: off semi-style: off diff --git a/package.json b/package.json index a5000c8335..600c15df62 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "benchmark": "2.1.4", "chai": "4.2.0", "coveralls": "3.0.2", - "eslint": "5.10.0", + "eslint": "5.11.0", "eslint-plugin-flowtype": "3.2.0", "eslint-plugin-prettier": "3.0.0", "flow-bin": "0.89.0", diff --git a/yarn.lock b/yarn.lock index 42a25500aa..b73e9708e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1402,10 +1402,10 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@5.10.0: - version "5.10.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.10.0.tgz#24adcbe92bf5eb1fc2d2f2b1eebe0c5e0713903a" - integrity sha512-HpqzC+BHULKlnPwWae9MaVZ5AXJKpkxCVXQHrFaRw3hbDj26V/9ArYM4Rr/SQ8pi6qUPLXSSXC4RBJlyq2Z2OQ== +eslint@5.11.0: + version "5.11.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.11.0.tgz#51a0e70f137a425fe044cd48273b96f28a774b1f" + integrity sha512-gbEg0ttToZPkZUv2yYjpipxuYrv/9aSSmgM4V6GkiO3u04QosHYBtduUCqLEulEg3YvNDAkk3OWzyQJ/heZ3Nw== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.5.3"