Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-native-over-lodash

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-native-over-lodash

Check methods you can use natively without lodash

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Helps you to use Native JS methods where possible

works only with ES6 code

rules are taken from You-Dont-Need-Lodash-Underscore

npm install -D eslint-plugin-native-over-lodash

.eslintrc

{
  "plugins": [
    "native-over-lodash"
  ],
  "rules": [
      "native-over-lodash/concat": 2,
      "native-over-lodash/fill": 2,
      "native-over-lodash/find": 2,
      "native-over-lodash/detect": 2,
      "native-over-lodash/find-index": 2,
      "native-over-lodash/index-of": 2,
      "native-over-lodash/join": 2,
      "native-over-lodash/last-index-of": 2,
      "native-over-lodash/reverse": 2,
      "native-over-lodash/each": 2,
      "native-over-lodash/for-each": 2,
      "native-over-lodash/every": 2,
      "native-over-lodash/all": 2,
      "native-over-lodash/filter": 2,
      "native-over-lodash/select": 2,
      "native-over-lodash/includes": 2,
      "native-over-lodash/contains": 2,
      "native-over-lodash/map": 2,
      "native-over-lodash/collect": 2,
      "native-over-lodash/reduce": 2,
      "native-over-lodash/inject": 2,
      "native-over-lodash/foldl": 2,
      "native-over-lodash/reduce-right": 2,
      "native-over-lodash/foldr": 2,
      "native-over-lodash/size": 2,
      "native-over-lodash/some": 2,
      "native-over-lodash/any": 2,
      "native-over-lodash/is-nan": 2,
      "native-over-lodash/extend-own": 2,
      "native-over-lodash/assign": 2,
      "native-over-lodash/keys": 2,
      "native-over-lodash/repeat": 2,
      "native-over-lodash/to-lower": 2,
      "native-over-lodash/to-upper": 2,
      "native-over-lodash/trim": 2
}

Keywords

FAQs

Package last updated on 14 Sep 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc