Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bradgarropy/eslint-config-svelte
- Owner: bradgarropy
- License: mit
- Created: 2020-12-09T17:43:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T05:52:51.000Z (over 1 year ago)
- Last Synced: 2024-08-10T23:44:19.323Z (3 months ago)
- Topics: eslint, eslint-config, svelte
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@bradgarropy/eslint-config-svelte
- Size: 198 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# 🟠 eslint-config-svelte
_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