Skip to content

Commit

Permalink
chore: support ESM/CJS builds and bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashroch committed Jan 18, 2025
1 parent 6a24313 commit a2f247d
Show file tree
Hide file tree
Showing 9 changed files with 2,810 additions and 1,553 deletions.
21 changes: 0 additions & 21 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- name: Repository checkout
Expand Down
4 changes: 2 additions & 2 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
printWidth: 100,
singleQuote: true
};
singleQuote: true,
};
15 changes: 15 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
eslintPluginPrettierRecommended,
{
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-unused-vars': ['warn', { ignoreRestSiblings: true }],
},
},
);
Loading

0 comments on commit a2f247d

Please sign in to comment.