mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 22:12:24 +03:00
e784dc8a98
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()`.
7 lines
103 B
JavaScript
7 lines
103 B
JavaScript
module.exports = {
|
|
extends: ['./.eslintrc.cjs'],
|
|
rules: {
|
|
'no-console': 'error',
|
|
},
|
|
};
|