Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-plugin-wantedly

wantedly19.6kMIT4.0.1

Opinionated ESLint plugin for Wantedly

eslint, eslint-plugin, eslintplugin

readme

eslint-plugin-wantedly npm version

Rule details

This plugin provides the opinionated rules in Wantedly.

List of supported rules

Installation

npm install --save eslint-plugin-wantedly
# or
yarn add eslint-plugin-wantedly

Usage

With "Flat Config"

import pluginWantedly from "eslint-plugin-wantedly";

export default [
  {
    plugins: {
      wantedly: pluginWantedly,
    },
    rules: {
      "wantedly/graphql-pascal-case-type-name": ["error", { autofix: true }],
    },
  },
];

With "Legacy Config"

{
  "plugins": ["wantedly"],
  "rules": {
    "wantedly/graphql-pascal-case-type-name": ["error", { "autofix": true }]
  }
}

changelog

eslint-plugin-wantedly

4.0.1

Patch Changes

  • b06c9fa: hotfix(eslint-plugin): Fix option schema

4.0.0

Major Changes

  • 3f44379: Support ESLint v9