mirror of
https://github.com/sdras/awesome-actions.git
synced 2026-07-17 12:02:24 -05:00
[PR #169] [MERGED] Add run-node-formatter #202
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sdras/awesome-actions/pull/169
Author: @MarvinJWendt
Created: 9/7/2019
Status: ✅ Merged
Merged: 9/7/2019
Merged by: @gep13
Base:
master← Head:patch-1📝 Commits (2)
2cf519fAdd run-node-formatter102564cChange NodeJS to Node.js📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
run-node-formatter is an action that automatically formats NodeJS code with the currently installed formatter.
Official readme:
Node Code Formatter
Usage ✏️
formatter.ymlfile in.github/workflows/Setup formatter scripts 📋
Simply put your code formatter into a script named
formatorlintin yourpackage.json(Yarn only supports aformatscript at the moment).Make sure that your code formatter is a dependency of your module!
StandardJS
Prettier
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.