Skip to content

Allow generation of suffix-free file and symbol names #16811

Closed
@mgechev

Description

@mgechev

🚀 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

A clear and concise description of the problem or missing capability...

During style guide meetings we discussed that although recommended for most projects, suffixes in names of components, directives, and services in particular could be redundant for some projects.

We'd not change the official style guide recommendation, but we'd want to enable folks with advanced use cases to drop the suffixes when needed.

Describe the solution you'd like

If you have a solution in mind, please describe it.

This proposal is for a global CLI flag per project which disables the current default behavior. When this flag is enabled it'll not suffix any of the generated files, nor the declared symbols inside of them.

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

Drop suffixes completely, which is bad for most projects.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions