ipfs-shipyard / net-ipfs-core

MIT License
19 stars 7 forks source link

Add .editorconfig and fix issues #22

Closed erikmav closed 1 year ago

erikmav commented 1 year ago

For #9. The main style changes are to use a prefix '_' for private class fields and PascalCased for private static fields. The config also enforces use of private/internal scope specifiers, type aliases (e.g. 'int' over 'Int32'), consistent line endings for cacheability of source files in a canonical format, and braces around single-line statements. Other analyzer recommendations fixed in all files where possible.