ESLint plugin that adds global variables for Chai's BDD assertion style in Mocha tests.
eslint-plugin-chai-assert-bdd is an ESLint plugin designed to prevent undefined variable errors when using Chai's BDD assertion style in Mocha test suites. It automatically adds Chai's BDD globals to ESLint's scope, eliminating false positive linting errors for assertions like expect, should, and assert.
expect, should, and assert.The plugin follows a minimalistic approach, focusing solely on solving the specific problem of undefined variable errors for Chai BDD assertions without adding unnecessary complexity or configuration overhead.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.