/
githubmirror
/
vuetify
Обзор
Документация
Войти
/
githubmirror
/
vuetify
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
scripts/rules/no-components-index.js
11 строк
243 B
Joaquín Sánchez
chore: move repo to ESM (#21105)
19 мар 2025, 09:34
Не верифицирован
19 мар 2025, 09:34
d822282
Код
Авторство
О чём код?
export default { create (context) { return { ImportDeclaration (node) { if (node.source.value === '@/components') { context.report(node.source, 'Do not import from "@/components"') } }, } }, }