Skip to content

Commit

Permalink
Merge pull request #33 from Grayray75/lint-action
Browse files Browse the repository at this point in the history
Create lint action
  • Loading branch information
Grayray75 authored Jul 21, 2023
2 parents 4fd8a4d + ff2e75f commit 4b2f163
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-unused-vars": 0
}
}
13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: lint

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npx eslint .

0 comments on commit 4b2f163

Please sign in to comment.