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

Could not find the following rules specified in the configuration #94

Closed
aroder opened this issue May 27, 2016 · 4 comments
Closed

Could not find the following rules specified in the configuration #94

aroder opened this issue May 27, 2016 · 4 comments

Comments

@aroder
Copy link

aroder commented May 27, 2016

Hi, I get this error from atom:

Error: Could not find the following rules specified in the configuration: new-parens no-default-export one-variable-per-declaration
Error: Could not find the following rules specified in the configuration:
new-parens
no-default-export
one-variable-per-declaration
    at Object.loadRules (/Users/adam/.atom/packages/linter-tslint/node_modules/tslint/lib/ruleLoader.js:29:15)
    at Linter.lint (/Users/adam/.atom/packages/linter-tslint/node_modules/tslint/lib/tslint.js:26:44)
    at /Users/adam/.atom/packages/linter-tslint/lib/init.coffee:101:31

No error from command line running tslint -c tslint.json src/app/settings.ts

tslint -v shows 2.10.2
atom version of linter-tslint shows 0.9.3
atom version of linter shows 1.11.4

I checked the latest tslint rules and the three rules in the error are valid rule names.

Any ideas what else I can check?

@Arcanemagus
Copy link
Member

tslint has never released a 2.10.2 version so... I'm not sure what you are running?

This package integrates the 3.8.1 version of tslint in the currently released version, can you try again with that version or later?

@Arcanemagus
Copy link
Member

Ah ha! Assuming you meant tslint 3.10.2, then you are trying to use rules that didn't exist yet till that version. I'm releasing an update to this package shortly that includes that version which should fix your issue.

@Arcanemagus
Copy link
Member

linter-tslint v0.10.0 should fix this for you. 🎉

@aroder
Copy link
Author

aroder commented May 27, 2016

Thanks, Landon! Yes, I mean 3.10.2

Adam Roderick
aroder@gmail.com

On Fri, May 27, 2016 at 10:20 AM, Landon Abney notifications@github.com
wrote:

Closed #94 #94.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#94 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AABcYpc_hC90iwPd4UOhMEu-A4woMFfnks5qFxnEgaJpZM4IoelE
.

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

No branches or pull requests

2 participants