Skip to content

Commit

Permalink
update packages and migrate to TS + ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
aldeed committed Nov 13, 2024
1 parent 69197ef commit 1783dff
Show file tree
Hide file tree
Showing 18 changed files with 8,229 additions and 5,587 deletions.
19 changes: 0 additions & 19 deletions .babelrc

This file was deleted.

2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

28 changes: 0 additions & 28 deletions .eslintrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extension": [
"ts"
],
"loader": "ts-node/esm",
"spec": "src/**/*.test.ts"
}
25 changes: 25 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import eslint from '@eslint/js'
import tseslint from 'typescript-eslint'

import love from 'eslint-config-love'
import simpleImportSort from 'eslint-plugin-simple-import-sort'

export default tseslint.config(
{
ignores: [
'dist/**/*',
'eslint.config.mjs'
]
},
eslint.configs.recommended,
...tseslint.configs.recommended,
{
...love,
plugins: {
'simple-import-sort': simpleImportSort
},
rules: {
'simple-import-sort/imports': 'error'
}
}
)
141 changes: 0 additions & 141 deletions lib/MessageBox.js

This file was deleted.

30 changes: 0 additions & 30 deletions lib/merge.js

This file was deleted.

Loading

0 comments on commit 1783dff

Please sign in to comment.