/eslint-config

An ESLint work-in-progress for Svelte

Primary LanguageJavaScript

ESLint configuration

Common eslint configuration for the Svelte organisation

Contributing

Want to add an eslint rule? Open a PR and use gh-polls for voting: https://app.gh-polls.com/

Usage

Installation:

npm i -D eslint sveltejs/eslint-config

Node Modules

In your project's package.json, use the shorthand syntax

  "eslintConfig": {
    "extends": "@sveltejs"
  }

Linting

This project self-lints:

npm i
npm run lint

Releasing

To release a new version, check out the code on your local machine, then:

npm version minor
git push && git push --tags

Where minor is a sensible default for rule changes which will impact existing projects.