Skip to content

Commit

Permalink
chore: change eslint action runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ijemmao committed Feb 16, 2023
1 parent fd4e474 commit 1b2e300
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 22 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/lint.yml
Expand Up @@ -19,7 +19,5 @@ jobs:
- name: Install Node.js dependencies
run: yarn install

- name: Run linters
uses: wearerequired/lint-action@v1
with:
eslint: true
- name: Run ESLint
run: yarn run eslint ./src --ext .js,.jsx,.ts,.tsx
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -145,14 +145,14 @@
"babel-loader": "^8.1.0",
"cross-env": "^7.0.2",
"cypress": "^6.0.0",
"eslint": "7.10.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-next": "^12.0.7",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.3",
"eslint": "8.34.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-next": "13.1.6",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"husky": "^4.3.0",
"jest": "^29.2.2",
"lint-staged": "^10.4.0",
Expand Down
3 changes: 1 addition & 2 deletions src/pages/_app.js
Expand Up @@ -7,7 +7,6 @@ import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import { appWithTranslation } from 'next-i18next';
import Head from 'next/head';
import ChakraTheme from '../shared/constants/ChakraTheme';
import en from '../public/locales/en';
import ig from '../public/locales/ig';
import * as gtag from '../lib/gtag';
Expand Down Expand Up @@ -50,7 +49,7 @@ const MainApp = ({ Component, pageProps, ...rest }) => {
<title>Igbo API - The First African Language API</title>
</Head>
<>
<ChakraProvider theme={ChakraTheme}>
<ChakraProvider>
<Component {...pageProps} {...rest} />
</ChakraProvider>
{/* Global Site Tag (gtag.js) - Google Analytics */}
Expand Down
8 changes: 0 additions & 8 deletions src/shared/constants/ChakraTheme.js

This file was deleted.

0 comments on commit 1b2e300

Please sign in to comment.