Skip to content

Commit

Permalink
build: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed Sep 1, 2024
1 parent 5afbd2a commit b620d9f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 39 deletions.
27 changes: 0 additions & 27 deletions .eslintrc.cjs

This file was deleted.

27 changes: 27 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import tsPlugin from "@typescript-eslint/eslint-plugin"
import tsParser from "@typescript-eslint/parser"

const config = [
{
files: ["**/*.ts", "**/*.tsx"], // Target TypeScript files
languageOptions: {
parser: tsParser,
sourceType: "module",
},
plugins: {
"@typescript-eslint": tsPlugin,
},
rules: {
...tsPlugin.configs.recommended.rules,
"semi": ["error", "never"],
"quotes": ["error", "single"],
"@typescript-eslint/no-unused-vars": "warn",
'@typescript-eslint/naming-convention': ['error', {
selector: ['variableLike', 'parameterProperty', 'classProperty', 'typeProperty'],
format: ['PascalCase']
}]
}
}
]

export default config
21 changes: 9 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,21 @@
},
"dependencies": {
"@actions/core": "^1.10.1",
"@octokit/rest": "^20.1.1",
"@octokit/rest": "^21.0.2",
"@types/luxon": "^3.4.2",
"@types/node": "^20.14.10",
"@types/node": "^22.5.1",
"commander": "^12.1.0",
"es-toolkit": "^1.8.0",
"got": "^14.4.1",
"es-toolkit": "^1.17.0",
"got": "^14.4.2",
"ip-regex": "^5.0.0",
"luxon": "^3.4.4",
"luxon": "^3.5.0",
"p-queue": "^8.0.1",
"simple-git": "^3.25.0",
"tsx": "^4.16.2",
"typescript": "^5.5.3"
"tsx": "^4.19.0",
"typescript": "^5.5.4"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.8.1",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"typescript-eslint": "^7.15.0"
"eslint": "^9.9.1",
"typescript-eslint": "^8.3.0"
}
}

0 comments on commit b620d9f

Please sign in to comment.