From d13cd90431f08c49868b520cae38a52aca1ee1f0 Mon Sep 17 00:00:00 2001 From: woohm402 Date: Tue, 1 Oct 2024 14:52:09 +0900 Subject: [PATCH] add eqeqeq --- .github/workflows/ci.yml | 2 +- .github/workflows/publish-base.yml | 2 +- .github/workflows/publish-react.yml | 2 +- bun.lockb | Bin 153560 -> 153496 bytes package.json | 2 +- packages/base/package.json | 2 +- packages/base/src/index.ts | 9 +++++---- packages/react/package.json | 4 ++-- 8 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe2da37..dc8504f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.27 + bun-version: 1.1.29 - name: Install dependencies run: bun install diff --git a/.github/workflows/publish-base.yml b/.github/workflows/publish-base.yml index 10880c9..9986a58 100644 --- a/.github/workflows/publish-base.yml +++ b/.github/workflows/publish-base.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.27 + bun-version: 1.1.29 # npm 공용 레지스트리에 배포 - name: Publish to npm diff --git a/.github/workflows/publish-react.yml b/.github/workflows/publish-react.yml index 0b8c6a4..1e982b9 100644 --- a/.github/workflows/publish-react.yml +++ b/.github/workflows/publish-react.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: - bun-version: 1.1.27 + bun-version: 1.1.29 # npm 공용 레지스트리에 배포 - name: Publish to npm diff --git a/bun.lockb b/bun.lockb index 15004201211fcc709b1ede356ec7d1d6d610baa7..a6ef9d279f512917a8a214dd3d651bddba7d14c8 100755 GIT binary patch delta 6617 zcmeI1du*1~9mk*ZP)c7AYzx>HMhXZ5qIdy@prt}FlW{3JS|`{@hnEnhHbCz!Z=q6Z zDbo4?2NV&A7p5{w2q~gCg}ftsv236x#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vCX6 zqyOWT(!`b9E9}HnGt`9bj#N`%x2Kv$Hc5_%9hZjV!89BP(r}d8P`b%qmu{NcMrkH5 z7?s(?p35Rn}Vj8zQTKnDc*lWkucKYIsbBnbZ&ZpJ&aC?ki z{iU?*qZYwp!0GhNr)qbCkvVvZv8=~C#w3+#IH>O>*;*^nDU{7d>CkT&qb4^WYTI7aM zx{Pgoud zfd^oiJyB{N&Z?pM3LF7Fl-J-_@VXr~&rBZwF4fEQz5)gCAm}-bhi}3}cnBVbLYM@T z;Zc|Zk3kz~3++G)^=ok5xAn_REAxWwP-e2tAv?Itegw*DDPyUG-4=KTw!*WZ9fV#|eTDRu`7>Pbx%uzeP`R1V z{Veu5&>rq(I0%Q}Fx0>+a0Ij&+z&6p^L9hI>2v=cs(V2jVQu)Q!Q(I;X248P;$Q@f z1bqeD!@bZM4%@V-$w)iHlg+|x0q3dz(e{d(7SRu={uYkIFX0dwoiB3J{;AMS#U@H8lCI}f&l(z~RZNetF*$+R)m=9aB|)Z0vD3n(#QVLgPQ z7)qcN=D{qO1Ii3`fJyKukZ|-qg3E9fuEBM<0XN|jNFXi|k{}sUpdQpWDZH9g8rpFc zrcJat)vv)vpdSXkvEArD0Pcg{umqGORW^DDw1*9xmtNcXPyx!jC?jcMJrqD6=m#Ie zkLhzSR1voT76R{VH1?7zWjO%ugPZUP{0$62YvCza0SS-@NstV~888QC!a{f#-+1&p z&<+;EhxoMl)lX7i(C<$k41{t&x3=;GhSE06VGSt7vl^BcCv4*HQlPu)R?=Q`p3fd?{Aq*+xfI< zZZ_JXr%je^M!o)()3u{_K4Tw0ZNAFr)w@s=dPJ`WWqkOPmc8u{{wBn3IqTE diff --git a/package.json b/package.json index a5b1442..14cedae 100644 --- a/package.json +++ b/package.json @@ -23,5 +23,5 @@ "workspaces": [ "packages/*" ], - "packageManager": "bun@1.1.27" + "packageManager": "bun@1.1.29" } diff --git a/packages/base/package.json b/packages/base/package.json index f2c0c4f..3ddc0f8 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@woohm402/eslint-config-base", - "version": "0.7.4", + "version": "0.8.0", "description": "Base config for TypeScript", "scripts": { "build": "tsup", diff --git a/packages/base/src/index.ts b/packages/base/src/index.ts index 14b7930..3b251c6 100644 --- a/packages/base/src/index.ts +++ b/packages/base/src/index.ts @@ -28,18 +28,15 @@ const envRestrictSyntax = [ const baseRules: ConfigWithExtends = { plugins: { - 'simple-import-sort': simpleImportSort, '@eslint-community/eslint-comments': ESLintPluginESLintCommentsConfigs.recommended.plugins[ '@eslint-community/eslint-comments' ], + 'simple-import-sort': simpleImportSort, }, rules: { - 'simple-import-sort/imports': 'error', '@eslint-community/eslint-comments/no-use': ['error', { allow: [] }], - 'no-shadow': 'off', '@typescript-eslint/no-shadow': ['error', { allow: ['_'] }], - '@typescript-eslint/unbound-method': 'off', '@typescript-eslint/restrict-template-expressions': [ 'error', { @@ -65,6 +62,10 @@ const baseRules: ConfigWithExtends = { allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false, }, ], + '@typescript-eslint/unbound-method': 'off', + 'no-shadow': 'off', + 'simple-import-sort/imports': 'error', + eqeqeq: ['error', 'always', { null: 'ignore' }], }, }; diff --git a/packages/react/package.json b/packages/react/package.json index ba19178..0e08bb8 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@woohm402/eslint-config-react", - "version": "0.6.4", + "version": "0.7.0", "description": "Base config for TypeScript React", "scripts": { "build": "tsup", @@ -35,7 +35,7 @@ "homepage": "https://github.com/woohm402/eslint-config-woohm402#readme", "dependencies": { "@eslint/compat": "1.1.1", - "@woohm402/eslint-config-base": "0.7.4", + "@woohm402/eslint-config-base": "0.8.0", "eslint-plugin-react": "7.36.1", "eslint-plugin-react-hooks": "4.6.2" },