mirror of
https://gh.wpcy.net/https://github.com/syntatis/kubrick.git
synced 2026-04-25 21:46:28 +08:00
30 lines
530 B
JavaScript
30 lines
530 B
JavaScript
import config from '@syntatis/eslint-config';
|
|
import storybook from 'eslint-plugin-storybook';
|
|
|
|
export default [
|
|
{
|
|
ignores: [
|
|
'**/coverage',
|
|
'**/dist',
|
|
'**/node_modules',
|
|
'**/storybook-static',
|
|
'**/temp',
|
|
'**/tmp',
|
|
'**/wordpress',
|
|
'!**/.storybook',
|
|
],
|
|
},
|
|
...config,
|
|
...storybook.configs['flat/recommended'],
|
|
{
|
|
files: [
|
|
'**/*.stories.tsx',
|
|
'.storybook/main.ts',
|
|
'.storybook/preview.{ts,tsx}',
|
|
'.storybook/theme.ts',
|
|
],
|
|
rules: {
|
|
'import-x/no-default-export': 'off',
|
|
},
|
|
},
|
|
];
|