{"id":19982,"library":"eslint-plugin-wantedly","title":"eslint-plugin-wantedly","description":"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.","status":"active","version":"4.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/wantedly/frolint#master","tags":["javascript","eslint","eslint-plugin","eslintplugin"],"install":[{"cmd":"npm install eslint-plugin-wantedly","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-plugin-wantedly","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-plugin-wantedly","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required to run as an ESLint plugin.","package":"eslint","optional":false},{"reason":"Peer dependency for parsing GraphQL operations in gql tags.","package":"graphql","optional":false}],"imports":[{"note":"ESM-only since v4; CJS require will fail.","wrong":"const pluginWantedly = require('eslint-plugin-wantedly')","symbol":"default","correct":"import pluginWantedly from 'eslint-plugin-wantedly'"}],"quickstart":{"code":"import pluginWantedly from 'eslint-plugin-wantedly';\n\nexport default [\n  {\n    plugins: {\n      wantedly: pluginWantedly,\n    },\n    rules: {\n      'wantedly/graphql-operation-name': ['error', { type: 'camelCase' }],\n    },\n  },\n];","lang":"javascript","description":"Shows flat config usage with a GraphQL operation name rule."},"warnings":[{"fix":"Migrate to eslint.config.js flat config format.","message":"v4 drops legacy eslintrc config (eslint <9). Only flat config supported.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Update ESLint to v9 and ensure graphql is installed.","message":"v4 requires ESLint ^9.0.0 and graphql peer dependency.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install eslint-plugin-wantedly --save-dev","cause":"Missing package installation.","error":"Error: Cannot find module 'eslint-plugin-wantedly'"},{"fix":"Add 'plugins: { wantedly: pluginWantedly }' to config.","cause":"Plugin not configured in eslint.config.js.","error":"ESLint couldn't find the plugin 'eslint-plugin-wantedly'."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}