Skip to content

Commit

Permalink
chore(deps): update dependency eslint to v9 (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: MikuroXina <[email protected]>
  • Loading branch information
renovate[bot] and MikuroXina authored Apr 13, 2024
1 parent 58982e1 commit 1b2204b
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 29 deletions.
25 changes: 0 additions & 25 deletions .eslintrc.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
"dependencyDashboard": true,
"semanticCommits": "enabled",
"fetchReleaseNotes": "pr",
"enabledManagers": ["npm", "github-actions"],
"enabledManagers": ["bun", "github-actions"],
"npm": {
"fileMatch": ["(^|/)bun\\.lockb$"],
"stabilityDays": 3
},
"vulnerabilityAlerts": {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
38 changes: 38 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// @ts-check
import eslint from "@eslint/js";
import simpleImportSort from "eslint-plugin-simple-import-sort";
import globals from "globals";
import tsEslint from "typescript-eslint";

export default tsEslint.config(
eslint.configs.recommended,
...tsEslint.configs.recommended,
{
plugins: {
"simple-import-sort": simpleImportSort,
},
rules: {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
},
},
{
languageOptions: {
parserOptions: {
project: true,
tsconfigRootDir: import.meta.dirname,
ecmaVersion: "latest",
sourceType: "module",
globals: {
...globals.node,
},
},
ecmaVersion: 2021,
},
rules: {
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "always"],
},
},
);
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,21 @@
"hono": "^3.11.12",
"jose": "^5.2.0"
},
"packageManager": "bun@1.0.20",
"packageManager": "bun@1.1.3",
"devDependencies": {
"@cloudflare/workers-types": "^4.20231218.0",
"@eslint/js": "^9.0.0",
"@types/bun": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.54.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-simple-import-sort": "^12.0.0",
"globals": "^15.0.0",
"prettier": "^3.1.0",
"typescript": "^5.3.2",
"typescript-eslint": "^7.6.0",
"wrangler": "^3.22.1"
}
}

0 comments on commit 1b2204b

Please sign in to comment.