From fae97efc2db4e0c85a74a9a8cb56c36c2e44a663 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 27 Feb 2024 03:17:40 +0100 Subject: [PATCH] Linting target in frontend --- client-solid/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client-solid/package.json b/client-solid/package.json index 110352e..256b3c9 100644 --- a/client-solid/package.json +++ b/client-solid/package.json @@ -8,7 +8,8 @@ "build": "tsc && vite build", "preview": "vite preview", "format": "prettier --config .prettierrc '**/*.ts' '**/*.tsx' '**/*.js' '**/*.json' --write", - "fmt": "prettier --config .prettierrc 'src/**/*.ts' 'src/**/*.tsx' --write && npx eslint --fix 'src/**/*.ts' 'src/**/*.tsx'" + "fmt": "prettier --config .prettierrc 'src/**/*.ts' 'src/**/*.tsx' --write && npx eslint --fix 'src/**/*.ts' 'src/**/*.tsx'", + "lint": "eslint --ext .ts,.tsx src" }, "dependencies": { "@solidjs/router": "^0.9.1", @@ -35,4 +36,4 @@ "vite-plugin-qrcode": "^0.2.3", "vite-plugin-solid": "^2.8.0" } -} +} \ No newline at end of file