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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user