Skip to content

Commit

Permalink
chore: return to simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshx committed Jul 26, 2024
1 parent b479e92 commit 81c1efb
Show file tree
Hide file tree
Showing 17 changed files with 367 additions and 4,845 deletions.
31 changes: 0 additions & 31 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
website/
Binary file added bun.lockb
Binary file not shown.
11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import prettier from "eslint-plugin-prettier/recommended"

export default [
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
prettier,
];
31 changes: 8 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,18 @@
"error-handling"
],
"scripts": {
"dev": "vitest dev",
"dev:website": "pnpm --filter website dev",
"build": "unbuild",
"build:website": "pnpm --filter website build",
"test": "pnpm test:core && pnpm test:types",
"test:core": "vitest run",
"test:types": "tsc --noEmit",
"test:coverage": "vitest run --coverage",
"lint": "pnpm lint:all:eslint && pnpm lint:all:prettier",
"lint:all:eslint": "pnpm lint:eslint --ext .ts,.js,.mjs,.cjs \"{src,test}/**/*.{js,json,ts}\"",
"lint:all:prettier": "pnpm lint:prettier \"{src,test,website}/**/*.{js,json,ts}\"",
"lint:eslint": "eslint --fix",
"lint:prettier": "prettier --write --loglevel warn",
"prepublishOnly": "pnpm lint && pnpm test",
"release": "np"
"dev": "turbo dev",
"build": "turbo build",
"test": "turbo test",
"lint": "turbo lint",
"release": "turbo release",
"format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.60.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"turbo": "^1.10.6",
"type-fest": "^4.23.0",
"typescript": "5",
"unbuild": "^1.2.1",
"vitest": "^2.0.4"
},
"packageManager": "pnpm@8.6.0"
}
}
Loading

0 comments on commit 81c1efb

Please sign in to comment.