All Projects → tinovyatkin → action-eslint

tinovyatkin / action-eslint

Licence: MIT license
GitHub Action to run ESLint on files changed in current PR

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to action-eslint

ts-nextjs-tailwind-starter
🔋 Next.js + Tailwind CSS + TypeScript starter packed with useful development features
Stars: ✭ 880 (+1900%)
Mutual labels:  eslint, github-actions
action-eslint-fix
GitHub Action to run `eslint` with `--fix` option and commit fixes
Stars: ✭ 20 (-54.55%)
Mutual labels:  eslint, github-actions
awesome-address-book
This project shows a basic address book built with ReactJS, Redux Toolkit and Typescript 📖
Stars: ✭ 20 (-54.55%)
Mutual labels:  eslint, github-actions
typescript-api-starter
🔰 Starter for Node.js express API in Typescript 🚀
Stars: ✭ 72 (+63.64%)
Mutual labels:  eslint, github-actions
nest-boilerplate
Nest.js boilerplate with CircleCI, Commitizen, Commitlint, Docker-Compose, ESLint, GitHub Actions, Husky, Lint-staged, OpenAPI, Prettier, PostGreSQL, Travis CI, TypeORM
Stars: ✭ 16 (-63.64%)
Mutual labels:  eslint, github-actions
mojito-admin-starter
此项目主要为了演示如何自动化 Fullstack project 的 Infrastructure。
Stars: ✭ 17 (-61.36%)
Mutual labels:  github-actions
gameplate
🎮 Boilerplate for creating game with WebGL & Redux 🎲
Stars: ✭ 39 (-11.36%)
Mutual labels:  eslint
setup-just
🤖 GitHub Action to install the just command runner
Stars: ✭ 21 (-52.27%)
Mutual labels:  github-actions
mylib
Шаблон кросплатформенного CMake-проекта для языка C++ 🇬🇧 Modern CMake crossplatform project template for C++
Stars: ✭ 49 (+11.36%)
Mutual labels:  github-actions
goodfirstissues
A website that targets developers who want to contribute to open source software but do not know where or how to start.
Stars: ✭ 59 (+34.09%)
Mutual labels:  github-actions
discord-action
GitHub Action that sends a Discord message.
Stars: ✭ 66 (+50%)
Mutual labels:  github-actions
eslint-plugin-rulesdir
An ESLint plugin to load project-specific ESLint rules
Stars: ✭ 28 (-36.36%)
Mutual labels:  eslint
vite-plugin-eslint
Plugs ESLint into Vite dev server
Stars: ✭ 55 (+25%)
Mutual labels:  eslint
phpstan-ga
GithubAction for PHPStan
Stars: ✭ 85 (+93.18%)
Mutual labels:  github-actions
flatpak-github-actions
Build your Flatpak application using Github Actions
Stars: ✭ 73 (+65.91%)
Mutual labels:  github-actions
ghaction-chocolatey
GitHub Action for Chocolatey, the package manager for Windows
Stars: ✭ 58 (+31.82%)
Mutual labels:  github-actions
gitactionboard
GitactionBoard - Ultimate Dashboard for GithubActions.
Stars: ✭ 30 (-31.82%)
Mutual labels:  github-actions
corona-kakao-bot
🤖 카카오톡 코로나 알리미
Stars: ✭ 17 (-61.36%)
Mutual labels:  github-actions
ssh-action
🖥 github ssh action
Stars: ✭ 122 (+177.27%)
Mutual labels:  github-actions
start-here
You should open this repo first
Stars: ✭ 86 (+95.45%)
Mutual labels:  github-actions

Lint changed Pull Request files with ESLint from GitHub Action

Using this GitHub Action, scan files changed in current Pull Request with inline code annotations:

Note: node_modules/ needs to be committed per Github action docs.

Usage

The workflow, usually declared in .github/workflows/lint.yml, looks like:

name: Lint

on: pull_request

jobs:
  eslint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
        with:
          fetch-depth: 1
      - uses: actions/setup-node@v1
        with:
          node-version: 12
      - run: rm -f .yarnclean
      - run: yarn --frozen-lockfile --ignore-engines --ignore-optional --no-bin-links --non-interactive --silent --ignore-scripts --production=false
        env:
          PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
          HUSKY_SKIP_INSTALL: true
      # Alternative: if you use npm instead of yarn
      # - run: npm ci --no-audit --prefer-offline
      - uses: tinovyatkin/action-eslint@v1
        with:
          repo-token: ${{secrets.GITHUB_TOKEN}}
          check-name: eslint # this is the check name from above 👆 where to post annotations

License

All scripts and documentation in this project are released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].