
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
eslint-plugin-get-off-my-lawn
Advanced tools
Highly opinionated, ESLint plugin with custom rules to produce beautiful, readable JavaScript.
Highly opinionated, ESLint plugin with custom rules to produce beautiful, readable JavaScript.
$ npm i eslint eslint-plugin-get-off-my-lawn --save-dev
$ yarn add eslint eslint-plugin-get-off-my-lawn --dev
Create an ESLint config in your package.json
or .eslintrc.js
file.
This plugin exports a recommended
config that enforces good practices. You can optionally enable it or explicitly add rules yourself.
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": ["plugin:get-off-my-lawn/recommended"], // (optional)
"plugins": ["get-off-my-lawn"],
"rules": {
// enable additional rules, override rule options, or disable rules
}
}
}
module.exports = {
extends: ['plugin:get-off-my-lawn/recommended'], // (optional)
plugins: ['get-off-my-lawn']
rules: {
// enable additional rules, override rule options, or disable rules
},
};
Name | Description | Recommended | Fixable |
---|---|---|---|
get-off-my-lawn/prefer-arrow-functions | Prefer using arrow function over traditional functions. | ✅ | ❌ |
get-off-my-lawn/prefer-length-truthiness | Prefer length truthiness instead of explicitly checking for zero. | ❌ | ✅ |
MIT © Michael Novotny
FAQs
Highly opinionated, ESLint plugin with custom rules to produce beautiful, readable JavaScript.
We found that eslint-plugin-get-off-my-lawn 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.