Commit Graph
20 Commits
Author SHA1 Message Date
Nirmal GuruandSergio Pedri 41abf66445 Update EditorConfig and Git files
- Add default Git attributes.
- Update Git ignores to latest.
- Merge duplicate EditorConfig rules.
- Format projects to EditorConfig rules.
- Fix formatting errors in 'Guard.md' file.
2022-06-11 15:36:02 +02:00
Nirmal GuruandSergio Pedri 3adf6fb689 Remove BOM from all files
Renormalize new lines and remove BOM from all files
2022-06-11 15:36:02 +02:00
Nirmal GuruandGitHub ea1010575d Remove Cake Build (#94)
We no longer require Cake build nor we use it extensively!
Update Azure Pipelines (CI YAML) Script to be more modern and runnable across platforms.
Replaced the headers check with a PowerShell script mimicking the Cake script's `UpdateHeaders` task functionality.
2022-01-25 13:23:53 +01:00
Nirmal GuruandGitHub c5ab771da4 Fix linter issues with ReadMe (#84)
* Use an emoji for Contributors title

Emoji Used: Champion Cup
Aligns with the rest of the titles

Why Champion Cup you ask? Well, Contributors are champions too! 😎

* Don't use inline HTML in markdown

Always use markdown format if possible.
This format to represent image with a link is supported by most markdown parsers.

* Fix grammatical errors in markdown

These were reported by Spell Checker extension (by EWSoftware) in VS IDE.

* Use canonical language-agnostic URLs

Microsoft Docs provide language-specific content for docs published
to the website but in-order for devs in specific region to get locally
translated content, we need to put language-agnostic canonical URLs.

This is usually done by removing any language and region specific info from URLs.

Reported by Docs markdown linter in VSCode.
2022-01-17 17:26:29 +01:00
Nirmal Guru 62134065cd Fix CS8618 warnings
Code CS1591: Non-nullable field must contain a non-null value when exiting constructor.
2021-09-10 07:10:04 +05:30
Nirmal Guru 1293491813 Update UnitTests' EditorConfig
Add comments describing the nature of the warning.
2021-09-10 07:09:39 +05:30
Nirmal Guru c4fbb3ecd3 Replace the term 'Basic' in Package Titles
It was decided that the term 'Basic' is new and
has no established meaning in the software community.

So, Replacing the term 'Basic' with 'Common'. To disambiguate
multiple instances of 'Common', we use an already existing term
'Primitive' and we also append the Platform to which the package targets.
2021-07-20 21:45:23 +05:30
Nirmal Guru a2d56c7bdc Update Assembly/Package Titles
The package title doesn't follow a particular format and is not machine readable.
Thus, I propose the following format: "'Product' - 'Area' - 'Specifics' ('Source/Target')"
2021-07-20 21:45:18 +05:30
Nirmal Guru e6e4a221c3 Refactor Test project files
Remove redundant MSBuild logic
Consolidate common MSBuild logic
Reorder code-blocks for better readability
Fix-up comments and new-lines across project files

Improve support for Visual Studio 2022:
Since VS IDE 2022 (17.0) is 64-bit only, replace all 32-bit specific MSBuild properties with generic ones.
2021-07-20 21:45:10 +05:30
Nirmal Guru 39b8ce817f Refactor Core project files
Organize Package tags
Update Package descriptions
Remove redundant MSBuild logic
Consolidate common MSBuild logic
2021-07-20 21:45:09 +05:30
Nirmal Guru d52cc99280 Consolidate package versions
Update renamed files in the build logic
Use correct path format in the build logic
2021-06-04 21:00:29 +05:30
Nirmal Guru e6776530da Reorder code-blocks for better readability
To make diff understandable through blame and across similar project files,
I have re-organized some lines in these project files. This also improves
readability. Previously, the focus is per-project file but now—to maintain
project logic across repos and several similar logic across project files,
new way of authoring project files is required.

This refactor is the start of it.
2021-06-04 21:00:22 +05:30
Nirmal Guru 08d209dfb8 Fix-up comments across project files
Format comments to be legible.
 - Place comment start and end tags on a new line for multi-line comments.
 - Have space between start and end tags in a single line comment.

Place comments where appropriate.
 - If an entire block is common to the comment then place it above the block.
 - Only place a comment near or after the block, if it refers exclusively.

Sources are not formatted!
2021-06-04 21:00:21 +05:30
Nirmal Guru 35d785190b Fix-up white-spaces across project files
Add/Remove leading and trailing white-space (only in comments, code blocks, xml strings)
2021-06-04 21:00:20 +05:30
Nirmal Guru 4e90f97f06 Fix-up new-lines across project files
Add/Remove new-lines (only in project files, xml files and some source files)
2021-06-04 21:00:19 +05:30
Nirmal GuruandMichael Hawker MSFT (XAML Llama) d0f577f553 Revert Wrong formatting applied by .NET Tool
Both VS IDE Code Clean-up and dotnet-format applies this formatting.
Only Code labels and Code within pre-processor blocks are affected.

The reason may be that the indentation wasn't read/written properly
by the formatter within or around those code blocks.
2021-05-17 12:43:06 -07:00
Nirmal GuruandMichael Hawker MSFT (XAML Llama) f963491691 Wrong formatting applied by .NET Tool
Both VS IDE Code Clean-up and dotnet-format applies this formatting.
Only Code labels and Code within pre-processor blocks are affected.

The reason may be that the indentation wasn't read/written properly
by the formatter within or around those code blocks.

NOTE: We could ignore this commit but we keep it as a reference point
      for the VS C# Editor and .NET format team to diagnose this issue.
2021-05-17 12:43:06 -07:00
Nirmal GuruandMichael Hawker MSFT (XAML Llama) 1c2ef96077 Remove redundant xml meta-tag
XML files defaults to 'UTF-8' encoding.
Thus, the meta-tag is no longer needed!
2021-05-17 12:43:06 -07:00
Nirmal GuruandMichael Hawker MSFT (XAML Llama) 0ab624eaa9 Use Unicode charset without the BOM
Update and follow EditorConfig settings.
BOM: Byte Order Mark (Used to identify UTF-8 encoding).
We don't need BOM specified as the latest editors can work without it.
2021-05-17 12:43:06 -07:00
Nirmal GuruandMichael Hawker MSFT (XAML Llama) a661ee7522 Clean-up trailing white-spaces
Remove final new-lines
Remove trailing white-spaces
2021-05-17 12:43:06 -07:00