{"id":19700,"library":"eslint-plugin-behance","title":"eslint-plugin-behance","description":"Behance's custom ESLint plugin (v3.0.1) providing two rules: no-jasmine-arrow disallows arrow functions in Jasmine test callbacks, and header-comment enforces a header block comment at file top. Released as maintenance-only; peer dependency on ESLint >=4.19.1. Simple and focused, no active development since 2018.","status":"maintenance","version":"3.0.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","eslint","eslintplugin","eslint-plugin"],"install":[{"cmd":"npm install eslint-plugin-behance","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-plugin-behance","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-plugin-behance","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required for plugin to work","package":"eslint","optional":false}],"imports":[{"note":"CommonJS require works but ESM import is valid since package exports rules object.","wrong":"const rules = require('eslint-plugin-behance').rules","symbol":"rules","correct":"import { rules } from 'eslint-plugin-behance'"},{"note":"configs may be empty; plugin provides no preset configs.","wrong":"const configs = require('eslint-plugin-behance').configs","symbol":"configs","correct":"import { configs } from 'eslint-plugin-behance'"},{"note":"Default import yields the full plugin object with rules and configs.","wrong":"const plugin = require('eslint-plugin-behance')","symbol":"Plugin","correct":"import plugin from 'eslint-plugin-behance'"}],"quickstart":{"code":"// Install: npm install --save-dev eslint eslint-plugin-behance\n// .eslintrc.json\n{\n  \"plugins\": [\"behance\"],\n  \"rules\": {\n    \"behance/no-jasmine-arrow\": \"error\",\n    \"behance/header-comment\": [\"warn\", \"/* Copyright Behance */\"]\n  }\n}","lang":"javascript","description":"Shows configuration to enable both rules with ESLint, including header-comment option."},"warnings":[{"fix":"Consider migrating to modern ESLint flat config or use maintained alternatives.","message":"Plugin has not been updated since 2018; may not work with ESLint >7.","severity":"deprecated","affected_versions":"<=3.0.1"},{"fix":"Always provide the comment text as the second option in the rule configuration.","message":"header-comment rule requires a string argument; missing argument leads to runtime error.","severity":"gotcha","affected_versions":"*"},{"fix":"Upgrade ESLint to at least 4.19.1.","message":"ESLint >=4.19.1 required; older versions may fail to load plugin.","severity":"breaking","affected_versions":"<4.19.1"},{"fix":"Manually add rules to your ESLint config.","message":"Plugin does not export any configs; cannot use 'extends: plugin:behance/recommended'.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'2018':54 '4.19.1':46 'activ':51 'arrow':17,19 'behanc':4,5 'block':32 'callback':24 'comment':28,33 'custom':7 'depend':43 'develop':52 'disallow':18 'enforc':29 'eslint':2,8,45,56,59 'eslint-plugin':58 'eslint-plugin-beh':1 'eslintplugin':57 'file':35 'focus':49 'function':20 'header':27,31 'header-com':26 'jasmin':16,22 'javascript':55 'mainten':40 'maintenance-on':39 'no-jasmine-arrow':14 'peer':42 'plugin':3,9,60 'provid':11 'releas':37 'rule':13 'simpl':47 'sinc':53 'test':23 'top':36 'two':12 'v3.0.1':10","created_at":"2026-04-25T11:19:11.013698+00:00","updated_at":"2026-04-25T11:19:11.013698+00:00","problems":[{"fix":"Install locally: npm install --save-dev eslint-plugin-behance; ensure ESLint is also local.","cause":"Plugin not installed or ESLint cannot resolve it (global vs local mismatch).","error":"ESLint couldn't find the plugin \"eslint-plugin-behance\"."},{"fix":"Add \"behance\" to the plugins section: { \"plugins\": [\"behance\"] }","cause":"Plugin not added to plugins array in ESLint config.","error":"Definition for rule 'behance/no-jasmine-arrow' was not found."}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-behance","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}