diff --git a/test/hooks/.eslintrc b/test/hooks/.eslintrc new file mode 100644 index 000000000..1de5b1a79 --- /dev/null +++ b/test/hooks/.eslintrc @@ -0,0 +1,5 @@ +{ + "rules": { + "react/display-name": 0 + } +} diff --git a/test/hooks/useActions.spec.js b/test/hooks/useActions.spec.js index 1df295962..d0807ed44 100644 --- a/test/hooks/useActions.spec.js +++ b/test/hooks/useActions.spec.js @@ -1,5 +1,3 @@ -/*eslint-disable react/display-name*/ - import React from 'react' import { createStore } from 'redux' import { renderHook } from 'react-hooks-testing-library' diff --git a/test/hooks/useDispatch.spec.js b/test/hooks/useDispatch.spec.js index fc81005a0..6f43937c5 100644 --- a/test/hooks/useDispatch.spec.js +++ b/test/hooks/useDispatch.spec.js @@ -1,5 +1,3 @@ -/*eslint-disable react/display-name*/ - import React from 'react' import { createStore } from 'redux' import { renderHook } from 'react-hooks-testing-library' diff --git a/test/hooks/useRedux.spec.js b/test/hooks/useRedux.spec.js index 525353a88..53b272ee3 100644 --- a/test/hooks/useRedux.spec.js +++ b/test/hooks/useRedux.spec.js @@ -1,4 +1,3 @@ -/*eslint-disable react/display-name*/ /*eslint-disable react/prop-types*/ import React from 'react' diff --git a/test/hooks/useSelector.spec.js b/test/hooks/useSelector.spec.js index 3e11279f1..e0fb95c8b 100644 --- a/test/hooks/useSelector.spec.js +++ b/test/hooks/useSelector.spec.js @@ -1,4 +1,3 @@ -/*eslint-disable react/display-name*/ /*eslint-disable react/prop-types*/ import React, { useReducer } from 'react'