Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.55 KB

README.md

File metadata and controls

60 lines (43 loc) · 1.55 KB

do-ob logo

TypeScript ESM Configuration

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

⚠️ 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

Package GitHub Repository
@eslint/js eslint/eslint
typescript-eslint typescript-eslint/typescript-eslint
eslint-plugin-tailwindcss francoismassart/eslint-plugin-tailwindcss
eslint-plugin-react-compiler facebook/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