0.2.0 • Published 2 years ago
eslint-plugin-ebdd v0.2.0
eslint-plugin-ebdd · 
ESLint environment for Mocha EBDD interface.
Installation
Install ESLint and eslint-plugin-ebdd:
npm i --save-dev eslint eslint-plugin-ebddNote
If you installed ESLint globally (using the -g flag) then you must also install plugins globally:
npm i -g eslint-plugin-ebddUsage
Flat Config
Import "eslint-plugin-ebdd" in your eslint.config.js configuration file.
Use the globals export to define languageOptions.globals in your config.
import { globals: ebddGlobals } from "eslint-plugin-ebdd";
export default [{ languageOptions: { globals: ebddGlobals } }];Legacy Config
Add "ebdd" to the plugins section of your .eslintrc configuration file.
You can omit the eslint-plugin- prefix.
Then configure the environment ebdd/ebdd under the "env" section.
{
"plugins": [
"ebdd"
],
"env": {
"ebdd/ebdd": true
}
}