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

Fix language stats for the repo #1074

Closed
wants to merge 1 commit into from
Closed

Conversation

sgammon
Copy link
Member

@sgammon sgammon commented Jul 11, 2024

Ready for review Powered by Pull Request Badge

Related to #1073

Update .gitattributes to improve language stats detection for Java, JavaScript, and Rust files.

  • JavaScript Files:
    • Remove the -linguist-detectable attribute from *.js and *.mjs files.
  • Java Files:
    • Update **/package-info.java to be linguist-detectable.
  • Rust Files:
    • Add the linguist-detectable attribute to *.rs files.

For more details, open the Copilot Workspace session.

Comment on lines +1 to +2
/*.js
/*.mjs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might need to filter by directory to avoid including generated files (e.g from docs and other distributions that are checked into git)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i actually specifically asked it to remove js as a language but oh well

@sgammon sgammon closed this Jul 11, 2024
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