@grantheaslip/eslint-config
v0.1.1
Published
ESLint config for personal projects
Downloads
1
Readme
@grantheaslip/eslint-config
Shared ESLint config for personal projects.
How to use
Install
npm install @grantheaslip/eslint-config --save-dev
Add to ESLint config
Create a .eslintrc.js
containing (at least) the following:
// Workaround for https://github.com/eslint/eslint/issues/3458
require("@rushstack/eslint-patch/modern-module-resolution");
module.exports = {
extends: [
// Include for all projects:
"@grantheaslip/eslint-config",
// Include for React projects:
"@grantheaslip/eslint-config/react"
// Include for React + Next.js projects:
"@grantheaslip/eslint-config/react"
],
};