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

eslint-config-jhipster-react

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-jhipster-react

Provides JHipster ESLint shareable configurations for React applications

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
937
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-jhipster-react

Provides JHipster ESLint shareable configurations used in the JHispter generated React applications.

NPM version Dependency Status code style: prettier Downloads

Overview

JHipster react shareable configurations.

Extends

JHipster react shareable configuration extends the base set of rules from eslint-config-jhipster to add react specific linting rules.

'plugin:react/recommended',
'jhipster'

Rules

In addition to the recommended set of configurations, JHipster overrides following rules.

    '@typescript-eslint/no-unused-vars': 'off',
    '@typescript-eslint/ban-types': [
      'error',
      {
        types: {
          Object: 'Use {} instead.'
        }
      }
    ],
    '@typescript-eslint/array-type': 'off',
    '@typescript-eslint/unbound-method': 'off',
    'default-case': 'error',
    complexity: ['error', 40],
    'no-invalid-this': 'off',
    'react/prop-types': 'off',
    'react/display-name': 'off'

License

Apache-2.0 © Vishal Mahajan

Keywords

FAQs

Package last updated on 05 Sep 2019

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