mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
21 lines
483 B
JavaScript
21 lines
483 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['@storybook/eslint-config-storybook', 'plugin:storybook/recommended'],
|
|
rules: {
|
|
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
'jest/no-standalone-expect': [
|
|
'error',
|
|
{ additionalTestBlockFunctions: ['it.skipWindows', 'it.onWindows'] },
|
|
],
|
|
'no-use-before-define': 'off',
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['*.mjs'],
|
|
rules: {
|
|
'import/extensions': ['error', 'always'],
|
|
},
|
|
},
|
|
],
|
|
};
|