Registry / testing / eslint-plugin-wantedly

eslint-plugin-wantedly

JSON →
library4.0.1jsnpmunverified

Opinionated ESLint plugin enforcing Wantedly-style GraphQL and Nexus naming conventions. Current stable version 4.0.1 (2024) requires ESLint 9+. Provides rules for GraphQL operation names (camelCase), type names (PascalCase), field names (camelCase), enum members (UPPER_CASE), and type descriptions in gql tags and Nexus code. Flat config support only from v4. Drops legacy ESLint config. Peer dependencies: eslint ^9.0.0, graphql ^14.6.0 || ^15.0.0.

npm install eslint-plugin-wantedly
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-WANT
E
eslint-plugin-wantedly
testingjavascriptv4.0.1
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.

default
import pluginWantedly from 'eslint-plugin-wantedly'
const pluginWantedly = require('eslint-plugin-wantedly')
ESM-only since v4; CJS require will fail.

Shows flat config usage with a GraphQL operation name rule.

import pluginWantedly from 'eslint-plugin-wantedly'; export default [ { plugins: { wantedly: pluginWantedly, }, rules: { 'wantedly/graphql-operation-name': ['error', { type: 'camelCase' }], }, }, ];
Debug
Known issues
breakingv4 drops legacy eslintrc config (eslint <9). Only flat config supported.
fix
Migrate to eslint.config.js flat config format.
affects: >=4.0.0
breakingv4 requires ESLint ^9.0.0 and graphql peer dependency.
fix
Update ESLint to v9 and ensure graphql is installed.
affects: >=4.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-plugin-wantedly'
Missing package installation.
fix
npm install eslint-plugin-wantedly --save-dev
ESLint couldn't find the plugin 'eslint-plugin-wantedly'.
Plugin not configured in eslint.config.js.
fix
Add 'plugins: { wantedly: pluginWantedly }' to config.
Upgrade
Version history
4.0.1latest on npm
Audit
Dependencies
eslintrequiredPeer dependency required to run as an ESLint plugin.
graphqlrequiredPeer dependency for parsing GraphQL operations in gql tags.
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-plugin-wantedly — npm install eslint-plugin-wantedly · libregistry