ihordiachenko / eslint-plugin-chai-friendly

Makes eslint friendly towards Chai.js 'expect' and 'should' statements.
MIT License
53 stars 10 forks source link

allowTaggedTemplates isn't allowed on the config object #4

Closed jonathan-potter closed 7 years ago

jonathan-potter commented 7 years ago

It looks like the only place in this repo that allowTaggedTemplates is referenced is the readme. When allowTaggedTemplates is added to the configuration object eslint breaks with the message below. This isn't the end of the world, you just need to remove it from the readme or state that it does not work.

Error: [object Object]:
    Configuration for rule "chai-friendly/no-unused-expressions" is invalid:
    Value "[object Object]" should NOT have additional properties.
ihordiachenko commented 7 years ago

Thanks for your feedback! Looks like I just need to fetch the latest changes from the original no-unused-expressions rule. Will be added soon.

ihordiachenko commented 7 years ago

Will be included in the next release, alongside the #3