Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import hypothesisBase from 'eslint-config-hypothesis/base';
import hypothesisJSX from 'eslint-config-hypothesis/jsx';
import hypothesisTS from 'eslint-config-hypothesis/ts';
import { defineConfig, globalIgnores } from 'eslint/config';
import globals from 'globals';

export default [
{
ignores: ['.yalc/**', 'lib/**', 'build/**'],
},
export default defineConfig(
globalIgnores(['.yalc/**', 'lib/**', 'build/**']),

...hypothesisBase,
...hypothesisJSX,
...hypothesisTS,
hypothesisBase,
hypothesisJSX,
hypothesisTS,

// Icons
{
Expand All @@ -32,4 +31,4 @@ export default [
},
},
},
];
);
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.18.6",
"@hypothesis/frontend-build": "^3.2.1",
"@hypothesis/frontend-build": "^4.0.0",
"@hypothesis/frontend-testing": "^1.6.0",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^28.0.0",
Expand All @@ -21,6 +21,7 @@
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
"@vitest/browser": "^3.1.1",
"@vitest/coverage-istanbul": "^3.1.1",
"@vitest/eslint-plugin": "^1.1.44",
"autoprefixer": "^10.3.7",
"axe-core": "^4.0.0",
"babel-plugin-istanbul": "^7.0.0",
Expand All @@ -30,10 +31,9 @@
"classnames": "^2.2.6",
"enzyme": "^3.8.0",
"enzyme-adapter-preact-pure": "^4.0.1",
"eslint": "^9.12.0",
"eslint-config-hypothesis": "^3.1.0",
"eslint": "^9.26.0",
"eslint-config-hypothesis": "^3.3.1",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.0.0",
"express": "^5.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/components/test/common-tests.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable mocha/no-exports */
import { checkAccessibility, mount } from '@hypothesis/frontend-testing';
import { createRef } from 'preact';

Expand Down
Loading