@jzone/eslint-config
An ESLint Shareable Config
Install
# npm
npm install @jzone/eslint-config -D
# yarn
yarn add @jzone/eslint-config -D
Webpack Usage
// .eslintrc.js
module.exports = {
extends: ['@jzone/eslint-config'],
}
// .eslintignore
# Ignore files
node_modules/*
build/*
Introduction
- use
babel-eslint
parser - extends
eslint-config-standard
andeslint-config-standard-jsx
- add
react-hooks
plugin - other...