From e066cc400fc27ea0ed396b9d165a506018f62059 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 21 Aug 2021 21:45:17 +0530 Subject: [PATCH] Bump eslint-config-xo from 0.36.0 to 0.38.0 (#3878) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel <50356015+danny007in@users.noreply.github.com> --- .eslintrc.json | 10 ++++++++++ dist/js/.eslintrc.json | 4 ++++ package-lock.json | 6 +++--- package.json | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index f6e73b948..7573b0f45 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,7 +12,12 @@ "jquery": true }, "rules": { + "arrow-body-style": "off", "capitalized-comments": "off", + "comma-dangle": [ + "error", + "never" + ], "eqeqeq": "off", "indent": [ "error", @@ -39,8 +44,13 @@ "error", "always" ], + "operator-linebreak": [ + "error", + "after" + ], "prefer-template": "error", "prefer-named-capture-group": "off", + "semi": [ "error", "never" diff --git a/dist/js/.eslintrc.json b/dist/js/.eslintrc.json index e2a145a17..de4ca1b9b 100644 --- a/dist/js/.eslintrc.json +++ b/dist/js/.eslintrc.json @@ -14,6 +14,10 @@ ], "rules": { "capitalized-comments": "off", + "comma-dangle": [ + "error", + "never" + ], "indent": [ "error", 2, diff --git a/package-lock.json b/package-lock.json index 6a30bab6d..3acb2c5b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4679,9 +4679,9 @@ } }, "eslint-config-xo": { - "version": "0.36.0", - "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.36.0.tgz", - "integrity": "sha512-RCaqCyI38awe3qgiO0Z8CqHs9yw7dMKdV6ZRTFSR7lm0//370tbDEZaQBXnztgpwe5m6D+VvFWc3vLMP/W6EAg==", + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.38.0.tgz", + "integrity": "sha512-G2jL+VyfkcZW8GoTmqLsExvrWssBedSoaQQ11vyhflDeT3csMdBVp0On+AVijrRuvgmkWeDwwUL5Rj0qDRHK6g==", "dev": true, "requires": { "confusing-browser-globals": "1.0.10" diff --git a/package.json b/package.json index de2a6f2e6..08d93da85 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "clean-css-cli": "^5.3.3", "concurrently": "^6.2.1", "eslint": "^7.32.0", - "eslint-config-xo": "^0.36.0", + "eslint-config-xo": "^0.38.0", "eslint-plugin-compat": "^3.13.0", "eslint-plugin-import": "^2.24.1", "eslint-plugin-unicorn": "^35.0.0",