eslint-plugin-muriki

My extensive, opinionated ESLint plugin / config.


Keywords
eslint, config, plugin
License
MIT
Install
npm install eslint-plugin-muriki@1.0.0

Documentation

ESLint Plugin Muriki

This plugin exposes the ESLint configuration of eslint-config-muriki without the need of declaring all its dependencies.

Setup

npm install --save-dev eslint eslint-plugin-muriki

Extend the default config.

module.exports = { extends: 'plugin:muriki/recommended' };

Rule configuration

You can configure the rules like every other plugin. Just keep in mind that if you want to change a rule of an included plugin (for example of eslint-plugin-import) you must prefix the rule with muriki/ (to prevent namespace collisions).

For example:

module.exports = {
  extends: 'plugin:muriki/recommended',
  rules: { "muriki/import/no-unresolved": 'off' }
}

Included plugins  

The currently included plugins are the following: