Socket
Socket
Sign inDemoInstall

@loveholidays/eslint-plugin

Package Overview
Dependencies
1
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @loveholidays/eslint-plugin

Custom LoveHolidays react rules


Version published
Maintainers
3
Created

Readme

Source

react-eslint

Custom plugin and rules for the loveholidays react projects

This implements the following rules, check the docs folder to know more:

  • lvh/sort-imports
  • lvh/best-practices
  • lvh/mandatory-practices
  • lvh/required-translations

Updating

Please add a tag for a new version and use that when referring to this in the package.json of the host application

TODO

  • [best-practices] do not use bindActionCreators in jsx files (with autofix?)
  • improve translation validator
  • autofix for sort-components
  • [mandatory-practices] autofix for sort-keys
  • [best-practices] autofix for sort-imports
  • [best-practices] no getters or setters
  • [mandatory-practices] tests required
  • [best-practices] use destructure for state and props
  • [best-practices] get and getIn fallback (with autofix?)
  • use selectors to map to props

Keywords

FAQs

Last updated on 26 Jan 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc