Skip to content

fix codestyle basedon eslint #8

fix codestyle basedon eslint

fix codestyle basedon eslint #8

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
permissions:
checks: write
contents: write
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run linters
run: |
./node_modules/.bin/eslint --ext .js,.vue src --fix
- uses: EndBug/add-and-commit@v9
with:
author_name: Lint Bot
message: 'Run linters'