This package has been deprecated

Author message:

For study, not used yet sorry :|

@mhirba/eslint-config-react

2.1.0 • Public • Published

@mhirba/eslint-config-react

build status version

Summary

Overview

A Node.js ESLint configuration for Mhirba source code.

L'exception vient toujours de la raison de la règle. _ Joseph Joubert

Installation

Use Yarn or NPM to install.

yarn add --dev @mhirba/eslint-config-react

or

npm install --save-dev @mhirba/eslint-config-react

Usage

Simple. Basic.

Extends your specific ESLint configuration and add your rules; For example in an .eslintrc.js file:

module.exports = {
  extends: '@mhirba/react',
  globals: {
    iWantThisGlobal: true
  },
  rules: {
    "react/jsx-uses-react": "error",
    "react/jsx-uses-vars": "error",
  }

Credits

Craft with ❤️ by Majdi Toumi|Mhirba in Paris.

Package Sidebar

Install

npm i @mhirba/eslint-config-react

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

5.99 kB

Total Files

15

Last publish

Collaborators

  • ch0pper