forked from mattwells19/UNCC-Six-Mans.js
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 977 Bytes
/
LintCode.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Lint Project Files
on:
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
lint:
name: Lint NormJS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16.6.0
- name: Install dependencies
run: npm install
- name: Run Eslint
uses: wearerequired/lint-action@v1
with:
eslint: true
eslint_args: "--max-warnings 0"
eslint_extensions: ts
prettier: true
prettier_extensions: ts
continue_on_error: false
check_name: "${linter} ${dir}"