Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/3846masa/configs


https://github.com/3846masa/configs

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

# @3846masa/configs

## Install

```
yarn add --dev github:3846masa/configs
```

## Usage

### TypeScript

```json
// tsconfig.json
{
"extends": "@3846masa/configs/typescript/tsconfig.json"
}
```

### ESLint

```js
// eslint.config.mjs
import { configs as sharedConfigs } from '@3846masa/configs/eslint/config.mjs';

/** @type {import('eslint').Linter.FlatConfig[]} */
const configs = [...sharedConfigs];

export default configs;
```

### Prettier

```js
// prettier.config.mjs
import { config as sharedConfig } from '@3846masa/configs/prettier/config.mjs';

export default {
...sharedConfig,
};
```

### Renovate

```json
// renovate.json
{
"extends": ["github>3846masa/configs//renovate/default"]
}
```

## License

MIT (c) 3846masa