Skip to content

Commit b914fca

Browse files
Update dependency eslint-plugin-unicorn to v57 (#10609)
* Update dependency eslint-plugin-unicorn to v57 * ESLint: Adjust `eslint-plugin-unicorn` integration --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tobias Bieniek <[email protected]>
1 parent bc45662 commit b914fca

File tree

3 files changed

+82
-69
lines changed

3 files changed

+82
-69
lines changed

eslint.config.mjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import ember from 'eslint-plugin-ember';
55
import emberConcurrency from 'eslint-plugin-ember-concurrency';
66
import importHelpers from 'eslint-plugin-import-helpers';
77
import prettier from 'eslint-plugin-prettier';
8+
import eslintPluginUnicorn from 'eslint-plugin-unicorn';
89
import globals from 'globals';
910
import path from 'node:path';
1011
import { fileURLToPath } from 'node:url';
@@ -18,6 +19,7 @@ const compat = new FlatCompat({
1819
});
1920

2021
export default [
22+
eslintPluginUnicorn.configs.recommended,
2123
{
2224
ignores: [
2325
'.git/**/*',
@@ -49,7 +51,6 @@ export default [
4951
'plugin:ember/recommended',
5052
'plugin:qunit/recommended',
5153
'plugin:qunit-dom/recommended',
52-
'plugin:unicorn/recommended',
5354
'plugin:prettier/recommended',
5455
),
5556
{

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"eslint-plugin-prettier": "5.2.3",
128128
"eslint-plugin-qunit": "8.1.2",
129129
"eslint-plugin-qunit-dom": "0.2.0",
130-
"eslint-plugin-unicorn": "56.0.1",
130+
"eslint-plugin-unicorn": "57.0.0",
131131
"globals": "16.0.0",
132132
"globby": "14.1.0",
133133
"loader.js": "4.7.0",

pnpm-lock.yaml

+79-67
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)