ihordiachenko / eslint-plugin-chai-friendly

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

how to configure with standardjs #16

Closed kdhttps closed 4 years ago

kdhttps commented 4 years ago

I've tried to add it in package.json for standardjs configuration

"plugins": [
      "chai-friendly"
    ]

but as standard has zero configuration, it is not allow to add rules so is there any other way, please suggest.

ihordiachenko commented 4 years ago

Hi, @kdhttps

I think it's not possible with standard package, but you can use eslint-config-standard preset instead. This approach allows customizing the eslint rules as usual.

kdhttps commented 4 years ago

I've used standardx which allow me to use chai-friendly with standardjs.

Thank you @ihordiachenko :)