Analyze code statically by using stylelint in Github actions
Specify patterns by glob
(Multiple patterns can be specified by separating them with line feed)
Changes stylelint
command line options.
Specify the options in JSON array format.
e.g.: '["-s", "css"]'
Changes the current working directory of the Node.js process
Change the reporter.
(Multiple can be specified separated by commas)
name: Analyze code statically
"on": pull_request
jobs:
stylelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Analyze code statically using stylelint
uses: moneyforward/stylelint-action@v0
Bug reports and pull requests are welcome on GitHub at https://github.com/moneyforward/stylelint-action
The gem is available as open source under the terms of the MIT License.