@wise/eslint-config
Version:
A modular ESLint config used at Wise.
21 lines (20 loc) • 569 B
JavaScript
import cypress from 'eslint-plugin-cypress/flat';
import { defineConfig } from './_defineConfig.js';
export default defineConfig([
cypress.configs.recommended,
{
rules: {
curly: 'warn',
},
},
{
files: ['cypress/**/*.@(js|ts)'],
rules: {
'jest/expect-expect': 'off',
'jest/valid-expect-in-promise': 'off',
'jest/valid-expect': 'off',
'testing-library/prefer-screen-queries': 'off',
'testing-library/await-async-queries': 'off',
},
},
]);