open-index/open-npm huggingface dataset:
npm package: @sngular/prettier-config
Description: SNGULAR's prettier config
Latest version: 1.0.0

# @sngular/prettier-config

Sharable [prettier](https://prettier.io/) config enforcing SNGULAR style guidelines.

## Getting started

```bash
npm install --save-dev @sngular/prettier-config
echo "module.exports = require(\"@sngular/prettier-config\");" > prettier.config.cjs
```

Once you have it installed and configured you can add the following script into your `package.json`:

```json
{
	"scripts": {
		"lint": "npm run lint:prettier",
		"lint:prettier": "prettier --check .",
		"format": "npm run format:prettier",
		"format:prettier": "npm run lint:prettier -- --write"
	}
}
```

Now you can run `npm format` for formatting all your project code or `npm lint` to check project code formatting.

## Rules

### Indent

We decide to use tabs instead of spaces that recommends eslint.

Reasons:

- logical: that's what they're used for.
- file size: tab is just 1 character.
- accessibility: you can customize your own indentation width.

## VSCode recommendations

Install [Prettier VSCode extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode), and set Prettier as default formatter in your `VSCode settings.json` with:

```
"editor.defaultFormatter": "esbenp.prettier-vscode"
```

If you prefer to automate Prettier execution, you can add this configuration and it will be executed every time you save a file.

```
"editor.formatOnSave": true
```
npm package: @sngular/semantic-release-config
Description: SNGULAR's semantic-release config
Latest version: 2.0.0

# @sngular/semantic-release-config

Sharable [semantic-release](https://semantic-release.gitbook.io/semantic-release/) config enforcing SNGULAR style guidelines. Uses:

- [@semantic-release/commit-analyzer](https://github.com/semantic-release/commit-analyzer)
- [@semantic-release/release-notes-generator](https://github.com/semantic-release/release-notes-generator)
- [@semantic-release/gitlab](https://github.com/semantic-release/gitlab)
- [@semantic-release/changelog](https://github.com/semantic-release/changelog)
- [@semantic-release/npm](https://github.com/semantic-release/npm)
- [@semantic-release/git](https://github.com/semantic-release/git)

## Getting started

Install:

```bash
npm install --save-dev @sngular/semantic-release-config
```

Config for Single package repo:

```bash
echo "module.exports = require(\"@sngular/semantic-release-config\");" > release.config.cjs
```

config for monorepo:

```bash
echo "module.exports = require(\"@sngular/semantic-release-config/monorepo\");" > release.config.cjs
```
npm package: @sngular/tsconfig
Description: Sngular's tsconfig
Latest version: 1.0.0

# @sngular/tsconfig

Sharable [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) enforcing SNGULAR style guidelines.

## Getting started

Install:

```bash
npm install --save-dev @sngular/tsconfig
```

Config for basic config:

```bash
echo "{ \"extends\": \"@sngular/tsconfig\" }" > tsconfig.json
```

Config for check only config:

```bash
echo "{ \"extends\": \"@sngular/tsconfig/checkOnly\" }" > tsconfig.json
```

After that you have to include:

- compilerOptions.outDir
- compilerOptions.rootDir
- include
- exclude

The final aspect of `tsconfig` should be like:

```json
{
	"extends": "@sngular/tsconfig",
	"compilerOptions": {
		"outDir": "./dist-types",
		"rootDir": "."
	},
	"include": ["src"],
	"exclude": ["dist-types"]
}
```