Registry / testing / eslint-config-skuba

eslint-config-skuba

JSON →
library8.1.0jsnpmunverified

ESLint config for skuba projects. Current stable version 8.1.0, release cadence follows skuba monorepo releases. This package provides a flat ESLint configuration tailored for SEEK's skuba development platform, integrating TypeScript, React, and Jest linting rules. It is ESM-only and requires Node.js >=22.14.0, ESLint >=9.22.0, and TypeScript >=5.5.4. Differentiators include automatic ignores for coverage, dist, lib, tmp folders, and seamless alignment with skuba toolchain. Ships TypeScript types.

npm install eslint-config-skuba
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SKUB
E
eslint-config-skuba
testingjavascriptv8.1.0
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.

eslintConfigSkuba
import eslintConfigSkuba from 'eslint-config-skuba'
const eslintConfigSkuba = require('eslint-config-skuba')
ESM-only package; CommonJS require will throw ERR_REQUIRE_ESM.
default
export { default as eslintConfigSkuba } from 'eslint-config-skuba'
module.exports = require('eslint-config-skuba')
Named re-exports are supported only via ESM syntax.
types
import type { FlatConfig } from 'eslint-config-skuba'
TypeScript types are bundled; use import type for type-only imports.

Set up a flat ESLint configuration file using the skuba config as a base with custom rule overrides.

// eslint.config.js import eslintConfigSkuba from 'eslint-config-skuba'; export default [ ...eslintConfigSkuba, { rules: { 'no-console': 'error', }, }, ];
Debug
Known issues
breakingv8 requires ESLint >=9.22.0 (flat config only, no .eslintrc support)
fix
Migrate to flat config format; ensure ESLint >=9.22.0 is installed.
affects: >=8.0.0
breakingv8 drops support for Node.js <22.14.0
fix
Update Node.js to >=22.14.0.
affects: >=8.0.0
gotchaDefault export is an array of flat config objects, not a single config object
fix
Spread the imported array into your eslint config export.
affects: >=8.0.0
deprecatedIn v7 and earlier, the config was exported as a single object; this changed in v8
fix
Update to v8 and spread the array.
affects: <8.0.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module
Using CommonJS require() to import an ESM-only package.
fix
Switch to import statement or dynamic import().
ConfigError: Config is not an array
Spreading the imported config incorrectly, treating default export as a single object.
fix
Ensure you spread eslintConfigSkuba if it's an array: export default [...eslintConfigSkuba, ...]
TypeError: Cannot read properties of undefined (reading 'rules')
Assuming eslintConfigSkuba is a single config object rather than an array.
fix
Loop over the array or specify index: eslintConfigSkuba[0].rules
Upgrade
Version history
8.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-skuba — npm install eslint-config-skuba · libregistry