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/cnpmnpm 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.