Skip to content

Commit 299c2cd

Browse files
committed
fix: disable some e18e rules
1 parent a1e7fa4 commit 299c2cd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/configs/e18e.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ export async function e18e(options: OptionsE18e & OptionsProjectType & OptionsIs
2727
...moduleReplacements ? { ...configs.moduleReplacements!.rules } : {},
2828
...performanceImprovements ? { ...configs.performanceImprovements!.rules } : {},
2929

30-
// these are a bit opinionated and dangerous, so we'll disable them for now
30+
// these are a bit opinionated and dangerous (introducing behavioral changes), so we'll disable them by default for now
31+
'e18e/prefer-array-at': 'off',
32+
'e18e/prefer-array-from-map': 'off',
3133
'e18e/prefer-array-to-reversed': 'off',
3234
'e18e/prefer-array-to-sorted': 'off',
3335
'e18e/prefer-array-to-spliced': 'off',

0 commit comments

Comments
 (0)