0.3.1 • Published 7 months ago

@grantheaslip/eslint-config v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@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 an eslint.config.js containing:

import grantheaslip from "@grantheaslip/eslint-config";

const eslintConfig = defineConfig({
  extends: [
    grantheaslip.base, // (for all projects)
    grantheaslip.typescript, // (for TypeScript projects)
    grantheaslip.react, // (for React projects)
    grantheaslip.next, // (for Next.js projects)
  ],
});

export default eslintConfig;