Gathering detailed insights and metrics for eslint-plugin-sensible
Gathering detailed insights and metrics for eslint-plugin-sensible
Gathering detailed insights and metrics for eslint-plugin-sensible
Gathering detailed insights and metrics for eslint-plugin-sensible
npm install eslint-plugin-sensible
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
37 Commits
3 Forks
2 Watchers
7 Branches
3 Contributors
Updated on Oct 29, 2021
Latest Version
3.1.0
Package Id
eslint-plugin-sensible@3.1.0
Unpacked Size
180.60 kB
Size
64.63 kB
File Count
11
NPM Version
7.24.2
Node Version
12.22.12
Published on
Dec 12, 2023
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
Better comma first indent rules for eslint, and other sane defaults
required
are installed in package.json or exist locally1'use strict' 2 3const path = require('path') 4const fs = require('fs') 5const {promisify} = require('util') 6const crypto = require('crypto') 7 8const readFile = promisify(fs.readFile) 9const EXP = /\d+/ 10const SLEEP_MS = 150 11 12const LONG_STRING = 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz' 13 + 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz' 14 + 'abcdefghijklmnopqrstuvwxyz' 15 16const OPTIONS = { 17 FOO: 1 18, BAR: 2 19, TEST: 'fake' 20, LONG: LONG_STRING 21} 22 23const isFoo = OPTIONS.FOO 24 ? OPTIONS.BAR 25 : OPTIONS.TEST 26 27function getOptions() { 28 return isFoo ? OPTIONS : null 29} 30 31function rand(bytes = 10, cb) { 32 crypto.randomBytes(bytes, (err, buffer) => { 33 if (err) return cb(err) 34 cb(null, buffer.toString('hex')) 35 }) 36} 37 38async function doWork(opts) { 39 const {x, y} = opts 40 try { 41 const file = await readFile(path.join(x, y)) 42 return file 43 } catch (err) { 44 console.error(err) 45 return null 46 } 47} 48 49;(async () => { 50 await new Promise((resolve) => { 51 setTimeout(resolve, SLEEP_MS) 52 }) 53 console.log('ready', 11 + 33) 54})() 55 56module.exports = { 57 ...OPTIONS 58, EXP 59, rand 60, getOptions 61, doWork 62}
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 4/23 approved changesets -- score normalized to 1
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
dependency not pinned by hash detected -- score normalized to 0
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
Project has not signed or included provenance with any releases.
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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