@ryanccn/eslint-config
v0.4.2
Published
A personal ESLint flat config preset
Downloads
328
Readme
@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
});