diff --git a/.eslintrc.json b/.eslintrc.json index 07bb4a4..22ca45e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,10 @@ { - "extends": ["airbnb-base", "plugin:n/recommended", "plugin:unicorn/recommended", "plugin:eslint-comments/recommended"], + "extends": [ + "airbnb-base", + "plugin:n/recommended", + "plugin:unicorn/recommended", + "plugin:eslint-comments/recommended" + ], "plugins": ["n", "unicorn", "eslint-comments"], "parserOptions": { "ecmaVersion": "latest", @@ -7,8 +12,10 @@ }, "rules": { "import/no-extraneous-dependencies": ["error", { "devDependencies": true }], - "unicorn/prevent-abbreviations": 0, "unicorn/no-null": 0, + "unicorn/import-style": 0, + "unicorn/no-anonymous-default-export": 0, + "unicorn/prevent-abbreviations": 0, "unicorn/catch-error-name": ["error", { "name": "e" }], "eslint-comments/no-unused-disable": "error" }, diff --git a/package-lock.json b/package-lock.json index 88541f1..88de64b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-mocha": "^10.4.3", "eslint-plugin-n": "^17.4.0", - "eslint-plugin-unicorn": "^51.0.1", + "eslint-plugin-unicorn": "^52.0.0", "mocha": "^10.4.0", "module-from-string": "^3.3.0" }, @@ -1963,9 +1963,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", @@ -5973,9 +5973,9 @@ } }, "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 6fb231a..073a254 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-mocha": "^10.4.3", "eslint-plugin-n": "^17.4.0", - "eslint-plugin-unicorn": "^51.0.1", + "eslint-plugin-unicorn": "^52.0.0", "mocha": "^10.4.0", "module-from-string": "^3.3.0" },