GithubHelp home page GithubHelp logo

actionsx / prettier Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 12.0 11.87 MB

๐Ÿ”จ Native, blazingly-fast Prettier CLI on Github Actions

License: MIT License

JavaScript 100.00%
ci ci-cd continuous-integration continuous-testing github-actions github-workflow prettier

prettier's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

prettier's Issues

Add comparison to other prettier actions

Specifically creyD/prettier_action. As far as I can tell the main difference is using JS and not docker/shell. Yours runs faster but his seems to be more full-featured. I think that adding a comparison to your readme would be worthwhile to show your advantages/disadvantages.

prettier ignoring prettierrc

No error running local, but running on Actions it will return an error:

.prettierrc.json:

{
  "printWidth": 120
}

Action

jobs:
  prettier:
    name: prettier
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Prettier Check
        uses: actionsx/prettier@v2
        with:
          args: --check "**/*.{js,jsx,ts,tsx}"

Globs are somewhat broken

So apparently this works:

--parser json-stringify --write "myfolder/intl_*.arb"

and this doesn't:

--parser json-stringify --write "myfolder/*.arb"

I can only imagine that /* is somehow parsed as a comment in javascript...

Error message:

Error: No files matching the pattern were found: "[object Object]".

update v3 series to 3.0.3

there are very minor differences between 3.0.0 and 3.0.3. I use this action which is preventing me from bumping to 3.0.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.