Package detail

@pob/use-eslint-plugin

christophehurpeau31ISCdeprecated50.0.0

Use check-package-dependencies instead

check plugin version between dependency and root

readme

@pob/use-eslint-plugin

check plugin version between dependency and root

Install

npm install --save @pob/use-eslint-plugin

Usage

'use strict';

const usePlugin = require('@pob/use-eslint-plugin');

usePlugin(require('eslint-plugin-prettier/package.json'));

module.exports = {
  plugins: ['prettier'],

  rules: {
    'prettier/prettier': 'error',
  },
};

@pob/use-eslint-plugin will ensure both version from this package config and the root package has the same value