
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
@homebound/eslint-plugin
Advanced tools
custom rules for homebound projects
You'll first need to install ESLint:
yarn add -D eslint
Next, install @homebound/eslint-plugin
:
yarn add -D @homebound/eslint-plugin
Add homebound-rules
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@homebound"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@homebound/no-b-add-column": 2
}
}
Name | Description |
---|---|
no-b-add-column | we should be using the custom addColumn for indexing purposes, rather than the MigrationBuilder's addColumn |
no-cyanaudit-in-migrations | Prevents running cyanaudit logic in migrations |
prevent-test-file-imports-in-app-code | Prevents importing test code in application logic |
This repository followed this tutorial to initialize.
TL;DR:
yarn yo eslint
Rule
homebound
ESLint Plugin
no-b-add-column
docs/rules/your-rule.md
test/lib/rules/your-rule.js
babel-eslint
to quickly test a tool in the UI. Add pass/fail code to the top left, and iterate on your rule in the bottom left. The bottom right will show the ESLint output of your rule. Use the Top Right to explore the AST (I suggest turning on Methods, and turning off Location Data and Type Keys)FAQs
Custom rules for homebound projects
The npm package @homebound/eslint-plugin receives a total of 0 weekly downloads. As such, @homebound/eslint-plugin popularity was classified as not popular.
We found that @homebound/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 40 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.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.