Skip to content
code

GitHub Action

TSLint checks

v1.1.4 Latest version

TSLint checks

code

TSLint checks

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

Installation

Copy and paste the following snippet into your .yml file.

              

- name: TSLint checks

uses: mooyoul/tslint-actions@v1.1.4

Learn more about this action in mooyoul/tslint-actions

Choose a version

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/tslint-actions@v1.1.1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          pattern: '*.ts'

License

MIT

See full license on mooyoul.mit-license.org