# @tammergard/eslint-config-base

> A sharable ESLint config for JavaScript with personal preferences

Latest version **6.1.1** (published 2026-06-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tammergard/eslint-config-base
pnpm add @tammergard/eslint-config-base
yarn add @tammergard/eslint-config-base
bun add @tammergard/eslint-config-base
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.1.1 |
| Published | 2026-06-02 |
| First published | 2021-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Author | Filip Tammergård |
| Maintainers | tammergard |
| Keywords | eslint, eslint-config, eslint10, flat-config, config, style-guide, javascript |

## Links

- npm: https://www.npmjs.com/package/@tammergard/eslint-config-base
- Repository: https://github.com/filiptammergard/eslint-config-base
- Homepage: https://github.com/filiptammergard/eslint-config-base#readme
- Issues: https://github.com/filiptammergard/eslint-config-base/issues
- npm.io page: https://npm.io/package/@tammergard/eslint-config-base

## Dependencies (1)

- [@eslint/js](https://npm.io/package/@eslint/js.md) ^10.0.1

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 6.1.1 (latest) — 2026-06-02
- 6.1.0 — 2026-05-21
- 6.0.0 — 2026-05-20
- 5.1.0 — 2024-04-16
- 5.0.6 — 2023-10-24
- 5.0.5 — 2023-10-24
- 5.0.4 — 2023-10-23
- 5.0.3 — 2023-10-23
- 5.0.2 — 2023-10-23
- 5.0.1 — 2023-10-23
- 5.0.0 — 2023-10-12
- 4.0.4 — 2023-08-08
- 4.0.3 — 2023-07-28
- 4.0.2 — 2023-07-08
- 4.0.1 — 2023-04-24
- … 16 more at https://npm.io/package/@tammergard/eslint-config-base/versions

## README

# @tammergard/eslint-config-base

A sharable ESLint config for JavaScript with personal preferences. Ships as a
flat config for ESLint 10.

## Installation

```bash
# npm
npm install --save-dev @tammergard/eslint-config-base eslint

# pnpm
pnpm add -D @tammergard/eslint-config-base eslint

# bun
bun add -d @tammergard/eslint-config-base eslint
```

## Usage

Add the config to your `eslint.config.js`:

```js
import tammergardBaseConfig from "@tammergard/eslint-config-base"

export default [...tammergardBaseConfig]
```

### Browser globals

This config does not include browser globals by default. To add them, install
[`globals`](https://www.npmjs.com/package/globals) and add them in your own
config:

```js
import globals from "globals"
import tammergardBaseConfig from "@tammergard/eslint-config-base"

export default [
	...tammergardBaseConfig,
	{
		languageOptions: {
			globals: { ...globals.browser },
		},
	},
]
```

## License

MIT

---
_Source: https://npm.io/package/@tammergard/eslint-config-base · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
