Skip to content

Commit

Permalink
Merge pull request #179 from sota1235/feat-update-typescript-eslint
Browse files Browse the repository at this point in the history
v5.0.3
  • Loading branch information
sota1235 authored Jan 6, 2025
2 parents 95cbf91 + a5ce24e commit b4e1d76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sota1235/eslint-config",
"version": "5.0.2",
"version": "5.0.3",
"description": "ESLint configuration for @sota1235",
"main": "src/index.js",
"type": "module",
Expand All @@ -19,8 +19,6 @@
"dependencies": {
"@eslint/js": "9.13.0",
"@types/eslint__js": "8.42.3",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
"eslint": ">= 9",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.35.0",
Expand Down
3 changes: 1 addition & 2 deletions src/typescript.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check
import tseslint from "typescript-eslint";
import tsPlugin from "@typescript-eslint/eslint-plugin";
import base from "./base.js";

/**
Expand All @@ -22,7 +21,7 @@ export default ({ tsconfigPath = "./tsconfig.json" }) => [
{
files: ["**/*.test.{tsx,ts,cts,mts}"],
plugins: {
"@typescript-eslint": tsPlugin,
"@typescript-eslint": tseslint.plugin,
},
rules: {
"@typescript-eslint/no-explicit-any": "off",
Expand Down

0 comments on commit b4e1d76

Please sign in to comment.