Registry / testing / eslint-config-satya164

eslint-config-satya164

JSON →
library5.1.8jsnpmunverified

A personal ESLint configuration by @satya164, currently at v5.1.8, released in February 2026. It follows a non-intrusive, error-focused philosophy, avoiding purely stylistic rules. The config automatically adapts to file types (e.g., TypeScript for .ts/.tsx, Jest environment for test files) via ESLint's overrides. It includes essential plugins like eslint-plugin-import-x, typescript-eslint, react, react-hooks, jest, vitest, and prettier. Requires ESLint 9 flat config. Differentiates from other configs by being minimal and opinionated only where it catches actual bugs, with optional type-aware rules. Release cadence is irregular with occasional bug fixes and feature additions.

npm install eslint-config-satya164
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SATY
E
eslint-config-satya164
testingjavascriptv5.1.8
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

recommended
import { recommended } from 'eslint-config-satya164'
const recommended = require('eslint-config-satya164/recommended')
ESM-only; does not export a default export. Use named import in flat config.
react
import { react } from 'eslint-config-satya164'
import react from 'eslint-config-satya164'
Named export for optional React config; not included in base config.
typechecked
import { typechecked } from 'eslint-config-satya164'
import { typechecked } from 'eslint-config-satya164/typechecked'
Named export for type-aware rules; requires parserOptions.project set.
vitest
import { vitest } from 'eslint-config-satya164'
Named export for vitest support; alternative to jest config.

Creates an ESLint flat config using the base recommended rules, plus React and Vitest-specific configurations.

import { defineConfig } from 'eslint/config'; import { recommended, react, vitest } from 'eslint-config-satya164'; export default defineConfig( recommended, react, vitest, { // Optional custom overrides rules: { // Your additional rules } } );
Debug
Known issues
breakingv5.0.3 (2025-05-09) separated the single default export into named exports for base, React, Jest, and Vitest configs.
fix
Update imports from default import to named imports: import { recommended, react, jest, vitest } from 'eslint-config-satya164'
affects: >=5.0.3
breakingv5.0.3 removed the single default export. Older default import from v4.x will not work with v5.x.
fix
Use named exports like `import { recommended } from 'eslint-config-satya164'` instead of `import config from 'eslint-config-satya164'`.
affects: >=5.0.0
deprecatedJest config named export may be deprecated in favor of Vitest config; both currently available.
fix
Consider using `vitest` export instead of `jest` for new projects.
affects: >=5.0.3
gotchaType-checked rules require explicit parserOptions in your ESLint config.
fix
Add `languageOptions: { parserOptions: { project: true, tsconfigRootDir: import.meta.dirname } }` when using `typechecked` config.
affects: >=5.1.0
Errors
Common errors & fixes
Error: Failed to load plugin 'import-x' declared in 'eslint-config-satya164': Cannot find module 'eslint-plugin-import-x'
Missing required peer dependency for import-x plugin.
fix
Install eslint-plugin-import-x: npm install eslint-plugin-import-x -D
ReferenceError: require is not defined in ES module scope, you can use import instead
Attempting to use CommonJS require() with ESM-only package.
fix
Use ESM import syntax: import { recommended } from 'eslint-config-satya164'
Error: The 'recommended' config is not found in 'eslint-config-satya164'
Using old default import syntax with v5.x.
fix
Import named export: import { recommended } from 'eslint-config-satya164'
Parsing error: parserOptions.project has been set for @typescript-eslint/parser. The file does not match your project config: index.ts
TypeScript type-checking requires the file to be included in tsconfig.json.
fix
Ensure the file is included in tsconfig.json or set parserOptions.project to true with correct tsconfigRootDir.
Upgrade
Version history
5.1.8latest on npm
Audit
Dependencies
eslintrequiredPeer dependency required to run linting; version 9+ needed for flat config.
prettieroptionalPeer dependency used for formatting; required by eslint-plugin-prettier.
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-satya164 — npm install eslint-config-satya164 · libregistry