
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
eslint-plugin-plm
Advanced tools
PLM eslint rules
A set of eslint rules for plm javascript projects.
This project uses yarn, but any
yarn commands can be replaced with npm.
Dev install
git clone git@github.com:patientslikeme/eslint-plugin-plm.git
cd eslint-plugin-plm
yarn install
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-plm globally.
Run npm install --save-dev eslint-plugin-plm in your js project.
Add plm to the plugins section of your .eslintrc configuration file.
You can omit the eslint-plugin- prefix:
{
"plugins": [
"plm"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"plm/rule-name": 2
}
}
This project uses yeoman. To add a new rule:
yarn generate:rule
Make sure all tests are passing: yarn run test.
For more details on writing rules, see this post and the official docs.
Copy and paste the tests cases for your rule into AST explorer to make life easier.
FAQs
Custom eslint rules for PatientsLikeMe js projects
The npm package eslint-plugin-plm receives a total of 345 weekly downloads. As such, eslint-plugin-plm popularity was classified as not popular.
We found that eslint-plugin-plm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.