diff --git a/common/build/eslint-config-fluid/package.json b/common/build/eslint-config-fluid/package.json index 0e12697a5f33..c9b356cd5a37 100644 --- a/common/build/eslint-config-fluid/package.json +++ b/common/build/eslint-config-fluid/package.json @@ -45,7 +45,7 @@ "eslint-plugin-react": "~7.37.5", "eslint-plugin-react-hooks": "~5.2.0", "eslint-plugin-tsdoc": "~0.4.0", - "eslint-plugin-unicorn": "~48.0.1", + "eslint-plugin-unicorn": "~54.0.0", "eslint-plugin-unused-imports": "~4.2.0" }, "devDependencies": { @@ -65,6 +65,9 @@ ], "overrides": { "mocha>serialize-javascript@6.0.0": "^6.0.2" - } + }, + "onlyBuiltDependencies": [ + "unrs-resolver" + ] } } diff --git a/common/build/eslint-config-fluid/pnpm-lock.yaml b/common/build/eslint-config-fluid/pnpm-lock.yaml index 4a3605c7b5a3..8b7d93e2f62e 100644 --- a/common/build/eslint-config-fluid/pnpm-lock.yaml +++ b/common/build/eslint-config-fluid/pnpm-lock.yaml @@ -46,7 +46,7 @@ importers: version: 4.16.1(@typescript-eslint/utils@8.31.1(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) eslint-plugin-jsdoc: specifier: ~55.0.2 - version: 55.0.2(eslint@8.57.1) + version: 55.0.5(eslint@8.57.1) eslint-plugin-promise: specifier: ~7.2.1 version: 7.2.1(eslint@8.57.1) @@ -60,8 +60,8 @@ importers: specifier: ~0.4.0 version: 0.4.0 eslint-plugin-unicorn: - specifier: ~48.0.1 - version: 48.0.1(eslint@8.57.1) + specifier: ~54.0.0 + version: 54.0.0(eslint@8.57.1) eslint-plugin-unused-imports: specifier: ~4.2.0 version: 4.2.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1) @@ -101,8 +101,8 @@ packages: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.22.20': - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} + '@babel/helper-validator-identifier@7.27.1': + resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} engines: {node: '>=6.9.0'} '@babel/highlight@7.22.20': @@ -136,6 +136,10 @@ packages: resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/eslintrc@3.3.1': + resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/js@8.57.1': resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -552,6 +556,10 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + baseline-browser-mapping@2.8.15: + resolution: {integrity: sha512-qsJ8/X+UypqxHXN75M7dF88jNK37dLBRW7LeUzCPz+TNs37G8cfWy9nWzS+LS//g600zrt2le9KuXt0rWfDz5Q==} + hasBin: true + binary-extensions@2.3.0: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} @@ -569,6 +577,11 @@ packages: browser-stdout@1.3.1: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} + browserslist@4.26.3: + resolution: {integrity: sha512-lAUU+02RFBuCKQPj/P6NgjlbCnLBMp4UtgTx7vNHd3XSIJF87s9a5rA3aH2yw3GS9DqZAUbOtZdCCiZeVRqt0w==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} @@ -596,6 +609,9 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} + caniuse-lite@1.0.30001749: + resolution: {integrity: sha512-0rw2fJOmLfnzCRbkm8EyHL8SvI2Apu5UbnQuTsJ0ClgrH8hcwFooJ1s5R0EP8o8aVrFu8++ae29Kt9/gZAZp/Q==} + caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -623,8 +639,8 @@ packages: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} - ci-info@3.8.0: - resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} + ci-info@4.3.1: + resolution: {integrity: sha512-Wdy2Igu8OcBpI2pZePZ5oWjPC38tmDVx5WKUXKwlLYkA0ozo85sLsLvkBbBn/sZaSCMFOGZJ14fvW9t5/d7kdA==} engines: {node: '>=8'} clean-regexp@1.0.0: @@ -694,6 +710,9 @@ packages: engines: {node: '>=18'} hasBin: true + core-js-compat@3.46.0: + resolution: {integrity: sha512-p9hObIIEENxSV8xIu+V68JjSeARg6UVMG5mR+JEUguG3sI6MsiS1njz2jHmyJDvA+8jX/sytkBHup6kxhM9law==} + core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -813,6 +832,9 @@ packages: resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} engines: {node: '>= 0.4'} + electron-to-chromium@1.5.234: + resolution: {integrity: sha512-RXfEp2x+VRYn8jbKfQlRImzoJU01kyDvVPBmG39eU2iuRVhuS6vQNocB8J0/8GrIMLnPzgz4eW6WiRnJkTuNWg==} + emoji-regex@10.3.0: resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} @@ -865,6 +887,10 @@ packages: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} @@ -926,8 +952,8 @@ packages: eslint-import-resolver-node: optional: true - eslint-plugin-jsdoc@55.0.2: - resolution: {integrity: sha512-0ydpGUvxEhMNEKofmlBRgo2VFA4oBMF5TDOwG/LocQOW+dyOLuM/Hzvd3QAHVzTiK0KO4Dq/PLt3XXWiGXar+Q==} + eslint-plugin-jsdoc@55.0.5: + resolution: {integrity: sha512-foZ/+Fm20JCYmP5msD4MpmFb0MxajkVJ15YMKxvQ7WJK0zI/iykkClpsuqbav3bLtDhaOalYxwRx0pGTqoQoRA==} engines: {node: '>=20.11.0'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -953,11 +979,11 @@ packages: eslint-plugin-tsdoc@0.4.0: resolution: {integrity: sha512-MT/8b4aKLdDClnS8mP3R/JNjg29i0Oyqd/0ym6NnQf+gfKbJJ4ZcSh2Bs1H0YiUMTBwww5JwXGTWot/RwyJ7aQ==} - eslint-plugin-unicorn@48.0.1: - resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} - engines: {node: '>=16'} + eslint-plugin-unicorn@54.0.0: + resolution: {integrity: sha512-XxYLRiYtAWiAjPv6z4JREby1TAE2byBC7wlh0V4vWDCpccOSU1KovWV//jqPXF6bq3WKxqX9rdjoRQ1EhdmNdQ==} + engines: {node: '>=18.18'} peerDependencies: - eslint: '>=8.44.0' + eslint: '>=8.56.0' eslint-plugin-unused-imports@4.2.0: resolution: {integrity: sha512-hLbJ2/wnjKq4kGA9AUaExVFIbNzyxYdVo49QZmKCnhk5pc9wcYRbfgLHvWJ8tnsdcseGhoUAddm9gn/lt+d74w==} @@ -1151,6 +1177,10 @@ packages: resolution: {integrity: sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==} engines: {node: '>=8'} + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + globalthis@1.0.4: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} @@ -1659,6 +1689,9 @@ packages: natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + node-releases@2.0.23: + resolution: {integrity: sha512-cCmFDMSm26S6tQSDpBCg/NR8NENrVPhAJSf+XbxBG4rPFaaonlEoE9wHQmun+cls499TQGSb7ZyPBRlzgKfpeg==} + normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} @@ -1770,6 +1803,9 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -2193,6 +2229,12 @@ packages: unrs-resolver@1.11.1: resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==} + update-browserslist-db@1.1.3: + resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + update-section@0.3.3: resolution: {integrity: sha512-BpRZMZpgXLuTiKeiu7kK0nIPwGdyrqrs6EDSaXtjD/aQ2T+qVo9a5hRC3HN3iJjCMxNT/VxoLGQ7E/OzE5ucnw==} @@ -2294,11 +2336,11 @@ snapshots: '@babel/highlight': 7.22.20 chalk: 2.4.2 - '@babel/helper-validator-identifier@7.22.20': {} + '@babel/helper-validator-identifier@7.27.1': {} '@babel/highlight@7.22.20': dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.27.1 chalk: 2.4.2 js-tokens: 4.0.0 @@ -2347,6 +2389,20 @@ snapshots: transitivePeerDependencies: - supports-color + '@eslint/eslintrc@3.3.1': + dependencies: + ajv: 6.12.6 + debug: 4.4.1 + espree: 10.4.0 + globals: 14.0.0 + ignore: 5.3.2 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + '@eslint/js@8.57.1': {} '@fluid-internal/eslint-plugin-fluid@0.3.1(eslint@8.57.1)(typescript@5.4.5)': @@ -2854,6 +2910,8 @@ snapshots: balanced-match@1.0.2: {} + baseline-browser-mapping@2.8.15: {} + binary-extensions@2.3.0: {} brace-expansion@1.1.11: @@ -2871,6 +2929,14 @@ snapshots: browser-stdout@1.3.1: {} + browserslist@4.26.3: + dependencies: + baseline-browser-mapping: 2.8.15 + caniuse-lite: 1.0.30001749 + electron-to-chromium: 1.5.234 + node-releases: 2.0.23 + update-browserslist-db: 1.1.3(browserslist@4.26.3) + buffer-from@1.1.2: {} builtin-modules@3.3.0: {} @@ -2896,6 +2962,8 @@ snapshots: camelcase@6.3.0: {} + caniuse-lite@1.0.30001749: {} + caseless@0.12.0: {} ccount@1.1.0: {} @@ -2929,7 +2997,7 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - ci-info@3.8.0: {} + ci-info@4.3.1: {} clean-regexp@1.0.0: dependencies: @@ -2996,6 +3064,10 @@ snapshots: tree-kill: 1.2.2 yargs: 17.7.2 + core-js-compat@3.46.0: + dependencies: + browserslist: 4.26.3 + core-util-is@1.0.3: {} cross-spawn@7.0.6: @@ -3115,6 +3187,8 @@ snapshots: es-errors: 1.3.0 gopd: 1.2.0 + electron-to-chromium@1.5.234: {} + emoji-regex@10.3.0: {} emoji-regex@8.0.0: {} @@ -3230,6 +3304,8 @@ snapshots: escalade@3.1.1: {} + escalade@3.2.0: {} + escape-string-regexp@1.0.5: {} escape-string-regexp@4.0.0: {} @@ -3295,7 +3371,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-jsdoc@55.0.2(eslint@8.57.1): + eslint-plugin-jsdoc@55.0.5(eslint@8.57.1): dependencies: '@es-joy/jsdoccomment': 0.56.0 are-docs-informative: 0.0.2 @@ -3348,24 +3424,27 @@ snapshots: '@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc-config': 0.17.1 - eslint-plugin-unicorn@48.0.1(eslint@8.57.1): + eslint-plugin-unicorn@54.0.0(eslint@8.57.1): dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.27.1 '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) - ci-info: 3.8.0 + '@eslint/eslintrc': 3.3.1 + ci-info: 4.3.1 clean-regexp: 1.0.0 + core-js-compat: 3.46.0 eslint: 8.57.1 esquery: 1.6.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 jsesc: 3.0.2 - lodash: 4.17.21 pluralize: 8.0.0 read-pkg-up: 7.0.1 regexp-tree: 0.1.27 regjsparser: 0.10.0 semver: 7.7.2 strip-indent: 3.0.0 + transitivePeerDependencies: + - supports-color eslint-plugin-unused-imports@4.2.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1): dependencies: @@ -3610,6 +3689,8 @@ snapshots: dependencies: type-fest: 0.20.2 + globals@14.0.0: {} + globalthis@1.0.4: dependencies: define-properties: 1.2.1 @@ -4176,6 +4257,8 @@ snapshots: natural-compare@1.4.0: {} + node-releases@2.0.23: {} + normalize-package-data@2.5.0: dependencies: hosted-git-info: 2.8.9 @@ -4302,6 +4385,8 @@ snapshots: path-type@4.0.0: {} + picocolors@1.1.1: {} + picomatch@2.3.1: {} picomatch@4.0.3: {} @@ -4824,6 +4909,12 @@ snapshots: '@unrs/resolver-binding-win32-ia32-msvc': 1.11.1 '@unrs/resolver-binding-win32-x64-msvc': 1.11.1 + update-browserslist-db@1.1.3(browserslist@4.26.3): + dependencies: + browserslist: 4.26.3 + escalade: 3.2.0 + picocolors: 1.1.1 + update-section@0.3.3: {} uri-js@4.4.1: @@ -4924,7 +5015,7 @@ snapshots: yargs@16.2.0: dependencies: cliui: 7.0.4 - escalade: 3.1.1 + escalade: 3.2.0 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 diff --git a/common/build/eslint-config-fluid/printed-configs/default.json b/common/build/eslint-config-fluid/printed-configs/default.json index c42f683dbc7d..2837af65b1f2 100644 --- a/common/build/eslint-config-fluid/printed-configs/default.json +++ b/common/build/eslint-config-fluid/printed-configs/default.json @@ -1847,6 +1847,9 @@ "error" ], "unicorn/consistent-destructuring": [ + "off" + ], + "unicorn/consistent-empty-array-spread": [ "error" ], "unicorn/consistent-function-scoping": [ @@ -1888,6 +1891,9 @@ "unicorn/no-abusive-eslint-disable": [ "error" ], + "unicorn/no-anonymous-default-export": [ + "error" + ], "unicorn/no-array-callback-reference": [ "error" ], @@ -1906,6 +1912,9 @@ "unicorn/no-await-expression-member": [ "error" ], + "unicorn/no-await-in-promise-methods": [ + "error" + ], "unicorn/no-console-spaces": [ "error" ], @@ -1924,6 +1933,9 @@ "unicorn/no-instanceof-array": [ "error" ], + "unicorn/no-invalid-fetch-options": [ + "error" + ], "unicorn/no-invalid-remove-event-listener": [ "error" ], @@ -1933,9 +1945,15 @@ "unicorn/no-lonely-if": [ "error" ], + "unicorn/no-magic-array-flat-depth": [ + "error" + ], "unicorn/no-negated-condition": [ "error" ], + "unicorn/no-negation-in-equality-check": [ + "error" + ], "unicorn/no-nested-ternary": [ "off" ], @@ -1954,6 +1972,9 @@ "unicorn/no-process-exit": [ "error" ], + "unicorn/no-single-promise-in-promise-methods": [ + "error" + ], "unicorn/no-static-only-class": [ "error" ], @@ -1969,6 +1990,9 @@ "unicorn/no-unnecessary-await": [ "error" ], + "unicorn/no-unnecessary-polyfills": [ + "error" + ], "unicorn/no-unreadable-array-destructuring": [ "error" ], @@ -2122,6 +2146,9 @@ "unicorn/prefer-spread": [ "error" ], + "unicorn/prefer-string-raw": [ + "error" + ], "unicorn/prefer-string-replace-all": [ "off" ], @@ -2134,6 +2161,9 @@ "unicorn/prefer-string-trim-start-end": [ "error" ], + "unicorn/prefer-structured-clone": [ + "error" + ], "unicorn/prefer-switch": [ "error" ], diff --git a/common/build/eslint-config-fluid/printed-configs/react.json b/common/build/eslint-config-fluid/printed-configs/react.json index 4a84304af8ce..f117011defd6 100644 --- a/common/build/eslint-config-fluid/printed-configs/react.json +++ b/common/build/eslint-config-fluid/printed-configs/react.json @@ -1921,6 +1921,9 @@ "error" ], "unicorn/consistent-destructuring": [ + "off" + ], + "unicorn/consistent-empty-array-spread": [ "error" ], "unicorn/consistent-function-scoping": [ @@ -1962,6 +1965,9 @@ "unicorn/no-abusive-eslint-disable": [ "error" ], + "unicorn/no-anonymous-default-export": [ + "error" + ], "unicorn/no-array-callback-reference": [ "error" ], @@ -1980,6 +1986,9 @@ "unicorn/no-await-expression-member": [ "error" ], + "unicorn/no-await-in-promise-methods": [ + "error" + ], "unicorn/no-console-spaces": [ "error" ], @@ -1998,6 +2007,9 @@ "unicorn/no-instanceof-array": [ "error" ], + "unicorn/no-invalid-fetch-options": [ + "error" + ], "unicorn/no-invalid-remove-event-listener": [ "error" ], @@ -2007,9 +2019,15 @@ "unicorn/no-lonely-if": [ "error" ], + "unicorn/no-magic-array-flat-depth": [ + "error" + ], "unicorn/no-negated-condition": [ "error" ], + "unicorn/no-negation-in-equality-check": [ + "error" + ], "unicorn/no-nested-ternary": [ "off" ], @@ -2028,6 +2046,9 @@ "unicorn/no-process-exit": [ "error" ], + "unicorn/no-single-promise-in-promise-methods": [ + "error" + ], "unicorn/no-static-only-class": [ "error" ], @@ -2043,6 +2064,9 @@ "unicorn/no-unnecessary-await": [ "error" ], + "unicorn/no-unnecessary-polyfills": [ + "error" + ], "unicorn/no-unreadable-array-destructuring": [ "error" ], @@ -2196,6 +2220,9 @@ "unicorn/prefer-spread": [ "error" ], + "unicorn/prefer-string-raw": [ + "error" + ], "unicorn/prefer-string-replace-all": [ "off" ], @@ -2208,6 +2235,9 @@ "unicorn/prefer-string-trim-start-end": [ "error" ], + "unicorn/prefer-structured-clone": [ + "error" + ], "unicorn/prefer-switch": [ "error" ], diff --git a/common/build/eslint-config-fluid/printed-configs/recommended.json b/common/build/eslint-config-fluid/printed-configs/recommended.json index c42f683dbc7d..2837af65b1f2 100644 --- a/common/build/eslint-config-fluid/printed-configs/recommended.json +++ b/common/build/eslint-config-fluid/printed-configs/recommended.json @@ -1847,6 +1847,9 @@ "error" ], "unicorn/consistent-destructuring": [ + "off" + ], + "unicorn/consistent-empty-array-spread": [ "error" ], "unicorn/consistent-function-scoping": [ @@ -1888,6 +1891,9 @@ "unicorn/no-abusive-eslint-disable": [ "error" ], + "unicorn/no-anonymous-default-export": [ + "error" + ], "unicorn/no-array-callback-reference": [ "error" ], @@ -1906,6 +1912,9 @@ "unicorn/no-await-expression-member": [ "error" ], + "unicorn/no-await-in-promise-methods": [ + "error" + ], "unicorn/no-console-spaces": [ "error" ], @@ -1924,6 +1933,9 @@ "unicorn/no-instanceof-array": [ "error" ], + "unicorn/no-invalid-fetch-options": [ + "error" + ], "unicorn/no-invalid-remove-event-listener": [ "error" ], @@ -1933,9 +1945,15 @@ "unicorn/no-lonely-if": [ "error" ], + "unicorn/no-magic-array-flat-depth": [ + "error" + ], "unicorn/no-negated-condition": [ "error" ], + "unicorn/no-negation-in-equality-check": [ + "error" + ], "unicorn/no-nested-ternary": [ "off" ], @@ -1954,6 +1972,9 @@ "unicorn/no-process-exit": [ "error" ], + "unicorn/no-single-promise-in-promise-methods": [ + "error" + ], "unicorn/no-static-only-class": [ "error" ], @@ -1969,6 +1990,9 @@ "unicorn/no-unnecessary-await": [ "error" ], + "unicorn/no-unnecessary-polyfills": [ + "error" + ], "unicorn/no-unreadable-array-destructuring": [ "error" ], @@ -2122,6 +2146,9 @@ "unicorn/prefer-spread": [ "error" ], + "unicorn/prefer-string-raw": [ + "error" + ], "unicorn/prefer-string-replace-all": [ "off" ], @@ -2134,6 +2161,9 @@ "unicorn/prefer-string-trim-start-end": [ "error" ], + "unicorn/prefer-structured-clone": [ + "error" + ], "unicorn/prefer-switch": [ "error" ], diff --git a/common/build/eslint-config-fluid/printed-configs/strict-biome.json b/common/build/eslint-config-fluid/printed-configs/strict-biome.json index 403ac0a11557..7ca9393d87ff 100644 --- a/common/build/eslint-config-fluid/printed-configs/strict-biome.json +++ b/common/build/eslint-config-fluid/printed-configs/strict-biome.json @@ -2159,6 +2159,9 @@ "error" ], "unicorn/consistent-destructuring": [ + "off" + ], + "unicorn/consistent-empty-array-spread": [ "error" ], "unicorn/consistent-function-scoping": [ @@ -2200,6 +2203,9 @@ "unicorn/no-abusive-eslint-disable": [ "error" ], + "unicorn/no-anonymous-default-export": [ + "error" + ], "unicorn/no-array-callback-reference": [ "error" ], @@ -2218,6 +2224,9 @@ "unicorn/no-await-expression-member": [ "error" ], + "unicorn/no-await-in-promise-methods": [ + "error" + ], "unicorn/no-console-spaces": [ "error" ], @@ -2236,6 +2245,9 @@ "unicorn/no-instanceof-array": [ "off" ], + "unicorn/no-invalid-fetch-options": [ + "error" + ], "unicorn/no-invalid-remove-event-listener": [ "error" ], @@ -2245,9 +2257,15 @@ "unicorn/no-lonely-if": [ "error" ], + "unicorn/no-magic-array-flat-depth": [ + "error" + ], "unicorn/no-negated-condition": [ "error" ], + "unicorn/no-negation-in-equality-check": [ + "error" + ], "unicorn/no-nested-ternary": [ "off" ], @@ -2266,6 +2284,9 @@ "unicorn/no-process-exit": [ "error" ], + "unicorn/no-single-promise-in-promise-methods": [ + "error" + ], "unicorn/no-static-only-class": [ "off" ], @@ -2281,6 +2302,9 @@ "unicorn/no-unnecessary-await": [ "error" ], + "unicorn/no-unnecessary-polyfills": [ + "error" + ], "unicorn/no-unreadable-array-destructuring": [ "error" ], @@ -2434,6 +2458,9 @@ "unicorn/prefer-spread": [ "error" ], + "unicorn/prefer-string-raw": [ + "error" + ], "unicorn/prefer-string-replace-all": [ "off" ], @@ -2446,6 +2473,9 @@ "unicorn/prefer-string-trim-start-end": [ "error" ], + "unicorn/prefer-structured-clone": [ + "error" + ], "unicorn/prefer-switch": [ "error" ], diff --git a/common/build/eslint-config-fluid/printed-configs/strict.json b/common/build/eslint-config-fluid/printed-configs/strict.json index a73b22262417..3bfe6218eb6c 100644 --- a/common/build/eslint-config-fluid/printed-configs/strict.json +++ b/common/build/eslint-config-fluid/printed-configs/strict.json @@ -1886,6 +1886,9 @@ "error" ], "unicorn/consistent-destructuring": [ + "off" + ], + "unicorn/consistent-empty-array-spread": [ "error" ], "unicorn/consistent-function-scoping": [ @@ -1927,6 +1930,9 @@ "unicorn/no-abusive-eslint-disable": [ "error" ], + "unicorn/no-anonymous-default-export": [ + "error" + ], "unicorn/no-array-callback-reference": [ "error" ], @@ -1945,6 +1951,9 @@ "unicorn/no-await-expression-member": [ "error" ], + "unicorn/no-await-in-promise-methods": [ + "error" + ], "unicorn/no-console-spaces": [ "error" ], @@ -1963,6 +1972,9 @@ "unicorn/no-instanceof-array": [ "error" ], + "unicorn/no-invalid-fetch-options": [ + "error" + ], "unicorn/no-invalid-remove-event-listener": [ "error" ], @@ -1972,9 +1984,15 @@ "unicorn/no-lonely-if": [ "error" ], + "unicorn/no-magic-array-flat-depth": [ + "error" + ], "unicorn/no-negated-condition": [ "error" ], + "unicorn/no-negation-in-equality-check": [ + "error" + ], "unicorn/no-nested-ternary": [ "off" ], @@ -1993,6 +2011,9 @@ "unicorn/no-process-exit": [ "error" ], + "unicorn/no-single-promise-in-promise-methods": [ + "error" + ], "unicorn/no-static-only-class": [ "error" ], @@ -2008,6 +2029,9 @@ "unicorn/no-unnecessary-await": [ "error" ], + "unicorn/no-unnecessary-polyfills": [ + "error" + ], "unicorn/no-unreadable-array-destructuring": [ "error" ], @@ -2161,6 +2185,9 @@ "unicorn/prefer-spread": [ "error" ], + "unicorn/prefer-string-raw": [ + "error" + ], "unicorn/prefer-string-replace-all": [ "off" ], @@ -2173,6 +2200,9 @@ "unicorn/prefer-string-trim-start-end": [ "error" ], + "unicorn/prefer-structured-clone": [ + "error" + ], "unicorn/prefer-switch": [ "error" ], diff --git a/common/build/eslint-config-fluid/printed-configs/test.json b/common/build/eslint-config-fluid/printed-configs/test.json index 51019cca88bd..685618f8dba1 100644 --- a/common/build/eslint-config-fluid/printed-configs/test.json +++ b/common/build/eslint-config-fluid/printed-configs/test.json @@ -1843,6 +1843,9 @@ "error" ], "unicorn/consistent-destructuring": [ + "off" + ], + "unicorn/consistent-empty-array-spread": [ "error" ], "unicorn/consistent-function-scoping": [ @@ -1884,6 +1887,9 @@ "unicorn/no-abusive-eslint-disable": [ "error" ], + "unicorn/no-anonymous-default-export": [ + "error" + ], "unicorn/no-array-callback-reference": [ "error" ], @@ -1902,6 +1908,9 @@ "unicorn/no-await-expression-member": [ "error" ], + "unicorn/no-await-in-promise-methods": [ + "error" + ], "unicorn/no-console-spaces": [ "error" ], @@ -1920,6 +1929,9 @@ "unicorn/no-instanceof-array": [ "error" ], + "unicorn/no-invalid-fetch-options": [ + "error" + ], "unicorn/no-invalid-remove-event-listener": [ "error" ], @@ -1929,9 +1941,15 @@ "unicorn/no-lonely-if": [ "error" ], + "unicorn/no-magic-array-flat-depth": [ + "error" + ], "unicorn/no-negated-condition": [ "error" ], + "unicorn/no-negation-in-equality-check": [ + "error" + ], "unicorn/no-nested-ternary": [ "off" ], @@ -1950,6 +1968,9 @@ "unicorn/no-process-exit": [ "error" ], + "unicorn/no-single-promise-in-promise-methods": [ + "error" + ], "unicorn/no-static-only-class": [ "error" ], @@ -1965,6 +1986,9 @@ "unicorn/no-unnecessary-await": [ "error" ], + "unicorn/no-unnecessary-polyfills": [ + "error" + ], "unicorn/no-unreadable-array-destructuring": [ "error" ], @@ -2118,6 +2142,9 @@ "unicorn/prefer-spread": [ "error" ], + "unicorn/prefer-string-raw": [ + "error" + ], "unicorn/prefer-string-replace-all": [ "off" ], @@ -2130,6 +2157,9 @@ "unicorn/prefer-string-trim-start-end": [ "error" ], + "unicorn/prefer-structured-clone": [ + "error" + ], "unicorn/prefer-switch": [ "error" ],