Skip to content

Commit

Permalink
Chore/dev setup (#3)
Browse files Browse the repository at this point in the history
* chore: add linting

* chore: run checks
  • Loading branch information
jkoenig134 authored Nov 17, 2023
1 parent 4c68a8c commit 94a7d41
Show file tree
Hide file tree
Showing 5 changed files with 2,331 additions and 23 deletions.
8 changes: 8 additions & 0 deletions .ci/runChecks.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set -e
set -x

npm ci
npm run lint:prettier
npm run lint:eslint
npx license-check
npm audit
10 changes: 10 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ignorePatterns": ["/*", "!/src"],
"extends": ["@js-soft/ts"],
"parserOptions": {
"project": ["./tsconfig.json", "./test/tsconfig.json"]
},
"rules": {
"no-console": "off"
}
}
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test

on:
push:
branches-ignore:
- main

jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: bash .ci/runChecks.sh
Loading

0 comments on commit 94a7d41

Please sign in to comment.