0.0.3 • Published 2 months ago
@spark-dist/eslint-config-react v0.0.3
@spark-dist/eslint-config-react
React eslint config for spark
Installation
$ npm i eslint @spark-dist/eslint-config-react --save-dev
$ yarn add eslint @spark-dist/eslint-config-react --save-dev
$ pnpm add eslint @spark-dist/eslint-config-react --save-dev
Usage
Add @spark-dist/eslint-config-react
to the extends section of your .eslintrc
configuration file.
// .eslintrc.js
{
extends: ['@spark-dist/eslint-config-react']
}
You can omit the eslint-config-
prefix
// .eslintrc.js
{
extends: ['@spark-dist/react']
}