Skip to content

Commit

Permalink
Remove unused eslint disable directives
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Apr 4, 2023
1 parent ba12995 commit 4fbee4a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion cypress/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/**
* @type {Cypress.PluginConfig}
*/
// eslint-disable-next-line no-unused-vars
module.exports = (on, config) => {
require('@cypress/code-coverage/task')(on, config)

Expand Down
1 change: 0 additions & 1 deletion internals/jest/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-var-requires */
import 'dotenv/config'
import 'react-app-polyfill/stable'

Expand Down
1 change: 0 additions & 1 deletion src/__mocks__/react-i18next.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ useMock.i18n = { language: 'en-US' }

module.exports = {
// this mock makes sure any components using the translate HoC receive the t function as a prop
/* eslint-disable-next-line react/display-name */
withTranslation: () => Component => props => <Component t={k => k} {...props} />,
Trans: ({ children }) => (Array.isArray(children) ? renderNodes(children) : renderNodes([children])),
Translation: ({ children }) => children(k => k, { i18n: {} }),
Expand Down
1 change: 0 additions & 1 deletion src/styles/theme/styled.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ import { ThemeType } from 'grommet'

/* This is the suggested way of declaring theme types */
declare module 'styled-components' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface DefaultTheme extends ThemeType {}
}

0 comments on commit 4fbee4a

Please sign in to comment.