Skip to content

Commit c3c20e4

Browse files
chore: lint fixes
1 parent b05c682 commit c3c20e4

File tree

9 files changed

+165
-181
lines changed

9 files changed

+165
-181
lines changed

.claude/settings.local.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"permissions": {
33
"allow": [
4-
"mcp__read-website-fast__read_website"
4+
"mcp__read-website-fast__read_website",
5+
"Bash(pnpm lint:*)",
6+
"Bash(pnpm install:*)",
7+
"Bash(xxd:*)",
8+
"Bash(LC_ALL=C sed:*)"
59
]
610
}
711
}

.eslintrc.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

eslint.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import eslint from "@eslint/js";
2+
import tseslint from "typescript-eslint";
3+
4+
export default tseslint.config(
5+
eslint.configs.recommended,
6+
...tseslint.configs.recommended,
7+
{
8+
ignores: ["node_modules", "dist", "commitlint.config.js"],
9+
},
10+
{
11+
languageOptions: {
12+
ecmaVersion: "latest",
13+
sourceType: "module",
14+
},
15+
rules: {
16+
"no-constant-condition": "off",
17+
"no-var": "off",
18+
"@typescript-eslint/no-explicit-any": "off",
19+
},
20+
}
21+
);

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@formkit/theme-starter",
33
"version": "2.0.0",
4+
"type": "module",
45
"packageManager": "[email protected]",
56
"repository": {
67
"type": "git",
@@ -41,10 +42,11 @@
4142
"@formkit/pro": "next",
4243
"@formkit/theme-editor": "latest",
4344
"@formkit/vue": "latest",
44-
"@typescript-eslint/eslint-plugin": "^6.21.0",
45+
"@eslint/js": "^9.39.1",
4546
"@vitejs/plugin-vue": "^4.6.2",
4647
"bumpp": "^9.3.0",
4748
"eslint": "^9.39.1",
49+
"typescript-eslint": "^8.32.1",
4850
"prettier": "^3.2.5",
4951
"publint": "^0.2.7",
5052
"tailwindcss": "^4.0.0",

0 commit comments

Comments
 (0)