wetrial-lint is a zero-config linting tool that wraps eslint, stylelint, prettier, lint-staged, and husky into a single CLI command. Version 0.0.3 is the latest (and only) stable release, with no active development since fork. It simplifies lint setup by providing a unified CLI for both full-project and staged-file linting, but unlike 'umi-lint' it does not include any built-in configuration—users must provide their own .eslintrc, .stylelintrc, etc. The package is a fork of umi-lint with bug fixes that were not addressed upstream, but remains largely unmaintained.
npm install wetrial-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install wetrial-lint, add npm scripts for full lint and staged lint, and provide your own config files.
Remove --tslint flag and use --eslint with --ext .ts,.tsx
Create configuration files in project root.
Place flags before file paths, e.g., 'wetrial-lint --eslint src/' not 'wetrial-lint src/ --eslint'.
Follow husky v4+ migration guide; use 'npx husky install' and '.husky/pre-commit'.
Create .eslintrc file in project root.
Use eslint for TypeScript: remove --tslint, add --eslint --ext .ts,.tsx.
Put --fix before file paths: wetrial-lint --fix --eslint src/