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-configNode Modules
In your project's package.json, use the shorthand syntax
"eslintConfig": {
"extends": "@sveltejs"
}Linting
This project self-lints:
pnpm install
pnpm lintChangesets
All PRs with user-facing changes must include a changeset, which can be generated by running pnpm changeset.