import antfu from '@antfu/eslint-config' import harlanzw from 'eslint-plugin-harlanzw' export default antfu( { rules: { 'no-use-before-define': 'off', 'ts/ban-ts-comment': 'off', }, }, { ignores: [ 'examples/*', '**/*.md', // node benchmark harnesses: run standalone with --expose-gc, so they import // built dist, use process/console, and top-level await by design 'bench/**/*.mjs', ], }, ...harlanzw(), { files: ['**/*.bench.ts'], rules: { // Vitest 5 exposes bench.compare() as a fixture, not a test declaration. 'test/consistent-test-it': 'off', }, }, { rules: { 'harlanzw/vue-no-faux-composables': 'off', }, }, { files: ['**/test/**/*.ts'], rules: { 'harlanzw/vue-no-nested-reactivity': 'off', }, }, )