Skip to content

Commit

Permalink
style(eslint): Fix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
chloe463 committed Sep 18, 2024
1 parent 9673b63 commit 473aa0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { base as eslintConfigWantedlyTs } from "eslint-config-wantedly-typescrip
export default [
...eslintConfigWantedlyTs,
{
name: "targets",
files: ["packages/**/*.{ts,js}"],
files: ["**/*.ts"],
ignores: ["**/*.js"],
},
{
languageOptions: {
ecmaVersion: "latest",
parserOptions: {
project: "./tsconfig.json",
project: "./tsconfig.eslint.json",
},
},
rules: {
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"include": ["./"],
"compilerOptions": {
"allowJs": true
}
}

0 comments on commit 473aa0a

Please sign in to comment.