twenty/packages/twenty-front/.eslintrc-ci.cjs
Thaïs e784dc8a98
chore: enable no-console eslint rule for tests and stories (#4816)
Re-enables no-console eslint rule in stories and tests files:
- In stories, use `action` from '@storybook/addon-actions' or `fn` from
'@storybook/test' instead of console.
- In tests, console methods can be mocked like this:
`global.console.error = jest.fn()`.
2024-04-04 18:36:39 +02:00

7 lines
103 B
JavaScript

module.exports = {
extends: ['./.eslintrc.cjs'],
rules: {
'no-console': 'error',
},
};