eslint-plugin-wantedly

4.0.1 • Public • Published

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 }]
  }
}

Package Sidebar

Install

npm i eslint-plugin-wantedly

Weekly Downloads

2,315

Version

4.0.1

License

MIT

Unpacked Size

102 kB

Total Files

24

Last publish

Collaborators

  • izumin5210
  • yamadayuki
  • kobayang
  • wantedly_dev