open-index/open-npm huggingface dataset:
npm package: @prayerslayer/prettyprint
Description: JS value => pretty printed string
Author: Nikolaus Piccolotto
Latest version: 1.0.0

# prettyprint

[![Build status](https://travis-ci.org/prayerslayer/prettyprint.svg?branch=master)](https://travis-ci.org/prayerslayer/prettyprint)
[![Coverage Status](https://coveralls.io/repos/github/prayerslayer/prettyprint/badge.svg?branch=master)](https://coveralls.io/github/prayerslayer/prettyprint?branch=master)

JSON.stringify with support for non-JSON values (like Symbols)

# Installation

    npm install @prayerslayer/prettyprint

# Usage

ES5:

~~~ javascript
var pretty = require('@prayerslayer/prettyprint')
console.log(pretty({foo: Symbol()}))
/*
{
  "foo": Symbol()
}
*/
~~~

ES6:

~~~ javascript
import pretty from '@prayerslayer/prettyprint'
console.log(pretty({foo: Symbol()}))
/*
{
  "foo": Symbol()
}
*/
~~~

# License

MIT, see [LICENSE](LICENSE)
npm package: @prazdevs/eslint-config-typescript
Description: Get this config by extending [`@prazdevs/eslint-config-typescript`](https://www.npmjs.com/package/@prazdevs/eslint-config-typescript).
Latest version: 3.2.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# TypeScript

Get this config by extending [`@prazdevs/eslint-config-typescript`](https://www.npmjs.com/package/@prazdevs/eslint-config-typescript).

> _Only looking for JavaScript linting? Check out [`@prazdevs/eslint-config-javascript`](https://github.com/prazdevs/eslint-config/blob/main/packages/javascript)._

## Prerequisites
___
This config needs the following dependencies installed:
```js
'eslint': '>=7.30.0',
```

## Plugins
___
This config uses the following plugins:
```js
'@typescript-eslint/eslint-plugin',
```

## Extends
___
This config extends the following configs:
```js
'@prazdevs/eslint-config-javascript',
'plugin:@typescript-eslint/recommended',
```

## Rules
___
This config adds/modifies the following rules:
```js
// eslint rules
'brace-style': 'off',
'comma-dangle': 'off',
'comma-spacing': 'off',
'func-call-spacing': 'off',
'indent': 'off',
'no-redeclare': 'off',
'no-unused-vars': 'off',
'object-curly-spacing': 'off',
'quotes': 'off',
'semi': 'off',
'space-before-function-paren': 'off',

// extension rules
'@typescript-eslint/brace-style': [
  'error',
  '1tbs',
  { allowSingleLine: true },
],
'@typescript-eslint/comma-dangle': ['error', 'always-multiline'],
'@typescript-eslint/comma-spacing': [
  'error',
  { before: false, after: true },
],
'@typescript-eslint/func-call-spacing': ['error', 'never'],
'@typescript-eslint/indent': [
  'error',
  2,
  { SwitchCase: 1, VariableDeclarator: 'first', outerIIFEBody: 1 },
],
'@typescript-eslint/no-redeclare': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/object-curly-spacing': ['error', 'always'],
'@typescript-eslint/quotes': ['error', 'single'],
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/space-before-function-paren': ['error', 'always'],

// typescript
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/explicit-module-boundary-types': 'warn',
'@typescript-eslint/member-delimiter-style': [
  'error',
  { multiline: { delimiter: 'none' } },
],
'@typescript-eslint/no-empty-function': 'warn',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-non-null-assertion': 'warn',
'@typescript-eslint/type-annotation-spacing': ['error', {}],
```