0.0.15 • Published 9 months ago

@nivalis/linter v0.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@nivalis/linter

npm version License: MIT

Lint your code with Biome and ESLint at once

Overview

@nivalis/linter is a unified linting tool that combines the power of Biome and ESLint into a single, streamlined interface. Instead of running these linters separately, you can use @nivalis/linter to run both simultaneously and get consolidated results.

Features

  • Unified Interface: Run both Biome and ESLint with a single command
  • 🔄 Merged Results: Get consolidated linting results from both tools
  • 🛠️ Auto-fixing: Automatically fix linting issues with the --fix flag
  • 🔍 Debug Mode: Get performance metrics and detailed error information
  • Performance: Optimized for speed with caching enabled

Installation

# Using npm
npm install --save-dev @nivalis/linter

# Using yarn
yarn add --dev @nivalis/linter

# Using pnpm
pnpm add --save-dev @nivalis/linter

# Using bun
bun add --dev @nivalis/linter

Usage

# Basic usage
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}"

# With auto-fixing
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}" --fix

# With debug mode
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}" --debug

# Allow unsafe fixes
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}" --fix --unsafe

Configuration

@nivalis/linter uses your existing ESLint and Biome configurations. It will automatically detect:

  • ESLint configuration files (.eslintrc.*, eslint.config.js)
  • Biome configuration file (biome.json)

If no configuration is found, default configurations will be used.

Options

OptionDescriptionDefault
--fixAutomatically fix linting issuesfalse
--debugRun in debug modefalse
--unsafeAllow unsafe fixesfalse

Why Use @nivalis/linter?

  • Save Time: Run both linters at once instead of separately
  • Unified Output: Get consolidated results in a single format
  • Best of Both Worlds: Benefit from both Biome's and ESLint's capabilities
  • Simplified Workflow: Integrate with your existing development process

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

0.0.13

9 months ago

0.0.14

9 months ago

0.0.15

9 months ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago