Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanccn/eslint-config
A personal ESLint flat config preset.
https://github.com/ryanccn/eslint-config
eslint eslint-config eslint-shareable-configs eslint-stylistic prettier react svelte typescript
Last synced: 4 months ago
JSON representation
A personal ESLint flat config preset.
- Host: GitHub
- URL: https://github.com/ryanccn/eslint-config
- Owner: ryanccn
- License: mit
- Created: 2024-02-17T04:06:15.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-09-25T02:01:04.000Z (4 months ago)
- Last Synced: 2024-10-05T09:35:57.528Z (4 months ago)
- Topics: eslint, eslint-config, eslint-shareable-configs, eslint-stylistic, prettier, react, svelte, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@ryanccn/eslint-config
- Size: 313 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @ryanccn/eslint-config
A personal ESLint flat config preset.
This config includes support for JavaScript ([`@eslint/js`](https://www.npmjs.com/package/@eslint/js)), TypeScript ([TypeScript ESLint](https://typescript-eslint.io/)), [ESLint Stylistic](https://eslint.style/), [`eslint-plugin-unicorn`](https://github.com/sindresorhus/eslint-plugin-unicorn), React Hooks ([`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks)), Next.js ([`@next/eslint-plugin-next`](https://nextjs.org/docs/pages/building-your-application/configuring/eslint#eslint-plugin)), Svelte ([`eslint-plugin-svelte`](https://github.com/sveltejs/eslint-plugin-svelte)), and UnoCSS ([`@unocss/eslint-config`](https://unocss.dev/integrations/eslint)). It provides sane, personalized defaults for these plugins while maintaining composability and customizability.
## Installation
```console
$ npm i --save-dev eslint @ryanccn/eslint-config [required peer dependencies]
```## Usage
```javascript
import { config } from "@ryanccn/eslint-config";export default config({
// ...options
});
```