Skip to main content
Home
This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
94%
Published
a year ago (0.1.0)

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.

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 ⭐️!

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@jellydn/eslint-fixer

Import symbol

import * as eslint_fixer from "@jellydn/eslint-fixer";
or

Import directly with a jsr specifier

import * as eslint_fixer from "jsr:@jellydn/eslint-fixer";

Add Package

pnpm i jsr:@jellydn/eslint-fixer
or (using pnpm 10.8 or older)
pnpm dlx jsr add @jellydn/eslint-fixer

Import symbol

import * as eslint_fixer from "@jellydn/eslint-fixer";

Add Package

yarn add jsr:@jellydn/eslint-fixer
or (using Yarn 4.8 or older)
yarn dlx jsr add @jellydn/eslint-fixer

Import symbol

import * as eslint_fixer from "@jellydn/eslint-fixer";

Add Package

vlt install jsr:@jellydn/eslint-fixer

Import symbol

import * as eslint_fixer from "@jellydn/eslint-fixer";

Add Package

npx jsr add @jellydn/eslint-fixer

Import symbol

import * as eslint_fixer from "@jellydn/eslint-fixer";

Add Package

bunx jsr add @jellydn/eslint-fixer

Import symbol

import * as eslint_fixer from "@jellydn/eslint-fixer";