3.0.0 • Published 3 years ago

eslint-config-xavdid v3.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

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`,
  },
};