eslint-plugin-wantedly
Rule details
This plugin provides the opinionated rules in Wantedly.
List of supported rules
Installation
npm install --save eslint-plugin-wantedly
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 }]
}
}