Skip to content

Add GitHub action to check code style #114

@marcoieni

Description

@marcoieni

Problem

Checking code style manually on pull requests (or even before pushing) is boring.

Some code style rules examples:

  • markdown file shall not contain tabs
  • package.json should be indented with tabs. This is enforced by npm install (i.e. running npm install will fix the format of package.json). See this comment.
  • other rules on src/ directory and so on..

Solution

We should find a way to specify these rules and they should be checked on every push and pull request with a GitHub action.

I am sure that there is some javascript/typescript related action that checks package.json and other relate code style rules out there.
Does anyone have any experience on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions