@4react/eslint-config
@4react ESLint config
Last updated 2 months ago by matteozanoncello .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @4react/eslint-config 
SYNC missed versions from official npm registry.

@4react / eslint-config

ESlint configuration for React projects.

Usage with JavaScript

JavaScript configuration use babel-eslint parser.

Install dependencies

npm i -D babel-eslint @4react/eslint-config

Extends configuration in .eslintrc file:

{
  "parser": "babel-eslint",
  "extends": "@4react"
}

Usage with TypeScript

TypeScript configuration use @typescript-eslint parser.

Install dependencies

npm i -D @typescript-eslint/parser @4react/eslint-config

Extends configuration in .eslintrc file:

{
  "parser": "@typescript-eslint/parser",
  "extends": "@4react/eslint-config/typescript"
}

Plugins

List of all used plugins:

  • eslint-plugin-import
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • eslint-plugin-jsdoc
  • @typescript-eslint/eslint-plugin (TypeScript only)

Current Tags

  • 2020.1.3                                ...           latest (2 months ago)

1 Versions

  • 2020.1.3                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 11
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |