Skip to content

Commit

Permalink
🩹 fix no-shadow (#61)
Browse files Browse the repository at this point in the history
resolved #60
  • Loading branch information
woohm402 authored Sep 14, 2024
1 parent 6aa04ad commit 629d33e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@woohm402/eslint-config-base",
"version": "0.7.0",
"version": "0.7.1",
"description": "Base config for TypeScript",
"scripts": {
"build": "tsup",
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const baseRules: ConfigWithExtends = {
'simple-import-sort/imports': 'error',
'@eslint-community/eslint-comments/no-use': ['error', { allow: [] }],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/no-shadow': ['error', { allow: ['_'] }],
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/restrict-template-expressions': [
'error',
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@woohm402/eslint-config-react",
"version": "0.6.0",
"version": "0.6.1",
"description": "Base config for TypeScript React",
"scripts": {
"build": "tsup",
Expand Down Expand Up @@ -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.0",
"@woohm402/eslint-config-base": "0.7.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2"
},
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ __metadata:
languageName: node
linkType: hard

"@woohm402/eslint-config-base@npm:0.7.0, @woohm402/eslint-config-base@workspace:packages/base":
"@woohm402/eslint-config-base@npm:0.7.1, @woohm402/eslint-config-base@workspace:packages/base":
version: 0.0.0-use.local
resolution: "@woohm402/eslint-config-base@workspace:packages/base"
dependencies:
Expand Down Expand Up @@ -1045,7 +1045,7 @@ __metadata:
"@types/eslint": "npm:8.56.10"
"@types/node": "npm:20.14.11"
"@types/react": "npm:18.3.3"
"@woohm402/eslint-config-base": "npm:0.7.0"
"@woohm402/eslint-config-base": "npm:0.7.1"
eslint: "npm:9.7.0"
eslint-plugin-react: "npm:7.35.0"
eslint-plugin-react-hooks: "npm:4.6.2"
Expand Down

0 comments on commit 629d33e

Please sign in to comment.