Registry / testing / eslint-plugin-camunda-licensed

eslint-plugin-camunda-licensed

JSON →
library1.1.0jsnpmunverified

An ESLint plugin providing shared lint configurations for Camunda-licensed open source projects. Version 1.1.0 is the current stable release. It enforces license headers (MIT, commercial, Apache 2.0) via predefined flat configs. Key differentiator: specifically tailored for Camunda OSS projects, integrates with eslint-plugin-license-header, and requires ESLint 9+. Release cadence is irregular; major v1.0.0 introduced flat config support, breaking from legacy .eslintrc format.

npm install eslint-plugin-camunda-licensed
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-CAMU
E
eslint-plugin-camunda-licensed
testingjavascriptv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

default
import camundaLicensedPlugin from 'eslint-plugin-camunda-licensed'
const camundaLicensedPlugin = require('eslint-plugin-camunda-licensed')
ESM-only; CommonJS require is unsupported for flat config plugins in ESLint 9.
configs
import { configs } from 'eslint-plugin-camunda-licensed'
import { configs } from 'eslint-plugin-camunda-licensed/configs'
configs is a named export from the main entry point, not a subpath.
rules
import { rules } from 'eslint-plugin-camunda-licensed'
Rules are accessible but typically used indirectly via configs.

Show how to import the plugin and use its MIT configuration in an ESLint flat config.

// eslint.config.js import camundaLicensedPlugin from 'eslint-plugin-camunda-licensed'; export default [ // Apply MIT license header rule to all source files ...camundaLicensedPlugin.configs.mit, { files: ['**/*.js'], rules: { // Customize rule options if needed } } ]; // Then run: eslint --fix to add license headers.
Debug
Known issues
breakingv1.0.0 drops support for legacy .eslintrc format; only ESLint 9 flat config is supported.
fix
Migrate your ESLint config to the flat config format (use eslint.config.js).
affects: >=1.0.0
breakingv1.0.0 requires ESLint 9; version ^9 is a peer dependency.
fix
Upgrade ESLint to version 9 or later.
affects: >=1.0.0
gotchaThe plugin uses eslint-plugin-license-header internally to enforce headers. Make sure eslint-plugin-license-header is installed (it's a dependency, not peer).
fix
Ensure eslint-plugin-license-header is in your node_modules (it's installed automatically with the plugin).
affects: >=1.0.0
deprecatedOlder v0.x versions used .eslintrc config format and ESLint < 9. They are now deprecated.
fix
Upgrade to v1.0.0+ and rewrite config to flat format.
affects: <1.0.0
Errors
Common errors & fixes
ESLint couldn't find the plugin "eslint-plugin-camunda-licensed".
Plugin is not installed or not in node_modules.
fix
Run `npm install eslint-plugin-camunda-licensed --save-dev`.
Error: Flat config plugin imported as CommonJS
Using require() instead of import for the plugin.
fix
Use `import camundaLicensedPlugin from 'eslint-plugin-camunda-licensed'` and ensure your config file is an ES module (set type:module in package.json).
Configuration for rule "camunda-licensed/license-header" is invalid
Incorrect rule options or missing configuration.
fix
Use one of the predefined configs (mit, commercial, apache) via `camundaLicensedPlugin.configs.mit` instead of manually specifying rule options.
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency - requires eslint@^9
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-plugin-camunda-licensed — npm install eslint-plugin-camunda-licensed · libregistry