Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moneyforward/eslint-action
Analyze code statically using ESLint in Github actions
https://github.com/moneyforward/eslint-action
actions code-review eslint github
Last synced: about 1 month ago
JSON representation
Analyze code statically using ESLint in Github actions
- Host: GitHub
- URL: https://github.com/moneyforward/eslint-action
- Owner: moneyforward
- License: mit
- Archived: true
- Created: 2020-04-28T04:37:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:18:21.000Z (almost 2 years ago)
- Last Synced: 2024-03-14T22:15:15.610Z (8 months ago)
- Topics: actions, code-review, eslint, github
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/code-review-using-eslint
- Size: 981 KB
- Stars: 4
- Watchers: 143
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Code review using ESLint
Analyze code statically by using [ESLint](https://eslint.org/) in Github actions
## Inputs
### `files`
Specify patterns by glob
(Multiple patterns can be specified by separating them with line feed)
### `options`
Changes `eslint` command line options.
Specify the options in JSON array format.
e.g.: `'["--ext", ".js", "--ext", ".ts"]'`### `working_directory`
Changes the current working directory of the Node.js process
### `reporter_type_notation`
Change the reporter.
(Multiple can be specified separated by commas)
## Example usage
```yaml
name: Analyze code statically
"on": pull_request
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Analyze code statically using ESLint
uses: moneyforward/eslint-action@v0
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/moneyforward/eslint-action## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).