feat: add check-path-alias custom ESLint rule (#123)
This commit is contained in:
@@ -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',
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user