Skip to content

Update codeLintGlobal.yml #7

Update codeLintGlobal.yml

Update codeLintGlobal.yml #7

Workflow file for this run

name : 'Pretty Auto Form'
on:
push:
branches:
- test-lint
pull_request:
branches:
- test-lint
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 14
# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm i prettier
- name: Run linters
uses: wearerequired/lint-action@v2
with:
prettier: true
auto_fix: true
prettier_auto_fix: true
prettier_args: "--trailing-comma es5"
prettier_extensions: css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml
git_email: [email protected]
git_name: 'JeedomBot lint Pretty'