Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
'examples':
- changed-files:
- any-glob-to-any-file: 'examples/**/*'
'eslint':
- changed-files:
- any-glob-to-any-file:
- 'configs/eslint/**/*'
- '**/.eslint*'
'tsconfig':
- changed-files:
- any-glob-to-any-file:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/pnpm-setup-node
- run: pnpm install
- run: pnpm oxfmt --write .
- run: pnpm vp fmt .
- run: pnpm run packlint
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # v1.3.2
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
command: ['ci:test', 'ci:eslint', 'ci:sherif', 'ci:type', 'build']
command: ['ci:test', 'ci:lint', 'ci:sherif', 'ci:type', 'build']
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/pnpm-setup-node
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package-lock.json
# testing
coverage
__screenshots__
vitest.config.ts.timestamp*
vite.config.ts.timestamp*
tsconfig.vitest-temp.json

# next.js
Expand Down Expand Up @@ -45,3 +45,4 @@ graph/
*.tsbuildinfo

.claude/settings.local.json
.vitest/
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

3 changes: 0 additions & 3 deletions .lintstagedrc

This file was deleted.

1 change: 1 addition & 0 deletions .vite-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vp staged
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "oxc.oxc-vscode", "antfu.pnpm-catalog-lens", "unifiedjs.vscode-mdx"]
"recommendations": ["VoidZero.vite-plus-extension-pack", "antfu.pnpm-catalog-lens", "unifiedjs.vscode-mdx"]
}
7 changes: 4 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"oxc.disableNestedConfig": true,
"oxc.fmt.disableNestedConfig": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
"source.fixAll.oxc": "explicit"
},
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "mdx"],
"eslint.workingDirectories": [{ "mode": "auto" }],
"vitest.disableWorkspaceWarning": true,
"[javascript]": { "editor.defaultFormatter": "oxc.oxc-vscode" },
"[javascriptreact]": { "editor.defaultFormatter": "oxc.oxc-vscode" },
Expand Down
7 changes: 0 additions & 7 deletions configs/eslint-config/CHANGELOG.md

This file was deleted.

178 changes: 0 additions & 178 deletions configs/eslint-config/index.js

This file was deleted.

26 changes: 0 additions & 26 deletions configs/eslint-config/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions configs/tsdown/eslint.config.mjs

This file was deleted.

2 changes: 0 additions & 2 deletions configs/tsdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
"type": "module",
"main": "src/index.ts",
"scripts": {
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts}\"",
"ci:type": "tsc --noEmit"
},
"devDependencies": {
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*"
}
}
4 changes: 3 additions & 1 deletion configs/tsdown/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'tsdown'
import { defineConfig } from 'vite-plus/pack'

export const options = defineConfig({
format: ['cjs', 'esm'],
Expand All @@ -12,6 +12,7 @@ export const options = defineConfig({
publint: true,
clean: true,
unbundle: true,
deps: { resolveDepSubpath: true },
})

export const scriptOptions = defineConfig({
Expand All @@ -22,4 +23,5 @@ export const scriptOptions = defineConfig({
attw: true,
publint: true,
clean: true,
deps: { resolveDepSubpath: true },
})
2 changes: 1 addition & 1 deletion configs/tsdown/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@suspensive/tsconfig/base.json",
"include": [".", "./eslint.config.mjs"],
"include": ["."],
"exclude": ["dist", "node_modules"],
"compilerOptions": {
"module": "NodeNext",
Expand Down
20 changes: 0 additions & 20 deletions docs/suspensive.org/eslint.config.mjs

This file was deleted.

2 changes: 0 additions & 2 deletions docs/suspensive.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"type": "module",
"scripts": {
"build": "next build --webpack && pagefind --site .next/server/app --output-path .next/output/static/_pagefind && node scripts/llms-txt/generate-llms-txt.ts",
"ci:eslint": "eslint \"**/*.{ts,tsx,cts,mts,mdx}\"",
"ci:type": "tsc --noEmit",
"clean": "rimraf ./.next ./node_modules",
"dev": "next dev -p 4000 --webpack",
Expand Down Expand Up @@ -44,7 +43,6 @@
"zod": "3.22.4"
},
"devDependencies": {
"@suspensive/eslint-config": "workspace:*",
"@tailwindcss/postcss": "catalog:",
"@types/d3": "^7.4.3",
"@types/react": "catalog:react19",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use client'

/* eslint-disable @typescript-eslint/unbound-method -- MDX components are rendered as JSX elements */

import type { $NextraMetadata, Heading } from 'nextra'
import { type ReactNode } from 'react'
import { FadeIn } from './FadeIn'
Expand Down
Loading
Loading