sverweij / dependency-cruiser

Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
https://npmjs.com/dependency-cruiser
MIT License
5.27k stars 250 forks source link

refactor(extract): reorganizes so it's easier to expand functionality #925

Closed sverweij closed 7 months ago

sverweij commented 7 months ago

Description, Motivation and Context

Unifying the 'per-parser' interfaces makes it more easy to add a new one/ or make it a plugin mechanism if necessary. Also, by setting up the interface we can introduce a mechanism to do other things with AST's, like providing information on the barelly-ness, LoC, NoS.

How Has This Been Tested?

Types of changes

Checklist

codeclimate[bot] commented 7 months ago

Code Climate has analyzed commit d2cb6900 and detected 0 issues on this pull request.

View more on Code Climate.