open-index/open-npm huggingface dataset:
npm package: @sharpinit/codemod
Description: Sharpinit's codemod
Author: vimutti77
Latest version: 1.1.0

# codemod

This repository contains a collection of codemod scripts based for use with
[jscodeshift](https://github.com/facebook/jscodeshift) that help update MUI APIs.

## Setup & run

<!-- #default-branch-switch -->

```bash
npx @sharpinit/codemod <codemod> <paths...>

Applies a `@sharpinit/codemod` to the specified paths

Positionals:
  codemod  The name of the codemod                                [string]
  paths    Paths forwarded to `jscodeshift`                       [string]

Options:
  --version  Show version number                                 [boolean]
  --help     Show help                                           [boolean]
  --dry      dry run (no changes are made to files)
                                                [boolean] [default: false]
  --parser   which parser for jscodeshift to use.
                                                [string] [default: 'tsx']
  --print    print transformed files to stdout, useful for development
                                                [boolean] [default: false]
  --jscodeshift                                  [string] [default: false]

Examples:
  npx @sharpinit/codemod direct-import src --jscodeshift="--modules=@mui/icons-material"
```

### jscodeshift options

To pass more options directly to jscodeshift, use `--jscodeshift="..."`. For example:

```sh
npx @sharpinit/codemod --jscodeshift="--run-in-band --verbose=2"
```

See all available options [here](https://github.com/facebook/jscodeshift#usage-cli).

### Recast Options

Options to [recast](https://github.com/benjamn/recast)'s printer can be provided
through jscodeshift's `printOptions` command line argument

```sh
npx @sharpinit/codemod <transform> <path> --jscodeshift="--printOptions='{\"quote\":\"double\"}'"
```

Inspired by:
- [https://github.com/mui/material-ui/tree/master/packages/mui-codemod]
- [https://github.com/limpbrains/direct-import-codemod]
npm package: @sharpinit/eslint-config-next
Description: Sharpinit's ESLint config for NextJS project
Author: vimutti77
Latest version: 0.17.0

# eslint-config-sharpinit-next

[![npm version](https://badge.fury.io/js/eslint-config-sharpinit-next.svg)](//npmjs.com/package/eslint-config-sharpinit-next)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Sharpinit's ESLint config for NextJS project.

# Usage

1. Install `eslint-config-sharpinit-next`

```bash
$ npm install --save-dev eslint-config-sharpinit-next
```

2. Update `.eslintrc.json`

```json
{
  "extends": ["sharpinit-next"]
}

```

## License

Open source [licensed as MIT](https://github.com/vimutti77/eslint-config-sharpinit/blob/main/LICENSE).
npm package: @sharpinit/eslint-config-node
Description: Sharpinit's ESLint config for NodeJS project
Author: vimutti77
Latest version: 0.17.0

# eslint-config-sharpinit

[![npm version](https://badge.fury.io/js/eslint-config-sharpinit.svg)](//npmjs.com/package/eslint-config-sharpinit)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Sharpinit's ESLint config for NodeJS project.

# Usage

1. Install `eslint-config-sharpinit`

```bash
$ npm install --save-dev eslint-config-sharpinit
```

2. Update `.eslintrc.json`

```json
{
  "extends": ["sharpinit"]
}

```

## License

Open source [licensed as MIT](https://github.com/vimutti77/eslint-config-sharpinit/blob/main/LICENSE).
npm package: @sharpinit/eslint-config-react
Description: Sharpinit's ESLint config for React project
Author: vimutti77
Latest version: 0.17.0

# eslint-config-sharpinit-react

[![npm version](https://badge.fury.io/js/eslint-config-sharpinit-react.svg)](//npmjs.com/package/eslint-config-sharpinit-react)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Sharpinit's ESLint config for ReactJS project.

# Usage

1. Install `eslint-config-sharpinit-react`

```bash
$ npm install --save-dev eslint-config-sharpinit-react
```

2. Update `.eslintrc.json`

```json
{
  "extends": ["sharpinit-react"]
}

```

## License

Open source [licensed as MIT](https://github.com/vimutti77/eslint-config-sharpinit/blob/main/LICENSE).