Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

'chai' should be listed in the project's dependencies, not devDependencies #790

Closed
renanrboliveira opened this issue Jan 24, 2017 · 2 comments

Comments

@renanrboliveira
Copy link

renanrboliveira commented Jan 24, 2017

Issue Type

Bug

Issue Description

When do import { expect } from 'chai' linter eslint show the error below, but when run eslint don't show this error.

Check link I believe that was the reason for this error.

Linter Eslint: Debug output here

ESLint
Error
import/no-extraneous-dependencies 'chai' should be listed in the project's dependencies, not devDependencies.

@Arcanemagus
Copy link
Member

Can you post the debug output as requested? Without that or a example repo/gist it's hard to reproduce this to diagnose it.

@IanVS
Copy link
Member

IanVS commented Jan 24, 2017

This seems to be a duplicate of #771. Please take a look there for a description of why this happens and a possible workaround.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants