Registry / testing / eslint-config-wantedly

eslint-config-wantedly

JSON →
library4.0.0jsnpmunverified

ESLint configuration for Wantedly, version 4.0.0. This package provides a shareable ESLint config focused on JavaScript linting, including React, import, JSX accessibility, and Jest plugins. It uses @babel/eslint-parser as the parser. The major breaking change in v4.0.0 is the switch from legacy config (extends) to ESLint's flat config format, requiring ESLint v9. For ESLint v8 and under, use version 3.x. Configs are exported as flat config arrays.

npm install eslint-config-wantedly
INSTALL
IMPORT
SIG · ESLINT-CONFIG-WANT
E
eslint-config-wantedly
testingjavascriptv4.0.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
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 18–226 runs
build_error
glibc
node 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
Debug
Known issues
breakingFlat config format: eslint-config-wantedly v4.0.0+ uses ESLint flat config; legacy .eslintrc configs are not supported.
fix
Upgrade to ESLint v9 and use flat config syntax as shown in the quickstart.
affects: >=4.0.0
breakingESLint v9 requirement: v4.0.0 requires ESLint v9; previous versions require ESLint v8.
fix
Update ESLint to v9 or pin eslint-config-wantedly to v3.x.
affects: >=4.0.0
deprecatedLegacy config format (extends) is deprecated as of v4.0.0.
fix
Migrate to flat config format. See quickstart.
affects: >=4.0.0
gotchaParser not found: @babel/eslint-parser must be installed as a peer dependency.
fix
Install @babel/core and @babel/eslint-parser.
affects: >=4.0.0
gotchaMissing plugins: eslint-plugin-react, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-jest must be installed.
fix
Install all peer dependencies listed in the quickstart.
affects: >=4.0.0
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.
fix
Use the flat config export instead, or downgrade to v3.x.
Error: Cannot find module '@babel/eslint-parser'
Missing peer dependency @babel/eslint-parser.
fix
npm 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.
fix
npm install --save-dev eslint-plugin-react
Upgrade
Version history
4.0.0latest on npm
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
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-wantedly — npm install eslint-config-wantedly · libregistry