Gathering detailed insights and metrics for eslint-config-get-off-my-lawn
Gathering detailed insights and metrics for eslint-config-get-off-my-lawn
Gathering detailed insights and metrics for eslint-config-get-off-my-lawn
Gathering detailed insights and metrics for eslint-config-get-off-my-lawn
A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.
npm install eslint-config-get-off-my-lawn
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
54 Stars
276 Commits
8 Forks
3 Watchers
2 Branches
5 Contributors
Updated on May 17, 2025
Latest Version
7.2.0
Package Id
eslint-config-get-off-my-lawn@7.2.0
Unpacked Size
70.54 kB
Size
15.79 kB
File Count
25
NPM Version
8.1.2
Node Version
16.13.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
28
1
A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.
As developers, we spend more time reading code than writing it. These rules aim to make reading JavaScript a priority.
That means some rules will feel oppressive or "over the top" for many developers, which is fine. If you don't like it, you can get off my lawn! ... Or extend the rules and override them with the ones that bother you. Either way. 😊
This config also comes with the following plugins, and corresponding rules, baked in.
Each and every single rule has been meticulously poured over and purposefully hand picked or excluded.
eslint-config-get-off-my-lawn will automatically enable and disable plugins (and thus rules) based on your package.json
dependencies. Not using React? Cool. eslint-plugin-jsx-a11y, eslint-plugin-react, eslint-plugin-react-hooks, and eslint-plugin-react-native won't be included. Not using a React version that supports hooks? eslint-plugin-react-hooks will be disabled. Not a React Native project? No problem. Those rules won't be included. I think you get the idea... 😉
$ npm i eslint eslint-config-get-off-my-lawn --save-dev
$ yarn add eslint eslint-config-get-off-my-lawn --dev
Create an ESLint config in your package.json
or .eslintrc.js
file.
1{ 2 "name": "my-awesome-project", 3 "eslintConfig": { 4 "extends": "get-off-my-lawn", 5 "rules": { 6 // enable additional rules, override rule options, or disable rules 7 } 8 } 9}
1module.exports = { 2 extends: 'get-off-my-lawn', 3 rules: { 4 // enable additional rules, override rule options, or disable rules 5 }, 6};
Once your rules are configured, we recommend running the following command in your package.json
as an npm script.
eslint . --ext .js,.json
Supported extensions:
.js
.jsx
.json
.json5
.jsonc
.ts
.tsx
Love eslint-config-get-off-my-lawn? Love prettier? Well you're in luck!
eslint-config-get-off-my-lawn will automatically detect if your project is using prettier and it will apply eslint-config-prettier to turn off all rules that are unnecessary or might conflict with prettier.
But what about TypeScript? Don't worry, we got you!
eslint-config-get-off-my-lawn will automatically detect if your project is using TypeScript and it will configure and enable @typescript-eslint/eslint-plugin for you. How's that for handy?
MIT © Michael Novotny
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/25 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
17 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More