3.0.0 • Published 8 months ago

@ae-studio/eslint-config v3.0.0

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

AE Studio ESLint Config

npm version npm license

What's included?

Install

npm install -D eslint @ae-studio/eslint-config

Next.js

As described in this GitHub issue, Next.js is still being updated to support ESLint 9. It has partial support for the new config format, but it's not fully compatible yet.

For this reason, you need to install version 2.1.0 of this package to be able to use it with Next.js, and continue using ESLint 8.

npm install -D eslint@8 @ae-studio/eslint-config@2.1.0

For setting out the package, please refer to v2.1.0 documentation.

Setup

Inside your eslint.config.mjs file, add the following configuration based on your project type:

Node.js

export { default } from "@ae-studio/eslint-config/node";

React

export { default } from "@ae-studio/eslint-config/react";

React + Tailwind

import reactConfig from "@ae-studio/eslint-config/react";
import tailwindConfig from "@ae-studio/eslint-config/tailwind";

export default [...reactConfig, ...tailwindConfig];

Built with 🧡 by AE Studio