Skip to content

Commit

Permalink
chore!: rewrite to vanilla JS (#61)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: now uses ES modules
BREAKING CHANGE: removed deprecated functions
  • Loading branch information
phaux authored Jul 4, 2024
1 parent 32f363e commit 135e9fd
Show file tree
Hide file tree
Showing 21 changed files with 1,504 additions and 4,384 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

10 changes: 4 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-type-checked"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/strict-boolean-expressions": "error",
"eqeqeq": ["error", "smart"],
"no-else-return": "error",
"no-implicit-coercion": "error"
}
}
2 changes: 2 additions & 0 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- uses: FedericoCarboni/setup-ffmpeg@v3
- run: npm ci
- run: npm test
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/node_modules/
/lib/
/coverage/
/lib/*.d.ts
lcov.info
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"markiscodecoverage.searchCriteria": "lcov*.info"
}
142 changes: 0 additions & 142 deletions __tests__/v0.ts

This file was deleted.

Loading

0 comments on commit 135e9fd

Please sign in to comment.