2022-07-23 17:15:13 +02:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
extends: ['@storybook/eslint-config-storybook', 'plugin:storybook/recommended'],
|
|
|
|
rules: {
|
2022-09-14 10:34:17 +02:00
|
|
|
'@typescript-eslint/ban-ts-comment': 'error',
|
2022-07-23 17:15:13 +02:00
|
|
|
'jest/no-standalone-expect': [
|
|
|
|
'error',
|
|
|
|
{ additionalTestBlockFunctions: ['it.skipWindows', 'it.onWindows'] },
|
|
|
|
],
|
|
|
|
'no-use-before-define': 'off',
|
2022-09-23 17:05:12 +02:00
|
|
|
'jest/expect-expect': [
|
|
|
|
'warn',
|
|
|
|
{
|
|
|
|
assertFunctionNames: ['expect', 'expectTypeOf'],
|
|
|
|
},
|
|
|
|
],
|
2022-07-23 17:15:13 +02:00
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ['*.mjs'],
|
|
|
|
rules: {
|
|
|
|
'import/extensions': ['error', 'always'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|