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

feat(editorconfig): add support for additional languages and DRY refactor #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thomasvincent
Copy link
Owner

@thomasvincent thomasvincent commented Jun 4, 2024

Problem/Goal: The existing .editorconfig file had some redundancies and lacked support for additional programming languages and file types. The goal is to refactor the file to follow the DRY (Don't Repeat Yourself) principle, add support for more languages, and ensure consistent coding styles across various file types and projects.
Relevant Systems: This change impacts all projects and development environments that use the .editorconfig file for maintaining consistent coding styles.

Impact: By refactoring the .editorconfig file, we can improve maintainability, reduce redundancy, and ensure consistent coding styles across different programming languages and file types. This will enhance the overall quality and readability of the codebase.

Acceptance Criteria:

  • Refactor the .editorconfig file to follow DRY principles by consolidating common settings.
  • Add support for additional languages, including Rust and Clojure.
  • Set the default indent size to 4 spaces, with overrides for specific file types to use 2 spaces.
  • Configure shell scripts to use tab indentation.
  • Include settings for Markdown, Python, Java, PHP, Node.js, and Go files.
  • Ensure consistent coding styles across various file types and projects.

Related Issues/PRs: N/A
Branch Name Suggestion: feature/editorconfig-refactor
Additional Notes:
Refer to the EditorConfig documentation (https://editorconfig.org/) for best practices and guidelines.
Test the refactored .editorconfig file with various file types and editors to ensure compatibility and correct behavior.
Consider adding more language-specific configurations as needed in the future.

…ctor

- Refactored .editorconfig to follow DRY principles by consolidating common settings.
- Added support for additional languages including Rust and Clojure.
- Set default indent size to 4 spaces, with overrides for specific file types to 2 spaces.
- Configured shell scripts to use tab indentation.
- Included settings for Markdown, Python, Java, PHP, Node.js, and Go files.
- Ensured consistent coding styles across various file types and projects.

Signed-off-by: Thomas Vincent <[email protected]>
@thomasvincent thomasvincent self-assigned this Jun 4, 2024
@thomasvincent thomasvincent changed the title feat(editorconfig): add support for additional languages and DRY refa… feat(editorconfig): add support for additional languages and DRY refactor Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant