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

Override EditorConfig settings for YAML files #6980

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Oct 11, 2023

Motivation and context

I realized that I was fighting my editor, because we indent YAML files with 2 spaces, but .editorconfig specifies 4 spaces for all files.

Align the config with reality.

How has this been tested?

I checked that the settings were applied correctly with the CLI editorconfig tool.

Checklist

  • I submit my changes into the develop branch
  • [ ] I have created a changelog fragment
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] I have linked related issues (see GitHub docs)
  • [ ] I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

I realized that I was fighting my editor, because we indent YAML files with
2 spaces, but `.editorconfig` specifies 4 spaces for all files.

Align the config with reality.
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Merging #6980 (69f291a) into develop (e699848) will decrease coverage by 0.02%.
Report is 13 commits behind head on develop.
The diff coverage is 90.00%.

@@             Coverage Diff             @@
##           develop    #6980      +/-   ##
===========================================
- Coverage    82.58%   82.57%   -0.02%     
===========================================
  Files          360      360              
  Lines        38914    38925      +11     
  Branches      3570     3570              
===========================================
+ Hits         32137    32142       +5     
- Misses        6777     6783       +6     
Components Coverage Δ
cvat-ui 77.59% <90.00%> (-0.01%) ⬇️
cvat-server 87.13% <ø> (-0.01%) ⬇️

@nmanovic nmanovic merged commit cf4329a into cvat-ai:develop Oct 11, 2023
33 checks passed
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Oct 25, 2023
I realized that I was fighting my editor, because we indent YAML files
with 2 spaces, but `.editorconfig` specifies 4 spaces for all files.
Align the config with reality.
@SpecLad SpecLad deleted the ec-yaml branch September 30, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants