JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14141
  • Score
    100M100P100Q129096F
  • 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

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:

pnpm install
pnpm lint

Changesets

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