dependency-cruiser-fork
Version:
Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
13 lines (12 loc) • 323 B
JavaScript
module.exports = {
name: "no-circular",
comment:
"This dependency is part of a circular relationship. You might want to revise " +
"your solution (i.e. use dependency inversion, make sure the modules have a " +
"single responsibility) ",
severity: "error",
from: {},
to: {
circular: true,
},
};