2.6.0 • Published 11 months ago

@do-ob/eslint-config v2.6.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

TypeScript ESM Configuration

A standard base configuration for linting modern TypeScript ESM projects in the do-ob organization. Ideal for NodeJS libraries or applications.

:warning: This package is only compatible with ESLint 9.0.0 or higher.

Installation

Install the configuration package with NPM or PNPM.

npm install -D @do-ob/eslint-config
pnpm add -D @do-ob/eslint-config

Extend the package's eslint.config.{js,mjs,cjs}.

import doob from '@do-ob/eslint-config';

export default [
  ...doob.configs.recommended,
];

Includes the Following Recommended Configuration Packages

PackageGitHub Repository
@eslint/jseslint/eslint
typescript-eslinttypescript-eslint/typescript-eslint
eslint-plugin-tailwindcssfrancoismassart/eslint-plugin-tailwindcss
eslint-plugin-react-compilerfacebook/react

Feel free to explore the repositories for more information and documentation.

Ignored Directories

The configuration package ignores the following directories by default:

  • node_modules
  • storybook-static
  • dist
  • lib
  • build
  • out
  • _
  • .next