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
muslnode 18–226 runs
build_error
glibcnode 18–226 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
base
✓ import { base } from 'eslint-config-wantedly'
✗ const base = require('eslint-config-wantedly')
ESM-only since v4.0.0; use dynamic import() in CommonJS.
flat config array (default)
✓ import * as configWantedly from 'eslint-config-wantedly'
✗ module.exports = require('eslint-config-wantedly')
v4.0.0 exports named 'base' as a flat config array; the default export is not documented.
extends in legacy
✓ "extends": ["wantedly"] in .eslintrc.json
✗ "extends": ["eslint-config-wantedly"]
Legacy usage (v3.x) requires the string 'wantedly', not the package name.
Set up ESLint with eslint-config-wantedly flat config (v4.x) and a custom rule.
// Install the package and required peer dependencies
// npm install --save-dev eslint eslint-config-wantedly @babel/core @babel/eslint-parser eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-jest
// eslint.config.js (flat config, v4.x)
import { base as configWantedly } from 'eslint-config-wantedly';
export default [
...configWantedly,
{
rules: {
'no-console': 'warn',
},
},
];
// Run ESLint
// npx eslint .
eslint --version
Errors
Common errors & fixes
Error: Failed to load config 'wantedly' to extend from.
Using legacy extends in ESLint v8 with eslint-config-wantedly v4, which uses flat config.
fixUse the flat config export instead, or downgrade to v3.x.
Error: Cannot find module '@babel/eslint-parser'
Missing peer dependency @babel/eslint-parser.
fixnpm install --save-dev @babel/core @babel/eslint-parser
Error: Failed to load plugin 'react' declared in 'eslint-config-wantedly'
Missing peer dependency eslint-plugin-react.
fixnpm install --save-dev eslint-plugin-react
Audit
Dependencies
@babel/eslint-parserrequiredparser for ESLint
eslint-plugin-reactrequiredReact-specific linting rules
eslint-plugin-importrequiredimport/export syntax linting
eslint-plugin-jsx-a11yrequiredaccessibility rules for JSX
eslint-plugin-jestrequiredJest testing linting rules