arayaryoma / eslint-config

ESLInt configuration for my own projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

npm install --save-dev @arayaryoma/eslint-config

Usage

This package exports some assembled ESLint configurations for each language/framework as modules. You can use them by extending configs under presets/ dir.

// eslint.config.js
module.exports = {
  extends: ["@arayaryoma/presets/react-typescript"],
};

Presets

  • react-typescript: For React(>=17.0.0) with TypeScript (.tsx)
  • typescript: For plain TypeScript files (.ts)

About

ESLInt configuration for my own projects


Languages

Language:JavaScript 92.9%Language:TypeScript 4.1%Language:Shell 3.0%