Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition for [several rules] was not found #371

Closed
limeandcoconut opened this issue Sep 16, 2019 · 5 comments
Closed

Definition for [several rules] was not found #371

limeandcoconut opened this issue Sep 16, 2019 · 5 comments

Comments

@limeandcoconut
Copy link

limeandcoconut commented Sep 16, 2019

I'm seeing:

Definition for rule 'unicorn/expiring-todo-comments' was not found.eslint(unicorn/expiring-todo-comments)
Definition for rule 'unicorn/expiring-todo-comments' was not found.eslint(unicorn/expiring-todo-comments)

With an otherwise working eslint config. At least one of unicorn's other rules is working. I've rm -fed and npm ied node modules, no change.

Deps:

    "eslint-config-limeandcoconut": "^1.0.1",
    "eslint-plugin-html": "^6.0.0",
    "eslint-plugin-unicorn": "^10.0.0",
    "eslint-plugin-vue": "^5.2.3",

and limeandcoconut's deps:

    "eslint": "^6.4.0",
    "eslint-plugin-unicorn": "^10.0.0",
    "eslint-plugin-html": "6.0.0",
    "eslint-plugin-vue": "5.2.3"

eslint-plugin-vue isn't being used right now. It's disabled until it gets upgraded to eslint ^6

@limeandcoconut limeandcoconut changed the title Definition for rule several rules was not found Definition for [several rules] was not found Sep 16, 2019
@MrHen
Copy link
Contributor

MrHen commented Sep 16, 2019

Can you run npm ls eslint-plugin-unicorn from your project directory and post the output?

@limeandcoconut
Copy link
Author

[email protected] /Users/jasmith/Sites/perpar/game-electron
├─┬ [email protected]
│ └── [email protected]  deduped
└── [email protected] 

@swernerx
Copy link

Same issue here. But only when running inside Jest - yes, we test our linting infrastructure :)

@swernerx
Copy link

Might be related to import-modules which is being used internally?

@swernerx
Copy link

Ah, I already did fix this for some previous customer of mine: sindresorhus/import-modules#2 @sindresorhus can you please check this?

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

No branches or pull requests

3 participants