Skip to content

Commit

Permalink
Merge pull request #18 from mbti-nf-team/feat/eslint-config
Browse files Browse the repository at this point in the history
feat(@nft-team/eslint-config): 불필요한 eslint-config-next, eslint-config-turbo 설치 의존성 제거
  • Loading branch information
saseungmin authored Jul 10, 2023
2 parents 9abc4f2 + e67f4d7 commit 40b2872
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 99 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-apes-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nft-team/eslint-config": minor
---

feat: 불필요한 eslint-config-next, eslint-config-turbo 설치 의존성 제거
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/glob-npm-7.1.7-5698ad9c48-b61f48973b.zip
Binary file not shown.
2 changes: 0 additions & 2 deletions packages/eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
'plugin:jsx-a11y/recommended',
'plugin:react/jsx-runtime',
'plugin:@next/next/recommended',
'turbo',
],
plugins: [
'simple-import-sort',
Expand Down Expand Up @@ -40,7 +39,6 @@ module.exports = {
},
],
rules: {
'@next/next/no-html-link-for-pages': 'off',
'simple-import-sort/imports': ['error', {
groups: [
['^(assert|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|https|module|net|os|path|punycode|querystring|readline|repl|stream|string_decoder|sys|timers|tls|tty|url|util|vm|zlib|freelist|v8|process|async_hooks|http2|perf_hooks)(/.*|$)'],
Expand Down
4 changes: 1 addition & 3 deletions packages/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@
"type": "git",
"url": "https://github.com/mbti-nf-team/frontend-libraries.git"
},
"devDependencies": {
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-next": "^13.4.7",
"eslint-config-turbo": "^1.10.6",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
Expand Down
15 changes: 15 additions & 0 deletions packages/react/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 🚧 WIP 🚧 @nft-team/react

<a href="https://github.com/mbti-nf-team/frontend-libraries/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc">
<img src="https://img.shields.io/github/issues/mbti-nf-team/frontend-libraries?style=flat-square" />
</a>

<a href="https://github.com/mbti-nf-team/frontend-libraries/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/mbti-nf-team/frontend-libraries?style=flat-square">
</a>

## 🐛 Bug reporting
[Issues](https://github.com/mbti-nf-team/frontend-libraries/issues)

## 🔒 LICENSE
This Project is [MIT licensed](https://github.com/mbti-nf-team/frontend-libraries/blob/main/LICENSE).
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"generate:component": "turbo gen react-component"
},
"devDependencies": {
"@nft-team/eslint-config": "1.0.0",
"@nft-team/eslint-config": "1.0.1",
"@nft-team/tsconfig": "0.0.1",
"@swc/core": "^1.3.67",
"@swc/jest": "^0.2.26",
Expand Down
102 changes: 9 additions & 93 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1294,15 +1294,6 @@ __metadata:
languageName: node
linkType: hard

"@next/eslint-plugin-next@npm:13.4.7":
version: 13.4.7
resolution: "@next/eslint-plugin-next@npm:13.4.7"
dependencies:
glob: 7.1.7
checksum: 7c9d6d3a44355dfda06982057a309502284add7d9e7a375782e24551f8faab726b7d4d260a053182f536f0928bf5b9c26b81267c437dc3e716a7acd70fd5b1a3
languageName: node
linkType: hard

"@next/swc-darwin-arm64@npm:13.4.7":
version: 13.4.7
resolution: "@next/swc-darwin-arm64@npm:13.4.7"
Expand Down Expand Up @@ -1366,16 +1357,14 @@ __metadata:
languageName: node
linkType: hard

"@nft-team/[email protected].0, @nft-team/eslint-config@workspace:^, @nft-team/eslint-config@workspace:packages/eslint":
"@nft-team/[email protected].1, @nft-team/eslint-config@workspace:^, @nft-team/eslint-config@workspace:packages/eslint":
version: 0.0.0-use.local
resolution: "@nft-team/eslint-config@workspace:packages/eslint"
dependencies:
"@typescript-eslint/eslint-plugin": ^5.60.0
"@typescript-eslint/parser": ^5.60.0
eslint-config-airbnb: ^19.0.4
eslint-config-airbnb-typescript: ^17.0.0
eslint-config-next: ^13.4.7
eslint-config-turbo: ^1.10.6
eslint-import-resolver-alias: ^1.1.2
eslint-import-resolver-typescript: ^3.5.5
eslint-plugin-import: ^2.27.5
Expand All @@ -1391,7 +1380,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@nft-team/react@workspace:packages/react"
dependencies:
"@nft-team/eslint-config": 1.0.0
"@nft-team/eslint-config": 1.0.1
"@nft-team/tsconfig": 0.0.1
"@swc/core": ^1.3.67
"@swc/jest": ^0.2.26
Expand Down Expand Up @@ -1482,13 +1471,6 @@ __metadata:
languageName: node
linkType: hard

"@rushstack/eslint-patch@npm:^1.1.3":
version: 1.3.2
resolution: "@rushstack/eslint-patch@npm:1.3.2"
checksum: 010c87ef2d901faaaf70ea1bf86fd3e7b74f24e23205f836e9a32790bca2076afe5de58ded03c35cb482f83691c8d22b1a0c34291b075bfe81afd26cfa5d14cc
languageName: node
linkType: hard

"@sinclair/typebox@npm:^0.25.16":
version: 0.25.24
resolution: "@sinclair/typebox@npm:0.25.24"
Expand Down Expand Up @@ -2086,7 +2068,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^5.42.0, @typescript-eslint/parser@npm:^5.60.0":
"@typescript-eslint/parser@npm:^5.60.0":
version: 5.60.0
resolution: "@typescript-eslint/parser@npm:5.60.0"
dependencies:
Expand Down Expand Up @@ -3568,13 +3550,6 @@ __metadata:
languageName: node
linkType: hard

"dotenv@npm:16.0.3":
version: 16.0.3
resolution: "dotenv@npm:16.0.3"
checksum: afcf03f373d7a6d62c7e9afea6328e62851d627a4e73f2e12d0a8deae1cd375892004f3021883f8aec85932cd2834b091f568ced92b4774625b321db83b827f8
languageName: node
linkType: hard

"eastasianwidth@npm:^0.2.0":
version: 0.2.0
resolution: "eastasianwidth@npm:0.2.0"
Expand Down Expand Up @@ -3928,40 +3903,6 @@ __metadata:
languageName: node
linkType: hard

"eslint-config-next@npm:^13.4.7":
version: 13.4.7
resolution: "eslint-config-next@npm:13.4.7"
dependencies:
"@next/eslint-plugin-next": 13.4.7
"@rushstack/eslint-patch": ^1.1.3
"@typescript-eslint/parser": ^5.42.0
eslint-import-resolver-node: ^0.3.6
eslint-import-resolver-typescript: ^3.5.2
eslint-plugin-import: ^2.26.0
eslint-plugin-jsx-a11y: ^6.5.1
eslint-plugin-react: ^7.31.7
eslint-plugin-react-hooks: ^4.5.0
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
typescript: ">=3.3.1"
peerDependenciesMeta:
typescript:
optional: true
checksum: fb86da6aaab337c87c202c5a35828f57adeaa9cf33ccd3530c20f196c4b103cc35e76318fab111b24b62a3c089214c8ed1df783e1c128152a88cd60130e050fc
languageName: node
linkType: hard

"eslint-config-turbo@npm:^1.10.6":
version: 1.10.6
resolution: "eslint-config-turbo@npm:1.10.6"
dependencies:
eslint-plugin-turbo: 1.10.6
peerDependencies:
eslint: ">6.6.0"
checksum: 3159c0290935bc039640a8e82eb8c04f945165d75cd3c250be97db8891d7244cec4793dd58064c258bce677a1301f7a92e6417770388c40b08b055746cb213c7
languageName: node
linkType: hard

"eslint-import-resolver-alias@npm:^1.1.2":
version: 1.1.2
resolution: "eslint-import-resolver-alias@npm:1.1.2"
Expand All @@ -3971,7 +3912,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-import-resolver-node@npm:^0.3.6, eslint-import-resolver-node@npm:^0.3.7":
"eslint-import-resolver-node@npm:^0.3.7":
version: 0.3.7
resolution: "eslint-import-resolver-node@npm:0.3.7"
dependencies:
Expand All @@ -3982,7 +3923,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-import-resolver-typescript@npm:^3.5.2, eslint-import-resolver-typescript@npm:^3.5.5":
"eslint-import-resolver-typescript@npm:^3.5.5":
version: 3.5.5
resolution: "eslint-import-resolver-typescript@npm:3.5.5"
dependencies:
Expand Down Expand Up @@ -4013,7 +3954,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-import@npm:^2.26.0, eslint-plugin-import@npm:^2.27.5":
"eslint-plugin-import@npm:^2.27.5":
version: 2.27.5
resolution: "eslint-plugin-import@npm:2.27.5"
dependencies:
Expand All @@ -4038,7 +3979,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-jsx-a11y@npm:^6.5.1, eslint-plugin-jsx-a11y@npm:^6.7.1":
"eslint-plugin-jsx-a11y@npm:^6.7.1":
version: 6.7.1
resolution: "eslint-plugin-jsx-a11y@npm:6.7.1"
dependencies:
Expand All @@ -4064,7 +4005,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-react-hooks@npm:^4.5.0, eslint-plugin-react-hooks@npm:^4.6.0":
"eslint-plugin-react-hooks@npm:^4.6.0":
version: 4.6.0
resolution: "eslint-plugin-react-hooks@npm:4.6.0"
peerDependencies:
Expand All @@ -4073,7 +4014,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-react@npm:^7.31.7, eslint-plugin-react@npm:^7.32.2":
"eslint-plugin-react@npm:^7.32.2":
version: 7.32.2
resolution: "eslint-plugin-react@npm:7.32.2"
dependencies:
Expand Down Expand Up @@ -4107,17 +4048,6 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-turbo@npm:1.10.6":
version: 1.10.6
resolution: "eslint-plugin-turbo@npm:1.10.6"
dependencies:
dotenv: 16.0.3
peerDependencies:
eslint: ">6.6.0"
checksum: b6c9ae6b25433f4d6621fcff2d07394b774fe3253f111785307539a28122ade7b52823870fc3c48e4bd549c716de89efcd8b94db36275a8eb0c1e8e4c2c02f4b
languageName: node
linkType: hard

"eslint-plugin-unused-imports@npm:^2.0.0":
version: 2.0.0
resolution: "eslint-plugin-unused-imports@npm:2.0.0"
Expand Down Expand Up @@ -4747,20 +4677,6 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:7.1.7":
version: 7.1.7
resolution: "glob@npm:7.1.7"
dependencies:
fs.realpath: ^1.0.0
inflight: ^1.0.4
inherits: 2
minimatch: ^3.0.4
once: ^1.3.0
path-is-absolute: ^1.0.0
checksum: b61f48973bbdcf5159997b0874a2165db572b368b931135832599875919c237fc05c12984e38fe828e69aa8a921eb0e8a4997266211c517c9cfaae8a93988bb8
languageName: node
linkType: hard

"glob@npm:^10.2.2":
version: 10.3.0
resolution: "glob@npm:10.3.0"
Expand Down

0 comments on commit 40b2872

Please sign in to comment.