eslint-config-xavdid

3.0.0 • Public • Published

eslint-config-xavdid

Format your code just like I do.

Contents

I'm sort of particular when it comes to ESLint configs. I mostly like Standard, but appreciate the power of Prettier when it comes to formatting.

This also includes some great plugins that don't come standard with Standard, such as for React and Jest.

Installation

yarn add --dev eslint-config-xavdid

You'll also need to make sure typescript and eslint are available.

Usage

When used, your .eslintrc.js should be something like:

module.exports = {
  root: true,
  extends: "xavdid",
  parserOptions: {
    project: `${__dirname}/tsconfig.json`,
  },
};

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-xavdid

Weekly Downloads

53

Version

3.0.0

License

ISC

Unpacked Size

2.35 kB

Total Files

5

Last publish

Collaborators

  • xavdid