open-index/open-npm huggingface dataset:
npm package: @importantimport/eslint-config-extra
Description: An ESLint Flat Config for !mportantImport.
Latest version: 1.0.2

# @importantimport/eslint-config-extra [![npm](https://img.shields.io/npm/v/@importantimport/eslint-config-extra)](https://npmjs.com/package/@importantimport/eslint-config-extra)

An [ESLint Flat Config](https://eslint.org/docs/latest/use/configure/configuration-files-new) for [!mportantImport](https://github.com/importantimport).

## Features

- [JSON Schema Validator](https://github.com/ota-meshi/eslint-plugin-json-schema-validator)
- [TOML Support](https://github.com/ota-meshi/eslint-plugin-toml)
- [YAML Support](https://github.com/ota-meshi/eslint-plugin-yml)

## Usage

### Install

> Although highly recommended with `@importantimport/eslint-config`, it is optional. 

```bash
pnpm add -D eslint @importantimport/eslint-config @importantimport/eslint-config-extra
```

### Config

Simple

```js
// eslint.config.js
import config from '@importantimport/eslint-config'
import extra from '@importantimport/eslint-config-extra'

export default [
  ...config,
  ...extra,
]
```

With Prettier

```js
import { configs, prettier } from '@importantimport/eslint-config'
import { configs as configsExtra, prettier as prettierExtra } from '@importantimport/eslint-config-extra'

export default Object.values({
  ...configs,
  ...prettier,
  ...configsExtra,
  ...prettierExtra,
})
```

### VSCode

```jsonc
// .vscode/settings.json
{
  "eslint.validate": [
    "javascript",
    "json",
    "jsonc",
    "json5",
    "toml",
    "yaml"
  ]
}
```
npm package: @importantimport/eslint-config-lit
Description: An ESLint Flat Config for !mportantImport.
Latest version: 0.1.2

# @importantimport/eslint-config-lit [![npm](https://img.shields.io/npm/v/@importantimport/eslint-config-lit)](https://npmjs.com/package/@importantimport/eslint-config-lit)

An [ESLint Flat Config](https://eslint.org/docs/latest/use/configure/configuration-files-new) for [!mportantImport](https://github.com/importantimport).

## Features

- Based on [`@importantimport/eslint-config`](../eslint-config/)
  - Single quotes, no semi
  - Auto fix for formatting (aimed to be used standalone **without** Prettier)
  - [Validating TSDoc](https://github.com/microsoft/tsdoc/tree/main/eslint-plugin)
  - Automatically sort any data that fits! (via [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist))
- Lit Support
  - Inspired by [`@open-wc/eslint-config`](https://www.npmjs.com/package/@open-wc/eslint-config)

## Usage

### Install

```bash
pnpm add -D eslint @importantimport/eslint-config-lit prettier prettier-config-standard
```

### Config

```js
// eslint.config.js
export { default } from '@importantimport/eslint-config-lit'
```

```jsonc
// .prettierrc.json
"prettier-config-standard"
```
npm package: @importantimport/eslint-config-prettier
Description: An ESLint Flat Config for !mportantImport.
Latest version: 1.0.2

# @importantimport/eslint-config-prettier [![npm](https://img.shields.io/npm/v/@importantimport/eslint-config-prettier)](https://npmjs.com/package/@importantimport/eslint-config-prettier)

An [ESLint Flat Config](https://eslint.org/docs/latest/use/configure/configuration-files-new) for [!mportantImport](https://github.com/importantimport).

## Features

- When you have to use prettier, add this configuration to override those formatting options.

## Usage

### Install

> If you use eslint-config that requires prettier (e.g. svelte / lit), this configuration is pre-installed and does not need to be set.
> The following are examples of the use of basic and extra config:

```bash
pnpm add -D eslint @importantimport/eslint-config @importantimport/eslint-config-extra @importantimport/eslint-config-prettier
```

### Config

```js
// eslint.config.js
import config, { prettier as prettierConfig } from '@importantimport/eslint-config'
import extra, { prettier as extraPrettierConfig } from '@importantimport/eslint-config'
import prettier from '@importantimport/eslint-config-prettier'

export default [
  ...config,
  ...prettierConfig,
  ...extra,
  ...extraPrettierConfig,
  ...prettier,
]
```
npm package: @importantimport/eslint-config-svelte
Description: An ESLint Flat Config for !mportantImport.
Latest version: 0.1.2

# @importantimport/eslint-config-svelte [![npm](https://img.shields.io/npm/v/@importantimport/eslint-config-svelte)](https://npmjs.com/package/@importantimport/eslint-config-svelte)

An [ESLint Flat Config](https://eslint.org/docs/latest/use/configure/configuration-files-new) for [!mportantImport](https://github.com/importantimport).

## Features

- Based on [`@importantimport/eslint-config`](../eslint-config/)
  - Single quotes, no semi
  - Auto fix for formatting (aimed to be used standalone **without** Prettier)
  - [Validating TSDoc](https://github.com/microsoft/tsdoc/tree/main/eslint-plugin)
  - Automatically sort any data that fits! (via [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist))
- Svelte Support

## Usage

### Install

```bash
pnpm add -D eslint @importantimport/eslint-config-svelte prettier prettier-plugin-svelte
```

### Config

```js
// eslint.config.js
export { default } from '@importantimport/eslint-config-svelte'
```

```jsonc
// .prettierrc.json
// https://github.com/sveltejs/kit/blob/master/packages/create-svelte/shared/%2Bprettier/.prettierrc
{
  "overrides": [{"files": "*.svelte", "options": {"parser": "svelte"}}],
  "pluginSearchDirs": ["."],
  "plugins": ["prettier-plugin-svelte"],
  "printWidth": 100,
  "singleQuote": true,
  "trailingComma": "none",
  "useTabs": true
}
```

### VSCode

Add `svelte` to `eslint.validate`.

```diff
// .vscode/settings.json
{
  "eslint.validate": [
    "javascript",
    "json",
    "jsonc",
    "json5",
+   "svelte"
  ]
}
```