eslint-config-jeason-base

1.0.0 • Public • Published

eslint-config-jeason-base

This package includes the shareable ESLint configuration used by Jeason.

Usage

If you want to use this ESLint configuration in a project, you can install it with following steps.

First, install this package, ESLint and the necessary plugins.

# first switch to npm or taobao npm resource 
nrm use npm/cnpm
npm install --save-dev eslint babel-eslint eslint-config-jeason-base eslint-plugin-import eslint-plugin-flowtype eslint-plugin-jsx-a11y eslint-plugin-react

Then create a file named .eslintrc with following contents in the root folder of your project:

{
  "extends": "eslint-config-jeason-base"
}

That's it! You can override the settings from eslint-config-jeason-base by editing the .eslintrc file. Learn more about configuring ESLint on the ESLint website.

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-jeason-base

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jeason