To understand infrastructure requirements applications are encouraged to consult the book Infrastructure software projects. Agreement, idioms, and patterns for reusable libraries .NET ( CD-ROM).
It is recommended to read the book Infrastructure software projects: conventions, idioms and patterns for reusable libraries .NET, which describes best practices, including coding and architectural highlights. In .NET Open Source projects platform Flexberry set of agreements is realized through the mechanism of “rule Sets” which is present in Microsoft Visual Studio by following the above tips IDE allows you to develop applications with clear and understandable program code.
Static code analyzers
StyleCop is a static analyzer C# code for compliance with the style.
- Install NuGet package StyleCop.Analyzers
- In the project properties, in the tab
Code Analysisto select rules in the drop-down list
Run this rule set.
With list of rules, which are used in the projects of the platform Flexberry can be found on GitHub-e.
- Install npm package ember-cli-eslint
- At the root of the project create and configure file
.eslintrc.js, an example implementation is contained in the draft ember-flexberry.
- In project root create a file
.eslintignore- need to add the files and the directory should not be checked ESLint-Ohm. An example implementation is contained in the draft ember-flexberry.
More information can be found on the official website ESLint