storybookjs / eslint-plugin-storybook

🎗Official ESLint plugin for Storybook
MIT License
245 stars 52 forks source link

fix(no-uninstalled-addons): ignore local addons #98

Closed yannbf closed 2 years ago

yannbf commented 2 years ago

Issue: #97

What Changed

This PR adds a fix for addons which are locally registered such as:

// .storybook/main.js
module.exports = {
  addons: [
    './my-addon/preset.cjs', // <-- ignored in the checks
    '@storybook/addon-essentials'
  ]
}

Checklist

Check the ones applicable to your change:

Change Type

Indicate the type of change your pull request is:

github-actions[bot] commented 2 years ago

:rocket: PR was released in v0.6.1 :rocket: