@bradgarropy/eslint-config-svelte

🟠 svelte eslint configuration

Usage no npm install needed!

<script type="module">
  import bradgarropyEslintConfigSvelte from 'https://cdn.skypack.dev/@bradgarropy/eslint-config-svelte';
</script>

README

🟠 eslint-config-svelte

npm npm

My personal eslint configuration for svelte.

📦 Installation

This package is hosted on npm.

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 and install-peerdeps 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 and I'll take a look.

Or you can consult the ESLint Shareable Configs documentation.

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