
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@freewheel/eslint-plugin-modulajs
Advanced tools
This plugin contains any custom eslint rules for use in development on the modulajs.
Prerequisites: Node.js (>=6.0), npm version 3+.
npm install --save-dev eslint eslint-plugin-modulajs
Add modulajs to the plugins section of ESLint config:
{
"plugins": [
"modulajs"
]
}
createmodel-attrs-order Stylistic IssuesThis rule enforces the order of the keys in the object that is the argument to createModel.
Please go to this link createmodel-attrs-order for more details.
gettext-params Possible ErrorsNote: please ignore this if you are not using gettext as I18n solution, in future we might move this as a separated rule.
This rule validates that the proper arguments are provided to the gettext family functions.
Please go to this link gettext-params for more details.
no-mutable-event-types-payload-in-models Best Practicesthis rule forbid mutable objects in eventTypes/watchEventTypes payload defination.
Please go to this link no-mutable-event-types-payload-in-models for more details.
no-mutable-prop-types-in-models Best PracticesBy default, this rule checks for the following object-types within the propTypes definition in createModel.
Please go to this link no-mutable-prop-types-in-models for more details.
use-function-in-model-defaults Possible ErrorsThis rule validates that any non-primitive prop's default value defined in Model defaults should be defined with function.
Please go to this link use-function-in-model-defaults for more details.
Please read our contributing guide for details on how to contribute to our project.
FAQs
Custom ESLint rules for modulajs
We found that @freewheel/eslint-plugin-modulajs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.