
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
eslint-index
Advanced tools
CLI for finding and managing rules in ESLint config files
List all the rules!
Then count them, or create a pretty table!
npm install eslint-index --save-dev
eslint-index path/to/.eslintrc [options]
This package is intended to be used as a local utility.
It needs both eslint
and the eslint-plugins
referenced in the .eslintrc.*
config file, to be installed alongside it.
Using it as a global utility will throw an error if eslint
and the eslint-plugins
referenced in the .eslintrc.*
config file are not installed globally.
It is recommended that you use it within your package.json
scripts:
"scripts": {
"list-rules": "eslint-index .eslintrc",
"count-rules": "eslint-index .eslintrc --format number",
"table-rules": "eslint-index .eslintrc --format table",
"list-rules-with-docs": "eslint-index .eslintrc --docs",
"list-eslint-rules": "eslint-index .eslintrc --groups eslint",
"list-disabled-rules": "eslint-index .eslintrc --status omitted off"
}
Alternatively, you can add ./node_modules/.bin
to your $PATH
.
This will allow you to use any node binaries within your project:
ยป cd some-project-with-eslint-index-installed
ยป which eslint-index
./node_modules/.bin/eslint-index
ยป eslint-index .eslintrc --format table
โโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโ
โ โ total โ omitted โ off โ warn โ error โ
โโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโค
โ eslint โ 233 โ 0 โ 29 โ 2 โ 202 โ
โโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโค
โ react โ 53 โ 4 โ 0 โ 0 โ 49 โ
โโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโ
Option | Alias | Description | Arg Type | Arg Options |
---|---|---|---|---|
--help | -h | Display help | Boolean | N/A |
--docs | -d | Display docs alongside rules | Boolean | N/A |
--format | -f | Format rules | String | `list |
--status | -s | Filter rules by status | Array<String> | `omitted |
--groups | -g | Filter rules by group/plugin | Array<String> | `eslint |
--include | -i | Filter rules by id | Array<String> | rule-id-one rule-id-two |
--exclude | -e | Reject rules by id | Array<String> | rule-id-one rule-id-two |
eslint-index .eslintrc --format table
eslint-index .eslintrc --format number
eslint-index .eslintrc --status omitted off
eslint-index .eslintrc --status warn error
eslint-index .eslintrc --groups eslint react
eslint-index .eslintrc --groups eslint --status warn error
eslint-index .eslintrc --groups eslint --status warn error --format number
eslint-index .eslintrc --include semi curly
eslint-index .eslintrc --exclude semi curly
eslint-index .eslintrc --docs
eslint-index .eslintrc --groups eslint react --docs
Matthew Wagerfield @wagerfield
FAQs
CLI for finding and managing rules in ESLint config files
The npm package eslint-index receives a total of 688 weekly downloads. As such, eslint-index popularity was classified as not popular.
We found that eslint-index 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.