open-index/open-npm huggingface dataset:
npm package: @ls-stack/babel-plugin-react-compiler-unsupported-syntax
Description: A plugin to add support for unsupported syntax on react compiler
Author: Lucas Santos
Latest version: 0.7.0

# @ls-stack/babel-plugin-react-compiler-unsupported-syntax

A plugin to add support for unsupported syntax on react compiler

> [!WARNING]
> Not all unsupported syntax is supported by this plugin

> [!WARNING]
> This is only a workaround, once the unsupported syntax is supported by the react compiler, this plugin will be deprecated.

## Workarounds for unsupported syntax supported by this plugin:

- Support for tagged template with interpolations. [Playground repro](https://playground.react.dev/#N4Igzg9grgTgxgUxALhAMygOzgFwJYSYAEAwhALYAOhCmOAFMEZgIbkJEC+AlEcADrEiMBDljEAPABM8ANwB8gosr4B9VQAMAFggA2uiEQAkwVu04bOSohID0MhYM4hOQA)

- Support for default props with tagged template literals
  [Playground repro](https://playground.react.dev/#N4Igzg9grgTgxgUxALhAMygOzgFwJYSYAEAwhALYAOhCmOAFMEZgIbkJEC8RA+jwAYAZKHBZh+RAL4BKIsAA6xIjAQ5YxADwATPADcAfIqLG5rdpKNENAeh0HFkkJKA)

- Support for explicit resource management
  [Playground repro](https://playground.react.dev/#N4Igzg9grgTgxgUxALhAAg5uEB2YAuaAwhALYAOuCOhAvGgBQCUatAfGsADo6Z9rY8hODAQBDfAEtcAZXwSErNFDAIAslHlTZWhMwDcPHv0wAzKDjjbeuIqIXNOxk5hWScAczSlNSsQBN-NTAPOQUAOgIxGHwDI14XDBFxfHUQhlIQpkMEkwBfeMTRfFheAB5-SQA3NmBkiWkcMNTwyTAAGQgA9y8AfjQymXJ3HAQYNAB6DmRnRLKAI018XDRbABtJOABrWmBbe1S8tjsUhDKJxfxlnDZZ-jzzypqc-JA8oA)
npm package: @ls-stack/browser-utils
Description: Browser-specific TypeScript utilities
Author: Lucas Santos
Latest version: 0.3.0

# @ls-stack/browser-utils

[![npm](https://img.shields.io/npm/v/@ls-stack/browser-utils.svg)](https://www.npmjs.com/package/@ls-stack/browser-utils)

Browser-specific TypeScript utilities for modern JavaScript/TypeScript projects.

## Installation

```bash
npm install @ls-stack/browser-utils
# or
pnpm add @ls-stack/browser-utils
# or
yarn add @ls-stack/browser-utils
```

## Usage

Import specific utilities from their modules:

```typescript
import { yamlStringify } from '@ls-stack/browser-utils/yamlStringify';
```

## Documentation

For a complete list of available utilities and their APIs, see the auto-generated documentation in the [`docs/`](docs/) folder.

## Development

```bash
# Install dependencies
pnpm install

# Run tests
pnpm test

# Build the library
pnpm build

# Generate documentation
pnpm docs

# Lint code
pnpm lint
```

## License

MIT

## Repository

[github:lucasols/utils](https://github.com/lucasols/utils)
npm package: @ls-stack/eprc
Description: > [!WARNING] > This is a fork of the original `eslint-plugin-react-compiler` package to allow custom babel plugins, prefer using the original package if you don't need custom plugins.
Author: Lucas Santos
Latest version: 0.5.1

# Fork of `eslint-plugin-react-compiler`

> [!WARNING]
> This is a fork of the original `eslint-plugin-react-compiler` package to allow custom babel plugins, prefer using the original package if you don't need custom plugins.

## Usage

Custom babel plugins can be passed to the rule using the `babelPlugins` and `babelParserPlugins` options:

```ts
export default {
  rules: {
    'react-compiler/react-compiler': [
      'error',
      {
        babelParserPlugins: ['explicitResourceManagement'],
        babelPlugins: ['@babel/plugin-proposal-explicit-resource-management'],
      },
    ],
  },
}
```

## Files to check for changes:

https://github.com/facebook/react/blob/main/compiler/packages/eslint-plugin-react-compiler/src/rules/ReactCompilerRule.ts
npm package: @ls-stack/extended-lint
Description: To use any of these rules, you need to install the package:
Author: Lucas Santos
Latest version: 0.89.3

# Extended rules for eslint

To use any of these rules, you need to install the package:

```sh
pnpm add -D @lucasols/eslint-plugin-extended-lint
```

And then configure it in your eslint config:

```json
{
  "plugins": ["@lucasols/extended-lint"],
  "rules": {
    "@lucasols/extended-lint/no-unused-type-props-in-args": "error"
  }
}
```

## `no-unused-type-props-in-args`

Checks if there are unused type props in function arguments.

Examples

Bad

```ts
function foo({ a }: { a: string; b: string }) {
  /*                             ^ b is declared but not used in the function */
  // ...
}
```

Good

```ts
function foo({ a, b }: { a: string; b: string }) {
  // ...
}
```

It will also work with the react `FC` type:

Bad

```ts
const Foo: FC<{ a: string; b: string }> = ({ a }) => {
  /*                       ^ b is declared but not used in the component */
  // ...
}
```

Good

```
const Foo: FC<{ a: string; b: string }> = ({ a, b }) => {
  // ...
}
```

- This rule will not work in all situations, as it does not checks all possible usages of referenced types.

## `no-commented-out-code`

Checks if there are commented code. Block comments are ignored.

Examples

Bad:

```ts
// function foo() {
//   // ...
// }
```

Good:

```ts
/*
function foo() {
  // ...
}
*/
```

- This rule will not detect all possible commented code, and can give false negatives.

## `no-call-with-infered-generics`

This rule disallows calling functions with inferred generics.

The rule options types are as follows:

````ts
type Options = [
  {
    functions: Array<{
      name: string;
      minGenerics?: number;
      allowAny?: boolean;
      disallowTypes?: string[];
    }>;
    anyAliases?: string[];
  }
];

Examples:

Bad:

```ts
// @typescript-eslint/no-call-with-inferred-generics: ["error", { functions: ["foo"] }]

function foo<T>(arg: T) {
  // ...
}

foo('bar') // Error: Generics must be defined explicitly
foo<any>('bar') // Error: 'any' is not allowed in generics
````

Good:

```ts
// @typescript-eslint/no-call-with-inferred-generics: ["error", { functions: ["foo"] }]
function foo<T>(arg: T) {
  // ...
}

foo<string>('bar') // OK
```

## `rules-of-hooks`

A fork of the `eslint-plugin-react-hooks` `rules-of-hooks` rule, but with the following changes:

- Identifies hooks in camelCase namespaced functions (e.g. `test.useFoo()`)
npm package: @ls-stack/node-utils
Description: Node.js-specific TypeScript utilities
Author: Lucas Santos
Latest version: 0.2.0

# @ls-stack/node-utils

[![npm](https://img.shields.io/npm/v/@ls-stack/node-utils.svg)](https://www.npmjs.com/package/@ls-stack/node-utils)

Node.js-specific TypeScript utilities for modern JavaScript/TypeScript projects.

## Installation

```bash
npm install @ls-stack/node-utils
# or
pnpm add @ls-stack/node-utils
# or
yarn add @ls-stack/node-utils
```

## Usage

Import specific utilities from their modules:

```typescript
import { runCmd, concurrentCmd } from '@ls-stack/node-utils/runShellCmd';
```

## Documentation

For a complete list of available utilities and their APIs, see the auto-generated documentation in the [`docs/`](docs/) folder.

## Development

```bash
# Install dependencies
pnpm install

# Run tests
pnpm test

# Build the library
pnpm build

# Generate documentation
pnpm docs

# Lint code
pnpm lint
```

## License

MIT

## Repository

[github:lucasols/utils](https://github.com/lucasols/utils)
npm package: @ls-stack/react-utils
Description: React-specific TypeScript utilities
Author: Lucas Santos
Latest version: 0.12.1

# React Utils

React-specific TypeScript utilities for the @ls-stack monorepo.

## Installation

```bash
npm install @ls-stack/react-utils
```

## Usage

```typescript
import { useConst } from '@ls-stack/react-utils/useConst';

function MyComponent() {
  const expensiveValue = useConst(() => computeExpensiveValue());
  // ...
}
```

## Available Utilities

- `useConst` - A React hook for creating constant values that only compute once
npm package: @ls-stack/utils
Description: Universal TypeScript utilities for browser and Node.js
Author: Lucas Santos
Latest version: 3.76.0

# @ls-stack/utils

Generic TypeScript utilities for modern JavaScript/TypeScript projects.

## Installation

```bash
npm install @ls-stack/utils
# or
pnpm add @ls-stack/utils
# or
yarn add @ls-stack/utils
```

## Usage

Import specific utilities from their modules:

```typescript
import { createAsyncQueue } from '@ls-stack/utils/asyncQueue';
import { deepEqual } from '@ls-stack/utils/deepEqual';
import { debounce } from '@ls-stack/utils/debounce';
```

## Documentation

For a complete list of available utilities and their APIs, see the auto-generated documentation in the [`docs/`](docs/) folder. Start with the [modules overview](docs/modules.md) to explore all available utilities.

### Generating Documentation

To regenerate the documentation after making changes:

```bash
pnpm docs
```

For continuous updates during development:

```bash
pnpm docs:watch
```

## Development

```bash
# Install dependencies
pnpm install

# Run tests
pnpm test

# Run tests with UI
pnpm test:ui

# Build the library
pnpm build

# Lint code
pnpm lint
```

## License

MIT

## Repository

[github:lucasols/utils](https://github.com/lucasols/utils)
npm package: @ls0627/ls-comp
Description: [![Build Status](https://badgen.net/travis/ls0627/ls-comp/master)](https://travis-ci.com/ls0627/ls-comp) [![NPM Download](https://badgen.net/npm/dm/@ls0627/ls-comp)](https://www.npmjs.com/package/@ls0627/ls-comp) [![NPM Version](https://badge.fury.io/js/%
Author: https://github.com/ls0627
Latest version: 1.0.1

# ls-comp

[![Build Status](https://badgen.net/travis/ls0627/ls-comp/master)](https://travis-ci.com/ls0627/ls-comp)
[![NPM Download](https://badgen.net/npm/dm/@ls0627/ls-comp)](https://www.npmjs.com/package/@ls0627/ls-comp)
[![NPM Version](https://badge.fury.io/js/%40ls0627%2Fls-comp.svg)](https://www.npmjs.com/package/@ls0627/ls-comp)
[![NPM License](https://badgen.net/npm/license/@ls0627/ls-comp)](https://github.com/ls0627/ls-comp/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/ls0627/ls-comp/pulls)
[![Automated Release Notes by gren](https://img.shields.io/badge/%F0%9F%A4%96-release%20notes-00B2EE.svg)](https://github-tools.github.io/github-release-notes/)

short description + sample image(png/gif/mp4)

## Table of Contents

- [Introduction](#introduction)
- [Features](#features)
- [Install](#install)
- [Usage](#usage)
- [Links](#links)
- [Contributing](#contributing)
- [Contributors](#contributors)
- [License](#license)

## Introduction

If there is no more words to write, this section can be deleted.

[⬆ Back to Top](#table-of-contents)

## Features

[⬆ Back to Top](#table-of-contents)

## Install

[⬆ Back to Top](#table-of-contents)

## Usage

[⬆ Back to Top](#table-of-contents)

## Links

- [docs](https://ls0627.github.io/ls-comp/)

[⬆ Back to Top](#table-of-contents)

## Contributing

For those who are interested in contributing to this project, such as:

- report a bug
- request new feature
- fix a bug
- implement a new feature

Please refer to our [contributing guide](https://github.com/FEMessage/.github/blob/master/CONTRIBUTING.md).

[⬆ Back to Top](#table-of-contents)

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

[⬆ Back to Top](#table-of-contents)

## License

[MIT](./LICENSE)

[⬆ Back to Top](#table-of-contents)