Make possible to have files of Code Rules shared amongst NDepend Projects
Make possible to have files of Code Rules shared amongst NDepend Projects
We just released NDepend v6 that now make possible to have files of Code Rules shared among NDepend Projects.
http://www.ndepend.com/ndepend-v6
You can now create your quality profiles in rule files and shared them among all your enterprise projects.
You can download v6 Release Candidate 1 to try it.
Your feedback at support@ndepend.com will be more than welcome.
You can also re-use your NDepend UserVoice votes for further feature request!
-
Rob Smyth, god news it is already available in current v6.3 http://www.ndepend.com/ndepend-v6#RuleFiles
-
Rob Smyth commented
Very important for me.
-
So far we plan that a NDepend project can reference zero, one or several rule files, and a rule file can contains zero, one or several CQLinq rules source code, store in XML CData sections, A rule file referenced by a project can be activated or not.
Hopefully this will make all scenarios possible.
-
Bryan Anderson commented
The way this is done is going to be very important. Right now all the rules are stored in the ndproj file. This makes it really difficult to deal with rules in source control. Changes, additions, and deletions make merges really tough.
Ideally rules would be one per file, they'd all be referenced from the same folder or set of folders (stored in the ndproj), the ndproj file would list exclusions from the folder, and the default rules would be posted on GitHub or a similar site so we could issue pull requests for bug fixes and manage our own forks to maintain internal rule sets while still getting all of the new rule features/fixes.