@ttoss/eslint-config
@ttoss/eslint-config is a set of rules for ESLint to use on ttoss ecosystem. It uses the new ESLint flat configuration format.
Installation
pnpm add -D @ttoss/eslint-config
Usage
Add the following to your eslint.config.mjs
file:
import ttossEslintConfig from '@ttoss/eslint-config';
export default [...ttossEslintConfig];
Next.js projects
Add the following to your eslint.config.mjs
file:
import ttossEslintConfig from '@ttoss/eslint-config/next';
export default [...ttossEslintConfig];