@productsway/eslint-fixer

0.1.0ย โ€ขย Publicย โ€ขย Published

Welcome to eslint-fixer ๐Ÿ‘‹

Version

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 โญ๏ธ!

Readme

Keywords

Package Sidebar

Install

npm i @productsway/eslint-fixer

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

2.88 MB

Total Files

4

Last publish

Collaborators

  • jellydn