JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21523
  • Score
    100M100P100Q128290F
  • License MIT

Svelte ESLint config

Package Exports

  • @sveltejs/eslint-config
  • @sveltejs/eslint-config/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sveltejs/eslint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

After installing @sveltejs/eslint-config with your package manager of choice, import it and put it in the configuration array in eslint.config.js.

import svelteConfig from '@sveltejs/eslint-config';

export default [
    ...svelteConfig,
    {
        // your overrides
    }
];

Linting

This project self-lints:

pnpm install
pnpm lint

Changesets

All PRs with user-facing changes must include a changeset, which can be generated by running pnpm changeset.