mirror of
https://github.com/millionco/react-doctor.git
synced 2026-09-14 20:00:24 +08:00
8c2f03aea9
* feat: make React cleanup first-class * refactor: remove editor integrations * fix: harden React cleanup analysis * fix: detect default export duplication roots * fix: unwrap typed duplication roots * feat: add opt-in project analysis rules * fix: canonicalize project analysis paths * fix: harden project analysis precision * fix: recognize cross-platform project entries * fix: eliminate project analysis false positives * fix: harden project analysis reachability * fix: canonicalize project analysis inputs * fix: resolve project analysis review findings * fix: eliminate residual project analysis false positives * fix: ignore commented registry previews * fix: eliminate project analysis false positives * fix: normalize project analysis paths across platforms * fix: normalize Nextra theme path identity * test: canonicalize convention fixture paths * fix: preserve project analysis provenance * fix: harden project analysis precision * fix: honor project analysis boundaries * fix: recognize conditional config plugins * fix: recognize executable project references * fix: recognize Stencil tool contracts * fix: recognize nested tool references * fix: recognize project setup contracts * fix: recognize generated and local package consumers * fix: recognize static template package references * fix: recognize nested package runtime contracts * fix: close project analysis parser gaps * fix: parse project conventions structurally * refactor: replace structural scanners with parsers * fix: recognize functional Next CSS config * fix: close remaining project analysis gaps * fix: apply tag filters to project analysis * fix: preserve embedded source positions * fix: validate static config helper bindings * fix: bound runtime directory discovery * fix: close final dependency analysis gaps * fix: preserve declaration dependency references * chore: refresh generated rule metadata * fix: make project analysis portable and bounded * test: stabilize cleanup scaling guard * refactor: parse project syntax with oxc * fix: normalize native filesystem paths * fix: separate path identity from report paths * fix: match project files by filesystem identity * fix: match build glob files by package identity * fix: use native path keys for file identity * fix: canonicalize Windows file identities * fix: canonicalize package ownership paths * test: inspect Windows path identities * test: trace Windows package ownership * fix: keep Windows path identities consistent * fix: classify test contracts by normalized path * fix: scope test contracts by canonical package path * fix: keep test package graphs conservative * test: keep React complexity advisory
34 lines
773 B
TypeScript
34 lines
773 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
|
|
export default defineConfig({
|
|
staged: {
|
|
"*.{js,ts,tsx}": "vp check --fix",
|
|
"*.{json,jsonc,json5,yaml,yml,toml,html,css,scss,less,md,mdx,graphql,gql}": "vp fmt",
|
|
},
|
|
lint: {
|
|
ignorePatterns: [
|
|
".turbo",
|
|
"dist",
|
|
"build",
|
|
"node_modules",
|
|
"packages/core/tests/fixtures/**",
|
|
"packages/react-doctor/tests/fixtures/**",
|
|
"packages/fuzz/corpus/react-bench-0.9.7-audit/**",
|
|
],
|
|
plugins: ["typescript", "react", "import"],
|
|
rules: {},
|
|
},
|
|
fmt: {
|
|
semi: true,
|
|
singleQuote: false,
|
|
ignorePatterns: [
|
|
".turbo",
|
|
"node_modules",
|
|
"dist",
|
|
"build",
|
|
"pnpm-lock.yaml",
|
|
"packages/fuzz/corpus/react-bench-0.9.7-audit*",
|
|
],
|
|
},
|
|
});
|