Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bradgarropy/eslint-config-svelte

🟠 svelte eslint configuration
https://github.com/bradgarropy/eslint-config-svelte

eslint eslint-config svelte

Last synced: 27 days ago
JSON representation

🟠 svelte eslint configuration

Awesome Lists containing this project

README

        

# 🟠 eslint-config-svelte


npm


npm

_My personal [eslint][1] configuration for [svelte][svelte]._

## 📦 Installation

This package is hosted on [npm][2].

Install the configuration and it's peer dependencies as a development dependency.

```
npx install-peerdeps --dev @bradgarropy/eslint-config-svelte
```

> This installs peer dependencies automatically using [npx][3] and [install-peerdeps][4] so you don't have to!

## 🥑 Usage

Create an `.eslintrc` file in the root of your project and tell it to extend the configuration.

```
{
extends: "@bradgarropy/eslint-config-svelte"
}
```

> You can add more ESLint configuration options in this file if you want.

## ❔ Questions

If you have any trouble, definitely [open an issue][5] and I'll take a look.

Or you can consult the [ESLint Shareable Configs documentation][6].

And if all else fails, you can ask me directly on [Twitter][7] or my [AMA][8].

[1]: https://eslint.org
[2]: https://www.npmjs.com/package/@bradgarropy/eslint-config-svelte
[3]: https://www.npmjs.com/package/npx
[4]: https://www.npmjs.com/package/install-peerdeps
[5]: https://github.com/bradgarropy/eslint-config-svelte/issues
[6]: https://eslint.org/docs/developer-guide/shareable-configs
[7]: https://twitter.com/bradgarropy
[8]: https://github.com/bradgarropy/ama
[svelte]: https://svelte.dev