Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nekochan0122 committed Aug 28, 2024
1 parent b34a368 commit eb64817
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
pnpm i -D @nekochan0122/config
```

## ESlint (Flat Config + TypeScript)
## ESLint (Flat Config + TypeScript)

1. Install ESlint
1. Install ESLint

```bash
pnpm i -D eslint typescript-eslint @eslint/js @eslint/compat @types/eslint__js
Expand Down
4 changes: 2 additions & 2 deletions src/eslint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type { FlatConfigArray } from '~/eslint/types'
// use this type to fix error TS2742:
// The inferred type of 'eslintConfig' cannot be named without a reference to 'ts-eslint'.
// This is likely not portable. A type annotation is necessary.
type ESlintConfig = {
type ESLintConfig = {
plugin: {
'import': FlatConfigArray
'import-sort': FlatConfigArray
Expand All @@ -34,7 +34,7 @@ type ESlintConfig = {
}
}

const eslintConfig: ESlintConfig = {
const eslintConfig: ESLintConfig = {
plugin: {
'import': importPluginConfig,
'import-sort': importSortPluignConfig,
Expand Down

0 comments on commit eb64817

Please sign in to comment.