import-js / eslint-plugin-import

ESLint plugin with rules that help validate proper imports.
MIT License
5.57k stars 1.57k forks source link

feat: added support for node: protocol #3023

Closed GoldStrikeArch closed 4 months ago

GoldStrikeArch commented 4 months ago

Fix to this issue Added plugin 'prefer-node-builtin-imports'. The plugin is based on 'prefer-node-protocol' rule from 'eslint-plugin-unicorn' plugin and contains 0 dependencies. All test cases are taken from eslint-plugin-unicorn_test

socket-security[bot] commented 4 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/eslint-plugin-prefer-node-builtin-imports@0.0.3 unsafe 0 11.3 kB reimi
npm/eslint@2.13.1 filesystem Transitive: environment, eval, network, shell, unsafe +138 12.5 MB nzakas
npm/glob@1.0.0 None 0 0 B
npm/jquery@3.7.1 None 0 1.25 MB timmywil
npm/lodash.cond@4.5.2 None 0 65.5 kB jdalton
npm/rxjs@8.0.0-alpha.14 None 0 2.5 MB blesh

🚮 Removed packages: npm/object.values@1.2.0, npm/redux@3.7.2, npm/rimraf@2.7.1, npm/safe-publish-latest@2.0.0, npm/semver@6.3.1, npm/sinon@2.4.1

View full report↗︎