chore(eslint): add shared tests preset and relax no-console

A 'tests' preset exempts *.test/*.spec/*.bench files from the type-boundary rules
(no-explicit-any, no-unused-vars, no-new-array, no-extraneous-class); base now
allows intentional console.warn/error (stray console.log still flagged).
This commit is contained in:
2026-06-15 16:54:50 +07:00
parent eefd7abf83
commit d6c6a62557
4 changed files with 45 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
export { compose } from './compose';
/* Presets */
export { base, ignores, typescript, vue, vitest, imports, node, stylistic, regexp } from './presets';
export { base, ignores, typescript, vue, vitest, tests, imports, node, stylistic, regexp } from './presets';
/* Types */
export type {