open-index/open-npm huggingface dataset:
npm package: @getjai/ragagent-client
Description: OpenAPI client for ragagent-client
Author: OpenAPI-Generator
Latest version: 1.0.0

## @my-scope/ragagent-client@1.0.0

This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run `npm publish`

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @my-scope/ragagent-client@1.0.0 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
```
npm package: @getjerry/eslint-config
Description: ```bash pnpm i -D eslint @getjerry/eslint-config ```
Latest version: 0.25.0

# @getjerry/eslint-config

## Usage

### Install

```bash
pnpm i -D eslint @getjerry/eslint-config
```

### Create config file

With ESM:

```js
// eslint.config.js
import { getjerry } from '@getjerry/eslint-config';

export default getjerry({
  typescript: {
    tsconfigPath: './tsconfig.json',
  },
});
```

With CJS:

```js
// eslint.config.js
const { getjerry } = require('@getjerry/eslint-config');

module.exports = getjerry({
  typescript: {
    tsconfigPath: './tsconfig.json',
  },
});
```

### Add scripts for package.json

For example:

```json
{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}
```

Work together with `prettier`:

```json
{
  "scripts": {
    "lint": "eslint . && prettier --check .",
    "lint:fix": "eslint --fix . && prettier --write ."
  }
}
```

## Customizations

### Override rules

```js
// eslint.config.js
import { getjerry } from '@getjerry/eslint-config';

export default getjerry({
  typescript: {
    // override rules for typescript
    overrides: {
      '@typescript-eslint/no-explicit-any': 'off',
    },
  },
});
```

```js
// eslint.config.js
import { getjerry } from '@getjerry/eslint-config';

export default getjerry(
  {
    javascript: {
      // override rules for javascript files
      overrides: {
        'no-console': 'off',
      },
    },
    typescript: {
      // override rules for typescript files
      overrides: {
        '@typescript-eslint/no-explicit-any': 'off',
      },
    },
  },
  // override rules with glob pattern
  {
    files: ['**/*.spec.ts'],
    rules: {
      '@typescript-eslint/no-explicit-any': 'off',
    },
  },
);
```

### Ignore files

Notice that `.eslintignore` is no longer supported in flat config.

```js
// eslint.config.js
import { getjerry } from '@getjerry/eslint-config';

export default getjerry({
  ignores: {
    files: ['**/path/to/ignore'],
  },
});
```

### Disable react rules

```js
// eslint.config.js
import { getjerry } from '@getjerry/eslint-config';

export default getjerry({
  react: false,
});
```

### Set glob pattern for react rules

```js
// eslint.config.js
import { getjerry } from '@getjerry/eslint-config';

export default getjerry({
  react: {
    files: ['app/signup/**/*.ts?(x)'],
  },
});
```