@zhike/eslint-config-react

0.1.1 • Public • Published

eslint-config-zhike-react

React eslint rules for zhike

codestyle travis npm npm npm npm

GitHub forks GitHub stars

An ESLint Shareable Config for Zhike Team react projects

Install

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

or

yarn add -D @zhike/eslint-config-react

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the Zhike JavaScript Style shareable config, first run this:

npm install --save-dev @zhike/eslint-config-react\
  @zhike/eslint-config\
  eslint-config-standard\
  eslint-config-standard-react\
  eslint-plugin-standard\
  eslint-plugin-promise\
  eslint-plugin-import\
  eslint-plugin-react\
  eslint-plugin-node\
  eslint

Then, add this to your .eslintrc file:

{
  "extends": "@zhike/eslint-config-react"
}

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Badge

You can add a badge to your README.md file now.

With code:

![codestyle](https://img.shields.io/badge/codestyle-%40zhike%2Freact-green.svg)

It looks like codestyle

Contribute

Contribute Guide

License

MIT. Copyright (c) Zhike.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @zhike/eslint-config-react

      Weekly Downloads

      0

      Version

      0.1.1

      License

      MIT

      Unpacked Size

      13.3 kB

      Total Files

      9

      Last publish

      Collaborators

      • misakisaysyes
      • smartfe
      • jayi
      • zhiker
      • maintao
      • renxing
      • shenggao