diff options
author | Pauline <git@ethanlibs.co> | 2023-11-26 17:13:07 -0500 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-11-26 17:13:07 -0500 |
commit | e9d485fe3b5db8c426ac03b30ed8917df0baa62d (patch) | |
tree | 69a684d53abce6b636620cc0000a6e84846246d7 /package.json | |
parent | 85c31ee8d278ac6fa1f0ba143b78d65e5f665f32 (diff) | |
download | Nexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.tar.gz Nexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.tar.bz2 Nexus-e9d485fe3b5db8c426ac03b30ed8917df0baa62d.zip |
feat(lint): switch to eslint config and formatting (use vscode for autoformat)
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/package.json b/package.json index 2730d2e..955d41a 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,19 @@ { "name": "@polyfrost/nexus", + "type": "module", "version": "0.0.0", "private": true, + "engines": { + "pnpm": ">=8.0.0", + "npm": "pnpm", + "yarn": "pnpm", + "node": ">=18.17 <19 || >=20.1" + }, "scripts": { "build": "turbo run build", "typecheck": "pnpm -r typecheck", - "format": "prettier --write .", - "lint": "turbo run lint", - "lint:fix": "turbo run lint -- --fix", + "lint": "eslint --cache .", + "lint:fix": "pnpm run lint --fix", "clean": "git clean -qfX .", "prisma": "cd core && cargo prisma", "tauri": "pnpm desktop tauri", @@ -25,32 +31,24 @@ "codegen": "cargo test -p nexus-core api::tests::gen -- --exact" }, "devDependencies": { - "@babel/plugin-syntax-import-assertions": "^7.22.5", - "@ianvs/prettier-plugin-sort-imports": "^4.1.1", - "@storybook/react-vite": "^7.5.1", - "prettier": "^3.0.3", - "prettier-plugin-tailwindcss": "^0.5.6", + "@flowr/eslint-config": "^2.1.1-alpha.15", + "@storybook/react-vite": "^7.5.3", + "eslint-plugin-jsx-a11y": "^6.8.0", + "eslint-plugin-react": "^7.33.2", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.4.4", "turbo": "^1.10.16", "turbo-ignore": "^1.10.16", - "typescript": "^5.2.2", - "vite": "^4.5.0" - }, - "overrides": { - "@types/node": "~18.17.19" - }, - "engines": { - "pnpm": ">=8.0.0", - "npm": "pnpm", - "yarn": "pnpm", - "node": ">=18.17 <19 || >=20.1" - }, - "eslintConfig": { - "root": true + "typescript": "^5.3.2", + "vite": "^5.0.2" }, "pnpm": { "overrides": { - "zod@<=3.22.2": ">=3.22.3", - "@babel/traverse@<7.23.2": ">=7.23.2" + "@babel/traverse@<7.23.2": ">=7.23.2", + "zod@<=3.22.2": ">=3.22.3" } + }, + "overrides": { + "@types/node": "~18.17.19" } } |