This plugin exposes the ESLint configuration of eslint-config-muriki without the need of declaring all its dependencies.
npm install --save-dev eslint eslint-plugin-muriki
Extend the default config.
module.exports = { extends: 'plugin:muriki/recommended' };
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' }
}
The currently included plugins are the following: