Skip to content

Commit 3c142d6

Browse files
committed
yarn eslint ok
1 parent 49d3d30 commit 3c142d6

File tree

3 files changed

+56
-10
lines changed

3 files changed

+56
-10
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"eslint-config-standard": "17.0.0",
3434
"eslint-import-resolver-typescript": "2.7.1",
3535
"eslint-plugin-jsdoc": "39.3.3",
36+
"eslint-plugin-n": "^15.2.5",
3637
"eslint-plugin-node": "11.1.0",
3738
"eslint-plugin-promise": "6.0.0",
3839
"eslint-plugin-simple-import-sort": "7.0.0",

pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* eslint-disable @next/next/no-img-element, camelcase, react-hooks/exhaustive-deps */
2-
import { NextSeo } from 'next-seo';
32
import { Transition } from '@headlessui/react'
43
import { Octokit } from '@octokit/core'
54
import Head from 'next/head'
5+
import { NextSeo } from 'next-seo'
66
import React, { createRef, useEffect, useState } from 'react'
77
import ReactGA from 'react-ga'
88
import ReCAPTCHA from 'react-google-recaptcha'
@@ -77,9 +77,9 @@ const Home = ({ bio, avatar_url, blog, email, randomE }) => {
7777
description: bio,
7878
images: [
7979
{ url: '/images/oxicode.io.png' },
80-
{ url: avatar_url },
80+
{ url: avatar_url }
8181
],
82-
site_name: 'Oxicode Portfolio',
82+
site_name: 'Oxicode Portfolio'
8383
}}
8484

8585
/>

yarn.lock

Lines changed: 52 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,13 @@ browserslist@^4.20.3:
729729
node-releases "^2.0.3"
730730
picocolors "^1.0.0"
731731

732+
builtins@^5.0.1:
733+
version "5.0.1"
734+
resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9"
735+
integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==
736+
dependencies:
737+
semver "^7.0.0"
738+
732739
call-bind@^1.0.0, call-bind@^1.0.2:
733740
version "1.0.2"
734741
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
@@ -1203,6 +1210,14 @@ eslint-plugin-es@^3.0.0:
12031210
eslint-utils "^2.0.0"
12041211
regexpp "^3.0.0"
12051212

1213+
eslint-plugin-es@^4.1.0:
1214+
version "4.1.0"
1215+
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz#f0822f0c18a535a97c3e714e89f88586a7641ec9"
1216+
integrity sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==
1217+
dependencies:
1218+
eslint-utils "^2.0.0"
1219+
regexpp "^3.0.0"
1220+
12061221
eslint-plugin-import@^2.26.0:
12071222
version "2.26.0"
12081223
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b"
@@ -1253,6 +1268,20 @@ eslint-plugin-jsx-a11y@^6.5.1:
12531268
language-tags "^1.0.5"
12541269
minimatch "^3.0.4"
12551270

1271+
eslint-plugin-n@^15.2.5:
1272+
version "15.2.5"
1273+
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-15.2.5.tgz#aa7ff8d45bb8bf2df8ea3b7d3774ae570cb794b8"
1274+
integrity sha512-8+BYsqiyZfpu6NXmdLOXVUfk8IocpCjpd8nMRRH0A9ulrcemhb2VI9RSJMEy5udx++A/YcVPD11zT8hpFq368g==
1275+
dependencies:
1276+
builtins "^5.0.1"
1277+
eslint-plugin-es "^4.1.0"
1278+
eslint-utils "^3.0.0"
1279+
ignore "^5.1.1"
1280+
is-core-module "^2.10.0"
1281+
minimatch "^3.1.2"
1282+
resolve "^1.22.1"
1283+
semver "^7.3.7"
1284+
12561285
12571286
version "11.1.0"
12581287
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d"
@@ -1708,6 +1737,13 @@ is-callable@^1.1.4, is-callable@^1.2.4:
17081737
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
17091738
integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==
17101739

1740+
is-core-module@^2.10.0, is-core-module@^2.9.0:
1741+
version "2.10.0"
1742+
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed"
1743+
integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==
1744+
dependencies:
1745+
has "^1.0.3"
1746+
17111747
is-core-module@^2.2.0, is-core-module@^2.8.1:
17121748
version "2.8.1"
17131749
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211"
@@ -2357,6 +2393,15 @@ resolve@^1.1.7, resolve@^1.10.1, resolve@^1.20.0, resolve@^1.22.0:
23572393
path-parse "^1.0.7"
23582394
supports-preserve-symlinks-flag "^1.0.0"
23592395

2396+
resolve@^1.22.1:
2397+
version "1.22.1"
2398+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177"
2399+
integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==
2400+
dependencies:
2401+
is-core-module "^2.9.0"
2402+
path-parse "^1.0.7"
2403+
supports-preserve-symlinks-flag "^1.0.0"
2404+
23602405
resolve@^2.0.0-next.3:
23612406
version "2.0.0-next.3"
23622407
resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.3.tgz#d41016293d4a8586a39ca5d9b5f15cbea1f55e46"
@@ -2409,20 +2454,20 @@ semver@^6.1.0, semver@^6.3.0:
24092454
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
24102455
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
24112456

2457+
semver@^7.0.0, semver@^7.3.7:
2458+
version "7.3.7"
2459+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f"
2460+
integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==
2461+
dependencies:
2462+
lru-cache "^6.0.0"
2463+
24122464
semver@^7.3.5:
24132465
version "7.3.5"
24142466
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
24152467
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
24162468
dependencies:
24172469
lru-cache "^6.0.0"
24182470

2419-
semver@^7.3.7:
2420-
version "7.3.7"
2421-
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f"
2422-
integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==
2423-
dependencies:
2424-
lru-cache "^6.0.0"
2425-
24262471
shebang-command@^2.0.0:
24272472
version "2.0.0"
24282473
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"

0 commit comments

Comments
 (0)