Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add editorconfig file for setting coding style #770

Merged
merged 1 commit into from
Feb 8, 2021

Commits on Jan 30, 2021

  1. Add editorconfig file for setting coding style

    Editorconfig is a standard, supported by many popular editing tools, that helps set required editor settings automatically to support the project's coding style. It's not a linter / auto-formatter, it just sets a few basic options. Supported editors will pick up these settings specifically for the cloudlog source directory, not interfering with project or user settings in other locations.
    
    This config specifies UTF-8 encoding and LF line-endings for all project files, tabbed indentation for source and data files and finally final newlines and whitespace trimming just for source files. These are based on what I saw in https://github.com/magicbug/Cloudlog/wiki/Development-Notes and from the dominant formatting options in the existing source files. All open to changes, of course.
    
    If an editor is set up to perform reformatting of code automatically (e.g. on save or on paste) then these rules will influence that behaviour, but they will not cause an editor to reformat existing code on their own.
    poll-busily committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    32fa20a View commit details
    Browse the repository at this point in the history