Skip to content

Commit

Permalink
feat(githubActions): add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Aug 11, 2023
1 parent f832404 commit b6e1290
Show file tree
Hide file tree
Showing 4 changed files with 809 additions and 585 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"env": {
"browser": true
},
"extends": ["airbnb-base", "eslint:recommended", "plugin:react/recommended"]
}
17 changes: 17 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint

on:
push:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
- run: npm i
- name: lint
run: npm run lint

Loading

0 comments on commit b6e1290

Please sign in to comment.