Personal ESLint configuration preferences.
This config is distributed via npmjs and can be installed via
yarn add -D @tgallacher/eslint-config --registry https://npm.pkg.github.com
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
};