Skip to content

Commit

Permalink
fix: update eslint and fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Aug 19, 2024
1 parent cce749b commit c2dfbc2
Show file tree
Hide file tree
Showing 18 changed files with 895 additions and 46 deletions.
25 changes: 0 additions & 25 deletions .eslintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Run lint
run: npm run lint

- name: Run tests with coverage
run: npm run coverage

Expand Down
5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// @ts-check
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default [eslint.configs.recommended, ...tseslint.configs.recommended];
Loading

0 comments on commit c2dfbc2

Please sign in to comment.