UNPKG

eslint-plugin-fsd-arch-validator

Version:

Validate whether module imports within your project meet the requirements of FSD architecture

7 lines (6 loc) 152 B
function isPathRelative(path) { return path === '.' || path.startsWith('./') || path.startsWith('../'); } module.exports = { isPathRelative }