Skip to content

Commit

Permalink
fix(package): upgrade packages and address secuirty vulnerabilities
Browse files Browse the repository at this point in the history
also embrace eslint new configs

fix #162
  • Loading branch information
nurrony committed Apr 28, 2024
1 parent 54238c1 commit e0e8cf2
Show file tree
Hide file tree
Showing 5 changed files with 3,925 additions and 2,668 deletions.
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

20 changes: 20 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import globals from 'globals';
export default [
{
files: ['**/*.js'],
ignores: ['index.js', 'node_modules', 'extras/**', 'test/**', 'coverage', '.nyc-output'],
languageOptions: {
parserOptions: {
ecmaFeatures: {
impliedStrict: true,
},
},
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 2023,
sourceType: 'module',
},
},
];

0 comments on commit e0e8cf2

Please sign in to comment.