From ce9969a5fc645d00eb0cd1e56cc6f07aeb9e3f9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 16:12:54 +0900 Subject: [PATCH] chore(deps-dev): bump eslint-plugin-unicorn from 51.0.1 to 52.0.0 (#411) * chore(deps-dev): bump eslint-plugin-unicorn from 51.0.1 to 52.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 51.0.1 to 52.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.1...v52.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * fix --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julian Grinblat --- .eslintrc.json | 32 ++++++++++++++++++++++---------- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 30 insertions(+), 18 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3360089..ef715d7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,10 @@ { - "extends": ["airbnb", "plugin:react/jsx-runtime", "plugin:unicorn/recommended", "plugin:eslint-comments/recommended"], + "extends": [ + "airbnb", + "plugin:react/jsx-runtime", + "plugin:unicorn/recommended", + "plugin:eslint-comments/recommended" + ], "plugins": ["unicorn", "eslint-comments"], "env": { "browser": true @@ -10,16 +15,23 @@ }, "rules": { "max-len": ["error", { "code": 100, "ignoreComments": true }], - "react/function-component-definition": [2, {"namedComponents":"arrow-function"}], - "import/no-extraneous-dependencies": ["error", { - "devDependencies": [ - "test/**", - "karma.conf.cjs", - "examples/rollup.config.js" - ] - }], - "unicorn/prevent-abbreviations": 0, + "react/function-component-definition": [ + 2, + { "namedComponents": "arrow-function" } + ], + "import/no-extraneous-dependencies": [ + "error", + { + "devDependencies": [ + "test/**", + "karma.conf.cjs", + "examples/rollup.config.js" + ] + } + ], "unicorn/no-null": 0, + "unicorn/prevent-abbreviations": 0, + "unicorn/no-anonymous-default-export": 0, "eslint-comments/no-unused-disable": "error" }, "overrides": [ diff --git a/package-lock.json b/package-lock.json index 2898b17..4f13956 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "eslint-plugin-mocha": "^10.4.3", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.2", - "eslint-plugin-unicorn": "^51.0.1", + "eslint-plugin-unicorn": "^52.0.0", "karma": "^6.4.3", "karma-chrome-launcher": "^3.2.0", "karma-coverage": "^2.2.1", @@ -3683,9 +3683,9 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "51.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-51.0.1.tgz", - "integrity": "sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==", + "version": "52.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz", + "integrity": "sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", @@ -11846,9 +11846,9 @@ "requires": {} }, "eslint-plugin-unicorn": { - "version": "51.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-51.0.1.tgz", - "integrity": "sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==", + "version": "52.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz", + "integrity": "sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==", "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.22.20", diff --git a/package.json b/package.json index 3f21e2e..4eb8c2b 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "eslint-plugin-mocha": "^10.4.3", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.2", - "eslint-plugin-unicorn": "^51.0.1", + "eslint-plugin-unicorn": "^52.0.0", "karma": "^6.4.3", "karma-chrome-launcher": "^3.2.0", "karma-coverage": "^2.2.1",