exclude storybook components from restricted globals rule

This commit is contained in:
Hazelnoot 2025-04-02 10:42:04 -04:00
parent f9c1535147
commit 33b9f998da
2 changed files with 12 additions and 0 deletions

View file

@ -164,6 +164,12 @@ export default [
'vue/attribute-hyphenation': ['error', 'never'], 'vue/attribute-hyphenation': ['error', 'never'],
}, },
}, },
{
files: ['src/**/*.stories.ts'],
rules: {
'no-restricted-globals': 'off',
}
},
{ {
ignores: [ ignores: [
"**/lib/", "**/lib/",

View file

@ -44,4 +44,10 @@ export default [
'no-param-reassign': 'off', 'no-param-reassign': 'off',
}, },
}, },
{
files: ['src/**/*.stories.ts'],
rules: {
'no-restricted-globals': 'off',
}
},
]; ];