Open History to see the last commit
1// @ts-check
2β
3import vitest from '@vitest/eslint-plugin'
4import { defineConfig } from 'eslint/config'
5import rootConfig from './root.eslint.config.js'
6β
7export default defineConfig([
8 ...rootConfig,
9 {
10 plugins: { vitest },
11 rules: {
12 'vitest/expect-expect': [
13 'error',
14 { assertFunctionNames: ['expect', 'expectSignals'] },
15 ],
16 },
17 },
18 {
19 files: ['**/__tests__/**'],
20 rules: {
21 '@typescript-eslint/no-unnecessary-condition': 'off',
22 '@typescript-eslint/require-await': 'off',
23 },
24 },
25])