Install @codeque/eslint-plugin from NPM 👇
yarn add --dev @codeque/eslint-plugin
npm install --save-dev @codeque/eslint-plugin
pnpm install --save-dev @codeque/eslint-plugin
And configure .eslintrc
{
plugins: ['@codeque'],
rules: [
"@codeque/error": ["error", [
{
query: "someFN()",
message: "Don't use someFN",
}
]]
]
}