Skip to content

Commit

Permalink
add eqeqeq
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 committed Oct 1, 2024
1 parent 4572517 commit d13cd90
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"workspaces": [
"packages/*"
],
"packageManager": "[email protected].27"
"packageManager": "[email protected].29"
}
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.4",
"version": "0.8.0",
"description": "Base config for TypeScript",
"scripts": {
"build": "tsup",
Expand Down
9 changes: 5 additions & 4 deletions packages/base/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
{
Expand All @@ -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' }],
},
};

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.4",
"version": "0.7.0",
"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.4",
"@woohm402/eslint-config-base": "0.8.0",
"eslint-plugin-react": "7.36.1",
"eslint-plugin-react-hooks": "4.6.2"
},
Expand Down

0 comments on commit d13cd90

Please sign in to comment.