Skip to content

Commit

Permalink
chore: setup eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 12, 2024
1 parent a94bdd6 commit 8c581c0
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/external

dist
lib
tests

*.js
10 changes: 10 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root: true

env:
node: true

globals:
NodeJS: true

extends:
- '@cordisjs/eslint-config'
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,17 @@ jobs:
yarn build examples/node-hybrid
yarn build examples/node-next
yarn build examples/wildcard
git status
lint:
runs-on: ubuntu-latest

steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
- name: Install
run: yarn --no-immutable
- name: Lint
run: yarn lint

0 comments on commit 8c581c0

Please sign in to comment.