Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tasiov committed Nov 27, 2023
1 parent 54f75f6 commit da66317
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .eslintrc.js

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v3
- name: Use Bun
uses: oven-sh/setup-bun@v1
with:
node-version: '18.x'
bun-version: '1.0.12'

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -33,11 +33,11 @@ jobs:
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Run npm install
run: npm install
- name: Run bun install
run: bun install

- name: Run codegen
run: npm run codegen
run: bun run codegen

- name: Check schema changes
run: |
Expand All @@ -49,13 +49,13 @@ jobs:
fi
- name: Run lint
run: npm run lint
run: bun run lint

- name: Run build
run: npm run build
run: bun run build

- name: Run unit-tests
run: npm run test:unit
run: bun run test:unit

coverage:
name: Coverage
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"scripts": {
"codegen": "./scripts/schema.sh",
"lint": "cargo clippy --all-targets -- -D warnings && eslint .",
"lint": "cargo clippy --all-targets -- -D warnings",
"wasm": "cargo build --release --lib --target wasm32-unknown-unknown",
"build": "bun run wasm && tsc -p ./tsconfig.json",
"optimize": "./scripts/optimize.sh",
Expand All @@ -19,10 +19,6 @@
},
"dependencies": {
"lodash": "^4.17.21",
"typescript": "5.1.6",
"eslint": "^8.48.0"
},
"devDependencies": {
"@uju-labs/eslint-config-custom": "workspace:*"
"typescript": "5.1.6"
}
}

0 comments on commit da66317

Please sign in to comment.