@ryanccn/eslint-config

A personal ESLint flat config preset.

This config includes support for JavaScript (@eslint/js), TypeScript (TypeScript ESLint), ESLint Stylistic, eslint-plugin-unicorn, React Hooks (eslint-plugin-react-hooks), Next.js (@next/eslint-plugin-next), Svelte (eslint-plugin-svelte), and UnoCSS (@unocss/eslint-config). It provides sane, personalized defaults for these plugins while maintaining composability and customizability.

Installation

$ npm i --save-dev eslint @ryanccn/eslint-config [required peer dependencies]

Usage

import { config } from "@ryanccn/eslint-config";

export default config({
  // ...options
});

Top categories

Loading Svelte Themes