From b1e3dc2860cd41082727981aa152821f1d8242a9 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Sun, 15 Sep 2024 14:50:52 -0500 Subject: [PATCH] fix --- clientv2/.eslintrc.cjs | 2 +- clientv2/package.json | 1 + clientv2/yarn.lock | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/clientv2/.eslintrc.cjs b/clientv2/.eslintrc.cjs index 5e31e8d..70fbf05 100644 --- a/clientv2/.eslintrc.cjs +++ b/clientv2/.eslintrc.cjs @@ -1,5 +1,5 @@ module.exports = { - extends: ['mantine'], + extends: ['mantine', 'prettier'], parserOptions: { project: './tsconfig.json', }, diff --git a/clientv2/package.json b/clientv2/package.json index 6b9441f..b599bee 100644 --- a/clientv2/package.json +++ b/clientv2/package.json @@ -28,6 +28,7 @@ "@ungap/with-resolvers": "^0.1.0", "axios": "^1.7.2", "dotenv": "^16.4.5", + "eslint-config-prettier": "^9.1.0", "file-saver": "^2.0.5", "jszip": "^3.10.1", "pdfjs-dist": "^4.5.136", diff --git a/clientv2/yarn.lock b/clientv2/yarn.lock index 65818d7..6943ba8 100644 --- a/clientv2/yarn.lock +++ b/clientv2/yarn.lock @@ -3439,6 +3439,7 @@ __metadata: eslint-config-airbnb: "npm:19.0.4" eslint-config-airbnb-typescript: "npm:^18.0.0" eslint-config-mantine: "npm:^3.2.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.29.1" eslint-plugin-jsx-a11y: "npm:^6.9.0" eslint-plugin-react: "npm:^7.34.3" @@ -5242,6 +5243,17 @@ __metadata: languageName: node linkType: hard +"eslint-config-prettier@npm:^9.1.0": + version: 9.1.0 + resolution: "eslint-config-prettier@npm:9.1.0" + peerDependencies: + eslint: ">=7.0.0" + bin: + eslint-config-prettier: bin/cli.js + checksum: 10c0/6d332694b36bc9ac6fdb18d3ca2f6ac42afa2ad61f0493e89226950a7091e38981b66bac2b47ba39d15b73fff2cd32c78b850a9cf9eed9ca9a96bfb2f3a2f10d + languageName: node + linkType: hard + "eslint-import-resolver-node@npm:^0.3.9": version: 0.3.9 resolution: "eslint-import-resolver-node@npm:0.3.9"