diff --git a/.eslintrc.js b/.eslintrc.js index 1737c49f3bf..8ff34f5c0ae 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -44,6 +44,8 @@ module.exports = { // disabled because of false positives related to ember-concurrency usage 'unicorn/consistent-function-scoping': 'off', 'unicorn/explicit-length-check': ['error', { 'non-zero': 'not-equal' }], + // disabled because it conflicts with Ember.js conventions + 'unicorn/no-anonymous-default-export': 'off', // disabled because of false positives related to `EmberArray` 'unicorn/no-array-for-each': 'off', // disabled because it is annoying in some cases... diff --git a/package.json b/package.json index 0ba57a55125..bd6f54b9205 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "eslint-plugin-prettier": "5.1.3", "eslint-plugin-qunit": "8.1.1", "eslint-plugin-qunit-dom": "0.2.0", - "eslint-plugin-unicorn": "51.0.1", + "eslint-plugin-unicorn": "52.0.0", "globby": "14.0.1", "http-proxy": "1.18.1", "loader.js": "4.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f424ada17a..83599d5d534 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -251,8 +251,8 @@ devDependencies: specifier: 0.2.0 version: 0.2.0(eslint@8.57.0) eslint-plugin-unicorn: - specifier: 51.0.1 - version: 51.0.1(eslint@8.57.0) + specifier: 52.0.0 + version: 52.0.0(eslint@8.57.0) globby: specifier: 14.0.1 version: 14.0.1 @@ -9430,8 +9430,8 @@ packages: - eslint dev: true - /eslint-plugin-unicorn@51.0.1(eslint@8.57.0): - resolution: {integrity: sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==} + /eslint-plugin-unicorn@52.0.0(eslint@8.57.0): + resolution: {integrity: sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==} engines: {node: '>=16'} peerDependencies: eslint: '*'