0.2.0 • Published 1 year ago

@leny/eslint-config v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@leny/eslint-config

Personal, taylored by years ESLint config


About

It's been years I use ESLint. I've taylored my config for that time. I'm finally creating this to stop copy/paste it everytime.

Usage

To use these rules, you simply need to configure your .eslintrc.js to look like this:

module.exports = {
	extends: "@leny"
};

cf. the official ESLint documentation page about shareable configs.

NOTE

This module only contains the eslint config. You need to be sure to also install the following dev dependencies in your project:

  • @babel/eslint-parser
  • eslint
  • eslint-plugin-prettier
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • eslint-plugin-unicorn
  • prettier
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser

February 2021, leny