Socket
Book a DemoInstallSign in
Socket

@ctrl/eslint-config-biome

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl/eslint-config-biome

eslint typescript config

Source
npmnpm
Version
4.4.1
Version published
Weekly downloads
119
1090%
Maintainers
1
Weekly downloads
 
Created
Source

@ctrl/eslint-config-biome

Not really a shareable eslint config, more of a set of rules and eslint all together. Installs all required eslint dependencies. This package was created to unify my eslint rules and reduce churn from all the eslint packages in package.json. Does not include prettier rules, expected to be setup with biome.

Based on xo and xo-typescript and disables rules that are in biome are I found annoying.

npm i @biomejs/biome @ctrl/eslint-config-biome @eslint/compat eslint -D

eslint.config.mjs

import config from '@ctrl/eslint-config-biome';
import { includeIgnoreFile } from '@eslint/compat';
import path from 'node:path';
import { fileURLToPath } from 'node:url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const gitignorePath = path.resolve(__dirname, '.gitignore');

export default [
  ...config,
  includeIgnoreFile(gitignorePath),
  {
    ignores: ['tailwind.config.cjs', 'postcss.config.cjs', 'eslint.config.mjs', 'vite.config.ts'],
  },
];

biome.json

{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "files": {
    "ignoreUnknown": true,
    "ignore": ["dist/*", "package.json"]
  },
  "extends": ["@ctrl/eslint-config-biome/biome"]
}

FAQs

Package last updated on 20 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts