Skip to content

Commit

Permalink
chore: bump dependencies (#30)
Browse files Browse the repository at this point in the history
Upgrades ESLint dependencies, typescript and the test runner.

We have to set `concurrency` to `1` since chrome will no longer fire
visiblity changes on the document if it is in a background tab (which it
will be if the test runner runs multiple tests in parallel).
  • Loading branch information
43081j authored Jun 12, 2024
1 parent e3f71b7 commit fcc2cb1
Show file tree
Hide file tree
Showing 6 changed files with 4,437 additions and 2,635 deletions.
51 changes: 0 additions & 51 deletions .eslintrc.json

This file was deleted.

23 changes: 23 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import eslintjs from '@eslint/js';
import {configs as tseslintConfigs} from 'typescript-eslint';

const {configs: eslintConfigs} = eslintjs;

export default [
{
...eslintConfigs.recommended,
files: ['src/**/*.ts'],
},
...tseslintConfigs.strict,
{
rules: {
'@typescript-eslint/no-unused-vars': 'off'
}
},
{
files: ['src/test/**/*.ts'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off'
}
}
];
Loading

0 comments on commit fcc2cb1

Please sign in to comment.