Registry / testing / eslint-plugin-behance

eslint-plugin-behance

JSON →
library3.0.1jsnpmunverified

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.

npm install eslint-plugin-behance
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-BEHA
E
eslint-plugin-behance
testingjavascriptv3.0.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rules
import { rules } from 'eslint-plugin-behance'
const rules = require('eslint-plugin-behance').rules
CommonJS require works but ESM import is valid since package exports rules object.
configs
import { configs } from 'eslint-plugin-behance'
const configs = require('eslint-plugin-behance').configs
configs may be empty; plugin provides no preset configs.
Plugin
import plugin from 'eslint-plugin-behance'
const plugin = require('eslint-plugin-behance')
Default import yields the full plugin object with rules and configs.

Shows configuration to enable both rules with ESLint, including header-comment option.

// Install: npm install --save-dev eslint eslint-plugin-behance // .eslintrc.json { "plugins": ["behance"], "rules": { "behance/no-jasmine-arrow": "error", "behance/header-comment": ["warn", "/* Copyright Behance */"] } }
Debug
Known issues
deprecatedPlugin has not been updated since 2018; may not work with ESLint >7.
fix
Consider migrating to modern ESLint flat config or use maintained alternatives.
affects: <=3.0.1
gotchaheader-comment rule requires a string argument; missing argument leads to runtime error.
fix
Always provide the comment text as the second option in the rule configuration.
affects: *
breakingESLint >=4.19.1 required; older versions may fail to load plugin.
fix
Upgrade ESLint to at least 4.19.1.
affects: <4.19.1
gotchaPlugin does not export any configs; cannot use 'extends: plugin:behance/recommended'.
fix
Manually add rules to your ESLint config.
affects: *
Errors
Common errors & fixes
ESLint couldn't find the plugin "eslint-plugin-behance".
Plugin not installed or ESLint cannot resolve it (global vs local mismatch).
fix
Install locally: npm install --save-dev eslint-plugin-behance; ensure ESLint is also local.
Definition for rule 'behance/no-jasmine-arrow' was not found.
Plugin not added to plugins array in ESLint config.
fix
Add "behance" to the plugins section: { "plugins": ["behance"] }
Upgrade
Version history
3.0.1latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required for plugin to work
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-plugin-behance — npm install eslint-plugin-behance · libregistry