Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/falco467/eslint-config-astro-svelte-jsdoc-standard
Sharable ESLint config based on JavaScript Standard Style and @typescript-eslint/recommended-requiring-type-checking which supports .astro and .svelte files with JavaScript code using JSDoc comments for strong typing.
https://github.com/falco467/eslint-config-astro-svelte-jsdoc-standard
Last synced: about 2 months ago
JSON representation
Sharable ESLint config based on JavaScript Standard Style and @typescript-eslint/recommended-requiring-type-checking which supports .astro and .svelte files with JavaScript code using JSDoc comments for strong typing.
- Host: GitHub
- URL: https://github.com/falco467/eslint-config-astro-svelte-jsdoc-standard
- Owner: falco467
- License: mit
- Created: 2023-03-21T11:53:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T13:47:48.000Z (about 2 months ago)
- Last Synced: 2024-11-11T14:09:14.171Z (about 2 months ago)
- Language: JavaScript
- Size: 344 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
![GitHub package.json version](https://img.shields.io/github/package-json/v/falco467/eslint-config-astro-svelte-jsdoc-standard)
![License](https://img.shields.io/github/license/falco467/eslint-config-astro-svelte-jsdoc-standard)
![GitHub issues](https://img.shields.io/github/issues/falco467/eslint-config-astro-svelte-jsdoc-standard)An [ESLint shareable config](https://eslint.org/docs/developer-guide/shareable-configs) for JavaScript Projects using Astro and Svelte with JSDoc Type-Information that is based on [eslint-config-love](https://github.com/mightyiam/eslint-config-love) and has rules supporting type-information from [@typescript-eslint/eslint-plugin](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin).
# Usage
Add all packages to your project:
```
npm install --save-dev eslint-config-astro-svelte-jsdoc-standard
```Edit your `eslint.config.js`:
```js
import ecASJS from 'eslint-config-astro-svelte-jsdoc-standard'export default [
...ecASJS,
]
```# Details
The package will use all recommended rules from eslint, typescript-eslint (strictly type checked) and stylistic rules and love.
Some type-safe rules are disabled for .svelte and .astro files since the parsers currently don't forward the complete
type information to typescript-eslint.# Example command line usage:
```
$ npx eslint .
```