feat: add check-path-alias custom ESLint rule (#123)

This commit is contained in:
doprz
2024-03-02 12:04:36 -06:00
parent 6ba8b68654
commit 208103d708
7 changed files with 65 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ module.exports = {
if (importPath.startsWith('../../')) {
context.report({
node,
message: 'Importing files more than 2 directories up is not allowed.',
message: 'Importing files more than 2 directories up is not allowed',
});
}
},