diff --git a/.eslintrc.js b/.eslintrc.js
deleted file mode 100644
index faa669bb..00000000
--- a/.eslintrc.js
+++ /dev/null
@@ -1,31 +0,0 @@
-module.exports = {
- ignorePatterns: ['dist/', 'build/'],
- extends: [
- 'next/core-web-vitals',
- '@fingerprintjs/eslint-config-dx-team',
- 'plugin:react/recommended',
- 'plugin:react-hooks/recommended',
- ],
- parserOptions: {
- ecmaFeatures: {
- jsx: true,
- },
- },
- settings: {
- react: {
- version: 'detect',
- },
- },
- rules: {
- 'react/display-name': 'off',
- 'react/self-closing-comp': [
- 'error',
- {
- component: true,
- html: true,
- },
- ],
- 'react/react-in-jsx-scope': 'off',
- '@next/next/no-html-link-for-pages': 'off',
- },
-}
diff --git a/__tests__/fpjs-provider.test.tsx b/__tests__/fpjs-provider.test.tsx
index ba301c15..3c5efeb2 100644
--- a/__tests__/fpjs-provider.test.tsx
+++ b/__tests__/fpjs-provider.test.tsx
@@ -11,7 +11,7 @@ vi.mock('@fingerprint/agent', { spy: true })
const mockStart = vi.mocked(agent.start)
describe('FingerprintProvider', () => {
- it('should configure an instance of the Fp Agent', async () => {
+ it('should configure an instance of the Fp Agent', () => {
const loadOptions = getDefaultLoadOptions()
const wrapper = createWrapper({
cache: {
diff --git a/__tests__/helpers.tsx b/__tests__/helpers.tsx
index d799b015..94faa0fc 100644
--- a/__tests__/helpers.tsx
+++ b/__tests__/helpers.tsx
@@ -8,13 +8,16 @@ export const getDefaultLoadOptions = () => ({
export const createWrapper =
(providerProps: Partial = {}) =>
- ({ children }: PropsWithChildren<{}>) => (
+ ({ children }: PropsWithChildren
-