1.1.0 • Published 5 months ago

@tronite/eslint-config v1.1.0

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

This package provides ESLint configuration for Tronite projects. It is intended to be used with @tronite/prettier-config and @tronite/tsconfig.

Installation

To install this package, run the following command:

pnpm add -D @tronite/eslint-config

You will also need to install the following peer dependencies:

pnpm add -D eslint prettier typescript

Usage

Add the following to your .eslintrc.js file, depending on your project type:

Node.js

module.exports = require("@tronite/eslint-config/node");

React

module.exports = require("@tronite/eslint-config/react");

Next.js

module.exports = require("@tronite/eslint-config/nextjs");