base: Linter.FlatConfig[] = ...

This configuration is the base configuration for the others. It can be used standalone in a project that doesn't need one of the extensions. It extends a number of shared configs and sets some strict opinionated configs for the following file types:

  • Typescript
  • CJS
  • ESM
  • JSON
  • Jest test files

Example

// eslint.config.js
export { base as default } from "@cprussin/eslint-config";

Generated using TypeDoc