question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

filename convention in the repo: '-' or '_' ?

See original GitHub issue

I find some file in this repo named using ‘-’, like angular/packages/bazel/src/ng_package/collect-type-definitions.bzl, and in the same folder I find another style using ‘_’, like angular/packages/bazel/src/ng_package/ng_package.bzl.

I think those Naming conventions should be unified, right ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tailgocommented, Jun 13, 2020

When it comes to public API surface our conventions are clear:

  • we use - as the file name separator for all public JavaScript/TypeScript paths and filenames
  • we use _ for all the public bazel symbols (rules) and paths

In the source code of our packages (private paths, filenames) we however mix up the two and I agree that we should fix that.

Thanks. And I want to know that which one convention would be chosen.

0reactions
angular-automatic-lock-bot[bot]commented, Mar 11, 2022

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bartvandebiezen/file-name-conventions - GitHub
File Name Conventions. A collection of guidelines for writing file names used in web projects. Possible characters. Use dashes as delimiters.
Read more >
Is there a naming convention for git repositories?
@AdrianM my point is: yes, a naming convention is useful, but it has nothing to do with Git or GitHub, and everything with...
Read more >
File Name Recommendations - DataShare: ISU's Open ...
You can combine elements as needed in to create a file naming convention that you can deploy during the entire project.
Read more >
File Naming Conventions | Data Management
A file naming convention is a framework for naming your files in a way that describes what they contain and how they relate...
Read more >
File naming conventions - Digital Projects for Fondren Library
From a project management perspective, the file naming convention is an important consideration in planning the digital creation process.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found