# @eclipse-glsp/config

> Meta package that provides Typescript, eslint and prettier configurations and common dev dependencies for GLSP projects

Latest version **2.8.0** (published 2026-08-28) · (EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0) license · 0 weekly downloads

## Install

```sh
npm install @eclipse-glsp/config
pnpm add @eclipse-glsp/config
yarn add @eclipse-glsp/config
bun add @eclipse-glsp/config
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 2.8.0 |
| Published | 2026-08-28 |
| First published | 2021-09-09 |
| Weekly downloads | 0 |
| License | (EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0) |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 15 |
| Unpacked size | 38.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | Eclipse GLSP |
| Maintainers | tortmayr, planger, eclipse-glsp-bot, mfleck, jfaltermeier, ndoschek, lkoehler |
| Keywords | eclipse, config |

## Links

- npm: https://www.npmjs.com/package/@eclipse-glsp/config
- Repository: https://github.com/eclipse-glsp/glsp
- Homepage: https://www.eclipse.org/glsp/
- Issues: https://github.com/eclipse-glsp/glsp/issues
- npm.io page: https://npm.io/package/@eclipse-glsp/config

## Dependencies (15)

- [eslint](https://npm.io/package/eslint.md) ^10.5.0
- [rimraf](https://npm.io/package/rimraf.md) ^6.1.3
- [globals](https://npm.io/package/globals.md) ^17.6.0
- [prettier](https://npm.io/package/prettier.md) ^3.8.4
- [@eslint/js](https://npm.io/package/@eslint/js.md) ^10.0.1
- [typescript-eslint](https://npm.io/package/typescript-eslint.md) ^8.0.0
- [eslint-plugin-no-null](https://npm.io/package/eslint-plugin-no-null.md) ^1.0.2
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^10.0.0
- [eslint-plugin-import-x](https://npm.io/package/eslint-plugin-import-x.md) ^4.16.2
- [@eclipse-glsp/ts-config](https://npm.io/package/@eclipse-glsp/ts-config.md) 2.8.0
- [@stylistic/eslint-plugin](https://npm.io/package/@stylistic/eslint-plugin.md) ^5.10.0
- [@eclipse-glsp/eslint-config](https://npm.io/package/@eclipse-glsp/eslint-config.md) 2.8.0
- [@eclipse-glsp/prettier-config](https://npm.io/package/@eclipse-glsp/prettier-config.md) 2.8.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^4.0.0
- [@tony.ganchev/eslint-plugin-header](https://npm.io/package/@tony.ganchev/eslint-plugin-header.md) ^3.1.1

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 2.8.0 (latest) — 2026-08-28
- 2.9.0-next.20 (next) — 2026-09-25
- 2.9.0-next.9 — 2026-09-17
- 2.9.0-next.3 — 2026-09-16
- 2.9.0-next.2 — 2026-09-16
- 2.9.0-next.1 — 2026-09-02
- 2.8.0-next.19 — 2026-06-23
- 2.8.0-next.18 — 2026-06-23
- 2.8.0-next.17 — 2026-06-23
- 2.8.0-next.16 — 2026-06-22
- 2.8.0-next.15 — 2026-06-22
- 2.8.0-next.12 — 2026-06-20
- 2.8.0-next.11 — 2026-06-18
- 2.8.0-next.9 — 2026-06-16
- 2.8.0-next.8 — 2026-06-16
- … 117 more at https://npm.io/package/@eclipse-glsp/config/versions

## README

# Eclipse GLSP - Shared configuration

Common shared configuration for Eclipse GLSP components that are implemented with Typescript.
Provides a meta package that export common configuration objects for:

- [Typescript](https://www.typescriptlang.org/) (`tsconfig.json`)
- [ESLint](https://eslint.org/) (`.eslintrc`)
- [Prettier](https://prettier.io/) (`.prettierrc`).

The package is available via npm and is used by all GLSP components implemented with Typescript.
ESLint and prettier are included as direct dependencies.

## Components

- [`@eclipse-glsp/ts-config`](https://www.npmjs.com/package/@eclipse-glsp/ts-config): Shared Typescript configuration for GLSP projects
- [`@eclipse-glsp/eslint-config`](https://www.npmjs.com/package/@eclipse-glsp/eslint-config): Shared ESLint configuration for GLSP projects
- [`@eclipse-glsp/prettier-config`](https://www.npmjs.com/package/@eclipse-glsp/prettier-config): Shared Prettier configuration for GLSP projects

## Install

```bash
pnpm add --save-dev @eclipse-glsp/config
```

## Usage

### TSConfig

**Create a `tsconfig.json`**:

```json
{
    "extends": "@eclipse-glsp/ts-config",
    "compilerOptions": {
        "rootDir": "src",
        "outDir": "lib"
    }
}
```

In addition, a custom configuration for projects that use `mocha` is available:

- `@eclipse-glsp/ts-config/mocha`

### ESLint

**Create a `.eslintrc.js`**:

```javascript
/** @type {import('eslint').Linter.Config} */
module.exports = {
    extends: '@eclipse-glsp',
    parserOptions: {
        tsconfigRootDir: __dirname,
        project: 'tsconfig.json'
    }
};
```

### Prettier

**Add to the `package.json`**:

```json
{
    // ...
    "prettier": "@eclipse-glsp/prettier-config"
}
```

**Or add a `.prettierrc` file to the workspace root**:

```json
"@eclipse-glsp/prettier-config"
```

## More information

For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
If you have questions, please raise them in the [discussions](https://github.com/eclipse-glsp/glsp/discussions) and have a look at our [communication and support options](https://www.eclipse.org/glsp/contact/).

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