ESLint plugin providing custom linting rules for OroPlatform, OroCRM, and OroCommerce projects. Current stable version is 0.0.3 (released 2021). It adds a single rule, 'named-constructor', that enforces naming conventions for Backbone.js constructor functions (View, Model, Collection). Requires ESLint >=7.23.0 and has no active development since 0.0.2. Differentiators: specifically targets Oro ecosystem conventions, but otherwise limited in scope and community adoption compared to general Backbone linting tools.
npm install eslint-plugin-oroVerified import paths — ran on the pinned version, not inferred.
Configures eslint-plugin-oro with recommended settings and the named-constructor rule. Sets Backbone extendable types.
upgrade eslint to >=7.23.0
check documentation for other plugins if more rules are needed
provide array with Backbone class name suffixes (e.g., ['View','Model','Collection'])
consider forking or using alternative eslint plugins for Backbone
run 'npm install eslint-plugin-oro --save-dev'
use string severity: 'off', 'warn', or 'error'