2.3.4 • Published 5 months ago

eslint-config-arvin v2.3.4

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Arvin's ESLint Rules

One plugin to share my common ESLint rules across different projects.

Heh

  • Use v2.x for ESLint v9.13.0 and above
  • Use v1.0.9 for ESLint v8.57.0 and below

Usage

  1. Create a ESLint config file in your project root directory: eslint.config.mjs

  2. Copy/paste:

import arvinConfig from "eslint-config-arvin";
import arvinReactConfig from "eslint-config-arvin/react.js";
import arvinViteConfig from "eslint-config-arvin/vite.js";

export default [...arvinConfig, ...arvinReactConfig, ...arvinViteConfig];

All Supported Configurations

ConfigImport
JavaScript and TypeScriptimport arvinConfig from "eslint-config-arvin";
Reactimport arvinReactConfig from "eslint-config-arvin/react.js";
Next.jsimport arvinNextConfig from "eslint-config-arvin/next.js";
Viteimport arvinViteConfig from "eslint-config-arvin/vite.js";
Vitestimport arvinVitestConfig from "eslint-config-arvin/vitest.js";