tgallacher / eslint-config-tgallacher

Personal ESLint preferences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-tgallacher

Personal ESLint configuration preferences.

Installation

This config is distributed via npmjs and can be installed via

yarn add -D @tgallacher/eslint-config --registry https://npm.pkg.github.com

Usage

Add to extends in your ESLint config file:

Note: Due to eslint/eslint#3458, you also need to add one line to your .eslintrc.js file:

// required to workaround eslint/eslint#3458
require("@tgallacher/eslint-config/patch/modern-module-resolution");

// .eslintrc.js
module.exports = {
  extends: "@tgallacher/eslint-config",
  // ... rest of your ESlint config
};

About

Personal ESLint preferences

License:MIT License


Languages

Language:JavaScript 100.0%