Skip to content

GitHub action that lints your code with TSLint (with Annotation support)

License

Notifications You must be signed in to change notification settings

mooyoul/tslint-actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

tslint-actions

Build Status Semantic Release enabled Renovate enabled MIT license

GitHub action that lints your code with TSLint (with Annotation support)

Example

Sample Outputs

Please see PR #2, or Check Run Result

Sample Github Actions Configuration

name: workflow
on: [push]
jobs:
  job:
    runs-on: ubuntu-latest
    timeout-minutes: 3
    steps:
      - uses: actions/checkout@v1
      - name: Prepare
        run: npm ci
      - name: Lint
        uses: mooyoul/[email protected]
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          pattern: '*.ts'

License

MIT

See full license on mooyoul.mit-license.org