Skip to content

Repository files navigation

@timbic/eslint-config

npm package github repo

Extensible ESLint flat configuration for smart developers.

Usage

pnpm add -D eslint @timbic/eslint-config
// eslint.config.{js,mjs,ts,mts}
import withTimbic from "@timbic/eslint-config";

export default withTimbic();

// or

export default withTimbic([
	// your eslint configs
]);

Your configs will be appended at the end of the array, so they take precedence over the default rules.

What's Included

This config provides a comprehensive ESLint setup with the following rule sets:

  • JS recommended rules from ESLint and the community
  • TS rules for projects that use TypeScript
  • Opinionated ESM import rules

Our config also automatically ignores:

  • dist/
  • node_modules/
  • .vercel/
  • .netlify/
  • public/

as well as Git-ignored files (via eslint-config-flat-gitignore)

Inspect the config

You can use this command to inspect all the rules and configs in your resolved flat configuration.

pnpm dlx @eslint/config-inspector

About

Extensible eslint flat configuration

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages