Skip to content

Commit

Permalink
Merge pull request #22 from 403-html/minor/adding-eslint
Browse files Browse the repository at this point in the history
chore: adding eslint config with workflow
  • Loading branch information
403-html authored Jan 30, 2022
2 parents d405a45 + 586a597 commit ce40bed
Show file tree
Hide file tree
Showing 4 changed files with 2,431 additions and 17 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
env:
node: true
commonjs: true
es2021: true
extends:
- eslint:recommended
# - plugin:@typescript-eslint/recommended
# parser: '@typescript-eslint/parser'
# parserOptions:
# ecmaVersion: latest
# plugins:
# - '@typescript-eslint'
rules: {}
16 changes: 16 additions & 0 deletions .github/workflows/eslint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: ESlint Check
on:
push:
pull_request:
branches:
- main

jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install packages, using npm
run: npm install
- name: lint run
run: npm run eslint
Loading

0 comments on commit ce40bed

Please sign in to comment.