1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 12:14:18 +00:00

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',
}
},
]; ];