Skip to content

Commit

Permalink
fix: Avoid icons imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Aug 5, 2024
1 parent 1db3860 commit 06ec38c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/eslint-config-vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@ module.exports = {
'vue/multi-word-component-names': 'off',
'vue/require-default-prop': 'off',
'vue/no-v-html': 'off',
'vue/custom-event-name-casing': ['error', 'camelCase']
'vue/custom-event-name-casing': ['error', 'camelCase'],
"no-restricted-imports": [
"error",
{
"patterns": [
{
"group": ["~icons/*"],
"message": "No need to import icons directly, they are auto-imported"
}
]
}
]
}
},
overrides: [
{
Expand Down

0 comments on commit 06ec38c

Please sign in to comment.