@productsway/eslint-fixer
v0.1.0
Published
<h1 align="center">Welcome to eslint-fixer 👋</h1>
Downloads
1
Readme
Motivation
Until this ☂️ Type-aware linter · Issue #3187 · biomejs/biome is resolved, we continue to use @typescript-eslint/parser
and @typescript-eslint/eslint-plugin
to lint TypeScript files.
Recommended Rules
Add the following recommended rules to your ESLint configuration for effective linting of TypeScript files:
{
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/no-redundant-type-constituents": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/require-await": "error"
}
Usage
To use eslint-fixer, follow these steps:
# Install eslint-fixer
npm install --global eslint-fixer
# Run eslint-fixer
npx eslint-fixer
Resources
Show Your Support
If this project has helped you, please give it a ⭐️!